在安装FlashAttention时碰到CUDA版本过低的问题。
Description
opened on Feb 14, 2024
I receive the error below:
RuntimeError: FlashAttention is only supported on CUDA 11.6 and above. Note: make sure nvcc has a supported version by running nvcc -V.
But my pytorch version is 2.2.0+cu118, why is it giving me the error?
RuntimeError: FlashAttention is only supported on CUDA 11 and above #1070
发现nvcc -V 版本出来确实是11.5
没有root权限,没法整体更新
然后发现自己本地目录下其实是有CUDA 12.0 的

解决办法,进入home目录下的用户目录,去修改.bashrc
cd /hom


2752

被折叠的 条评论
为什么被折叠?



