Open imneov opened 6 months ago
I found the issue is talking about this error.
There were two ways to fix it:
# Install the specific version using pip
pip install transformers==4.34.1
2.Replace s_flash_attn_available() with is_flash_attn_2_available(), but I don't sure if this will cause problems.
I also encounterd the same issue.
I got a error when I refer to https://github.com/FasterDecoding/Medusa to prepare to run the Demo .
The basic environment was successfully installed without any errors.
Run
python -m medusa.inference.cli
and get an errorenvironment