What Transformers version is required?

#8
by deathknight0 - opened

I've got transformers 4.53.0 dev0 installed but it seems this model will not load, got the below ValueError instead:

ValueError: The checkpoint you are trying to load has model type granite_speech but Transformers does not recognize this architecture. This could be because of an issue with the checkpoint, or because your version of Transformers is out of date.

Followed the installation instructions in the model card with no luck. Also tried: pip install git+https://github.com/huggingface/transformers.git . Am running python 3.12

Some help would be appreciated.

IBM Granite org

Hi, you can try 4.52.4

gsaon changed discussion status to closed

@gsaon This is still occurring. I haven't been able to convert either of the 3.3 granite models to other formats like ONNX because loading in the model with transformers has been impossible.

Sign up or log in to comment