Text Generation
Transformers
Safetensors
GGUF
English
stablelm
causal-lm
code
Eval Results
Inference Endpoints
7 papers

Transformer verison?

#5
by deepanshu30699 - opened

with transformer version 4.27.4 it is giving ModuleNotFoundError: No module named 'transformers.cache_utils'
and with transformer version 4.38.0.dev0 it is giving ImportError: cannot import name 'is_flash_attn_greater_or_equal_2_10' from 'transformers.utils' (/usr/local/lib/python3.10/dist-packages/transformers/utils/init.py) , so which version is compatible with this model?

Stability AI org

Hi could you try updating your pip version to transformers to the main branch ?

Using in collab , it already have the latest version

tried using git , still getting same error ModuleNotFoundError: No module named 'transformers.cache_utils'

deepanshu30699 changed discussion status to closed

Sign up or log in to comment