Skip to content

Conversation

@compilade
Copy link
Collaborator

Previously, token_embd.weight was quantized like output.weight when the model architecture did not contain output.weight at all.

This did not work properly for models with an optional output.weight tensor.

Now, the presence of output.weight is checked and its absence is assumed to mean that token_embd.weight should be quantized in the same way as output.weight would have been.

@ggerganov ggerganov merged commit 515f7d0 into ggml-org:master Mar 8, 2024
hazelnutcloud pushed a commit to hazelnutcloud/llama.cpp that referenced this pull request Mar 10, 2024
NeoZhangJianyu pushed a commit to NeoZhangJianyu/llama.cpp that referenced this pull request Mar 12, 2024
jordankanter pushed a commit to jordankanter/llama.cpp that referenced this pull request Mar 13, 2024
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.

2 participants