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

ggml-model-i2_s.gguf gives magic file error when adding to Ollama #101

Open
geoej opened this issue Oct 31, 2024 · 1 comment
Open

ggml-model-i2_s.gguf gives magic file error when adding to Ollama #101

geoej opened this issue Oct 31, 2024 · 1 comment

Comments

@geoej
Copy link

geoej commented Oct 31, 2024

I have successfully implemented BitNet but when I am trying to add it to Ollama with "ggml-model-i2_s.gguf" it fails:

ollama create bitnet -f Modelfile
transferring model data 100% 
Error: invalid file magic

I can use the other gguf file "ggml-model-f32.gguf" for this, but first it take long to transfer to Ollama and second, it become very slow, size of 32G.

Is there any remedy for this?

@geoej geoej changed the title ggml-model-i2_s.gguf gives magic file error when adding to llama ggml-model-i2_s.gguf gives magic file error when adding to Ollama Oct 31, 2024
@raymond-infinitecode
Copy link

What is the modelfile looks like ? may you share ?

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

2 participants