Skip to content

mpt : do not duplicate token_embd.weight on disk#5670

Merged
cebtenzzre merged 3 commits into
masterfrom
ceb/mpt-tied-output
Feb 22, 2024
Merged

mpt : do not duplicate token_embd.weight on disk#5670
cebtenzzre merged 3 commits into
masterfrom
ceb/mpt-tied-output

Conversation

@cebtenzzre

Copy link
Copy Markdown
Collaborator

Previous attempt was #3626.

Should be merged after #5650, which will quantize the token_embd tensor with the same type that the output tensor was previously.

@nviet

nviet commented Mar 18, 2024

Copy link
Copy Markdown

This change helped reduce the model file size but breaks loading some previously converted models. I got "wrong number of tensors" error message while trying to load this model - until b2248 it was still okay. Do we really need to convert the models again or is there any better way?

Seunghhon pushed a commit to Seunghhon/llama.cpp that referenced this pull request Apr 26, 2026
phuongncn pushed a commit to phuongncn/llama.cpp-gx10-dgx-sparks-deepseekv4 that referenced this pull request Apr 28, 2026
ljubomirj pushed a commit to ljubomirj/llama.cpp that referenced this pull request May 6, 2026
my-other-github-account pushed a commit to my-other-github-account/llama.cpp that referenced this pull request May 15, 2026
my-other-github-account pushed a commit to my-other-github-account/llama.cpp that referenced this pull request May 15, 2026
AlexiAlp pushed a commit to minghaop/llama.cpp that referenced this pull request Jun 2, 2026
AlexiAlp pushed a commit to minghaop/llama.cpp that referenced this pull request Jun 2, 2026
fukuro-kun pushed a commit to fukuro-kun/fukuro-llama-cpp-turboquant that referenced this pull request Jul 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants