Comments (2)
You are trying to set a layer range that contains layers that the model doesnt have, any number higher than 32 for the second number will cause an error
from mergekit.
Exactly as @dillfrescott says - 7b models only have 32 layers and I'd bet you're using the example config that specifies 40. You can make it work by either changing the layer ranges to end at 32, or using the models
syntax instead like so:
models:
- model: model_a
- model: model_b
merge_method: slerp
base_model: model_a
parameters:
t: # ... and so forth, the same as your current config
Sorry for the unintuitive error message!
from mergekit.
Related Issues (20)
- View size is not compatible with input tensor's size and stride/You are trying to save a non contiguous tensor Fix HOT 1
- RuntimeError: "svd_cuda_gesvdj" not implemented for 'BFloat16' HOT 4
- Mergekit-Evolve with vLLM enabled causes error if merge_method is linear HOT 2
- How are dimensions of multiple layer's matched?
- Merge only the transformer parts (including the input embedding layer) HOT 5
- Implementation of AdaMerging: Adaptive Model Merging for Multi-Task Learning
- Existing Mergekit algorithms to merge VLM with LLM?
- Qwen/Qwen1.5-1.8B MoE Merging fails HOT 3
- Mixed Precision Merging HOT 1
- Add support for `subfolder` loading
- How to merge a VLM and LLM with different model type.
- Merge of hidden_size
- Relax dependency versions
- EvoMerge Genome Bug HOT 2
- Merging models with different structures in linear HOT 2
- how to merge for different rope scaling? HOT 3
- Require later version of transformers HOT 1
- How to merge only at q_proj layers with SLERP? HOT 2
- `extract_lora.py` can't handle mismatched `lm_head` tensor due to added tokens HOT 9
- Does this run single core? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mergekit.