Which transformers version is being used here?

#6
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'

Disco Research org

Need to use pip install git+https://github.com/huggingface/transformers.git. I was on version 4.36 I believe.

bjoernp changed discussion status to closed

Sign up or log in to comment