airllm icon indicating copy to clipboard operation
airllm copied to clipboard

airllm/utils.py:302 list index out of range

Open fvisconti opened this issue 1 year ago • 3 comments

Packages versions:

python = "^3.10"
transformers = "^4.45.0"
airllm = "^2.11.0"

I tried to load the Llama-3.2 model this way:

model = AutoModel.from_pretrained("meta-llama/Llama-3.2-3B-Instruct")

and I get an error at line 302 of utils.py:

single_modelfile = shards[0]

IndexError: list index out of range

fvisconti avatar Sep 26 '24 11:09 fvisconti

same issue

nguyenbanhducA1K51 avatar Oct 28 '24 06:10 nguyenbanhducA1K51

same here

moshere-ask avatar Jan 22 '25 04:01 moshere-ask

I was just trying it today, and I came up with the same issue. Has anyone found the solution yet?

NaumanHSA avatar Jun 25 '25 16:06 NaumanHSA