Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mpt : implement backwards compatiblity with duped output tensor #6139

Merged
merged 3 commits into from
Mar 18, 2024

Conversation

cebtenzzre
Copy link
Collaborator

@cebtenzzre cebtenzzre commented Mar 18, 2024

Without this PR, loading an old conversion of MPT gives you llama_model_load: error loading model: done_getting_tensors: wrong number of tensors; expected 195, got 194.

With this change, the error is gone and the model seems to load fine and function as expected.

ref #5670 (comment)

llama.cpp Outdated Show resolved Hide resolved
llama.cpp Outdated Show resolved Hide resolved
@cebtenzzre cebtenzzre merged commit d199ca7 into master Mar 18, 2024
50 of 55 checks passed
@cebtenzzre cebtenzzre deleted the ceb/mpt-backwards-compat branch March 18, 2024 16:49
hodlen pushed a commit to hodlen/llama.cpp that referenced this pull request Apr 1, 2024
hodlen pushed a commit to hodlen/llama.cpp that referenced this pull request Apr 3, 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.

None yet

2 participants