Error while loading the model
#75
by
codegood
- opened
I'm using the latest transformers version
28 from transformers.activations import ACT2FN
---> 29 from transformers.cache_utils import Cache, DynamicCache
30 from transformers.modeling_attn_mask_utils import _prepare_4d_causal_attention_mask
31 from transformers.modeling_outputs import (
ModuleNotFoundError: No module named 'transformers.cache_utils'
update your transformers version, use command pip3 install transformers==4.37
The issue is with the Colab notebooks as it's working fine on Kaggle with the latest version.
gugarosa
changed discussion status to
closed