Safetensors
custom_code

KeyError: "Couldn't find the key blocks.0.ls1.gamma nor blocks.0.ls1.grandma in the state dict!"

#4
by zcckernel - opened

Error as title when loading this model.
Reproduce: model = AutoModel.from_pretrained(hf_repo, trust_remote_code=True)

@zcckernel , did you find a solution for this?

Updating the timm libary to 1.0.24 fixed this for me

This is still ongoing for me despite updating to timm 1.0.24.

Sign up or log in to comment