Matrix-Game icon indicating copy to clipboard operation
Matrix-Game copied to clipboard

a compilation issue in a windows CUDA 12.8 environment

Open E-ling404 opened this issue 1 year ago • 3 comments

I currently have a compilation issue: In a Windows CUDA 12.8 environment, the CUTLASS version included with flash-attention is incompatible with the current compilation environment. Can you provide installation suggestions for a Windows CUDA 12.8 environment?

E-ling404 avatar Aug 14 '25 08:08 E-ling404

Hello @E-ling404 , we haven’t tested it in a Windows environment, so we’re unable to provide support. I found a reddit post that might be helpful for you, you can take a look.

Brycebywang avatar Aug 14 '25 09:08 Brycebywang

thanks~

E-ling404 avatar Aug 15 '25 02:08 E-ling404

Look for a precompiled wheel that matches your environment. pip install xxx.whl https://github.com/Dao-AILab/flash-attention/releases/tag/v2.8.3 I was able to run just fine on Windows with CUDA 12.8, Pytorch 2.8.0, Python 3.10 in command prompt, no need for WSL2. Pretty awesome stuff!

f00d4tehg0dz avatar Aug 15 '25 18:08 f00d4tehg0dz