What transformers version are you using?

#2
by Promptengineering - opened

When I try to run this example code, I am getting this error:

from transformers.cache_utils import Cache, DynamicCache

ModuleNotFoundError: No module named 'transformers.cache_utils'

Do pip uninstall -y transformers && pip install git+https://github.com/huggingface/transformers :)

Yup and it worked. Appreciate the amazing work you are doing :)

SHould >= 4.36.0, HF Tranformers just released 4.36 with Mixtral support and so on

Sign up or log in to comment