Import issue on the google colab

#27
by shambhavi121212 - opened

RuntimeError: Failed to import transformers.models.paligemma.modeling_paligemma because of the following error (look up to see its traceback):
cannot import name 'is_optimum_quanto_available' from 'transformers.utils' (/usr/local/lib/python3.10/dist-packages/transformers/utils/init.py)

Google org

Hi @shambhavi121212 ,

Could you please ensure the transformer library version should be as follows:

 transformers = 4.44.2

If the issue still persists, please share the code files so we can assist you more effectively.

Thank you.

Sign up or log in to comment