Open X52p opened 7 months ago
Running into a similar error
ValueError: Encountered an corrupted parameter shard. It means it is not downloaded completely or downloading is interrupted. Please try to download again.
I believe your issue is related to git
LFS. I was getting a similar error and noticed that the shards were much smaller than expected (per the error message 😅). I checked out the shards and they looked like this:
cat ~/Library/Application Support/io.datasette.llm/mlc/dist/prebuilt/mlc-chat-Llama-2-70b-chat-hf-q4f16_1/params_shard_99.bin
version https://git-lfs.github.com/spec/v1
oid sha256:a08539a7c31e9ad931f2c4bdb913e8542c2feaa801168af6950890e278f95a08
size 234881024
For me, the solution was to set programs.git.lfs.enable
to true
in my nix config, remove the directory, and re-download the model.
You may want to check your git
/LFS settings to see if they're setup so that the shards (and not just pointers to the shards) are being downloaded.
I followed these steps:
This results in this error:
I also tried other models (for example Llama-2-7b-chat) resulting in the same error.
Software:
Hardware:
Am I missing a step? Is my hardware incompatible?