Skip to content

Error loading mixtral-8x7b-v0.1.Q6_K.gguf #357

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

Closed
dlucr opened this issue Dec 11, 2023 · 5 comments
Closed

Error loading mixtral-8x7b-v0.1.Q6_K.gguf #357

dlucr opened this issue Dec 11, 2023 · 5 comments

Comments

@dlucr
Copy link

dlucr commented Dec 11, 2023

Code:

Model:

System:

  • Apple MBP M1 32GB

Perhaps not enough memory?

Error:

error loading model: create_tensor: tensor 'blk.0.ffn_gate.weight' not found
llama_load_model_from_file: failed to load model
## Error ##
* Message:  Failed to load model /tmp/mixtral-8x7b-v0.1.Q6_K.gguf.
* Type:     RuntimeError [LLama.Exceptions.RuntimeError]
* Location: at LLama.Native.SafeLlamaModelHandle.LoadFromFile(String modelPath, LLamaModelParams lparams)
   at LLama.LLamaWeights.LoadFromFile(IModelParams params)
@dlucr
Copy link
Author

dlucr commented Dec 11, 2023

Same error with mixtral-8x7b-v0.1.Q2_K.gguf, file size 15G

error loading model: create_tensor: tensor 'blk.0.ffn_gate.weight' not found
llama_load_model_from_file: failed to load model

@SignalRT
Copy link
Collaborator

LLamaSharp is a llama.cpp wrapper. When a model fails in LLamaSharp the best approach is to check if llama.cpp supports the model.

If I'm right this is a new model with MoE and it's not supported yet in llama.cpp as described in TheBloke download page:

image

@dluc
Copy link

dluc commented Dec 11, 2023

I see, thanks for the info! Given the PR mentioned, it might just be about a few weeks for the update to drip down to LlamaSharp :-)

(feel free to close this issue)

@SignalRT
Copy link
Collaborator

The expectations on this model are very high. For sure that it will a good idea to update llama.cpp binaries once the model is supported in llama.cpp master

@martindevans
Copy link
Member

I was already planning to start a binary update later this week anyway, since it's been about a month since the last set. So that should pick up support for mixtral moe :)

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

No branches or pull requests

4 participants