encode_image returns embeddings with NaN values in Transformers 5

#61
by yelboudouri - opened

After upgrading to Transformers 5.5.4, the model began producing embedding arrays that contain NaN values.
To reproduce the issue, run the example from the README.

Sign up or log in to comment