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

Issue model.safetensors.index.json should exist with loading model in safetensors format #185

Open
LeMoussel opened this issue Sep 26, 2024 · 5 comments

Comments

@LeMoussel
Copy link

When loading the model unsloth/Meta-Llama-3.1-8B-Instruct-bnb-4bit, I have the error : AssertionError: model.safetensors.index.json should exist.

from airllm import AutoModel

model = AutoModel.from_pretrained("unsloth/Meta-Llama-3.1-8B-Instruct-bnb-4bit")

Indeed in this model there is no file model.safetensors.index.json
The same goes for the model unsloth/Meta-Llama-3.1-70B-bnb-4bit
The file model.safetensors.index.json is present in the model unsloth/Meta-Llama-3.1-405B-Instruct-bnb-4bit

@zeynepgulhanuslu
Copy link

I get the same error. Could you fix this?

@werruww
Copy link

werruww commented Oct 24, 2024

I get the same error

@karanbhatia007
Copy link

Same error

@gokulcoder7
Copy link

same error

@gokulcoder7
Copy link

have you enabled cuda cores ?

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

5 participants