flash_attn issue
Hello flash_attn is support for cuda 12.1 and no support for cuda 12.4 If install by pip, it cause the error in inference RuntimeError: Failed to import transformers.models.llama.modeling_llama because of the following error (look up to see its traceback): /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.32' not found
So how did you use the flash_attn in your case?
Hi, I think the flash_att is supported for cuda 12.4 as well, FlashAttention Cuda Support.
I followed the provided installation doc as well, and it works for me. If you have more questions related to flash_attn, you can check out the FlashAttention Repo or raise your question there.
I solved it by pip install flash-attn==2.7.4.post1 --no-build-isolation thanks