Key error metadata on the loading the model

#2
by ansat7 - opened

Code:
from transformers import pipeline
pipe = pipeline("image-text-to-text", model="lovedheart/Qwen3.5-4B-FP8")

Traceback:
.venv/lib/python3.13/site-packages/transformers/utils/hub.py", line 868, in get_checkpoint_shard_files
sharded_metadata = index["metadata"]
~~~~~^^^^^^^^^^^^
KeyError: 'metadata'

This seems to happen in latest transformers 5.9, using pipeline or autmodel methods.

ansat7 changed discussion title from Key error metadata on the loadin the model to Key error metadata on the loading the model

Sign up or log in to comment