Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to install flash_attn on H100 with CUDA 12.5 #1422

Open
ghadiaravi13 opened this issue Jan 6, 2025 · 0 comments
Open

Unable to install flash_attn on H100 with CUDA 12.5 #1422

ghadiaravi13 opened this issue Jan 6, 2025 · 0 comments

Comments

@ghadiaravi13
Copy link

ghadiaravi13 commented Jan 6, 2025

Hi,

I am trying to install flash_attn on H100 with CUDA driver 12.6, and I already installed torch with cu12.6 nightly

torch.cuda.is_available() = True on my system

However, I get the below error when trying to install flash_attn:

nvc++-Error-Unknown switch: -Wno-unused-result
nvc++-Error-Unknown switch: -grecord-gcc-switches
nvc++-Error-Unknown switch: -pipe
nvc++-Error-Unknown switch: -Wp,-D_FORTIFY_SOURCE=2
nvc++-Error-Unknown switch: -Wp,-D_GLIBCXX_ASSERTIONS
nvc++-Error-Unknown switch: -fstack-protector-strong
nvc++-Error-Unknown switch: -fasynchronous-unwind-tables
nvc++-Error-Unknown switch: -fstack-clash-protection
nvc++-Error-Unknown switch: -fwrapv
nvc++-Error-Unknown switch: -grecord-gcc-switches
nvc++-Error-Unknown switch: -pipe
nvc++-Error-Unknown switch: -Wp,-D_FORTIFY_SOURCE=2
nvc++-Error-Unknown switch: -Wp,-D_GLIBCXX_ASSERTIONS
nvc++-Error-Unknown switch: -fstack-protector-strong
nvc++-Error-Unknown switch: -fasynchronous-unwind-tables
nvc++-Error-Unknown switch: -fstack-clash-protection
nvc++-Error-Unknown switch: -fwrapv
nvc++-Error-Unknown switch: -grecord-gcc-switches
nvc++-Error-Unknown switch: -pipe
nvc++-Error-Unknown switch: -Wp,-D_FORTIFY_SOURCE=2
nvc++-Error-Unknown switch: -Wp,-D_GLIBCXX_ASSERTIONS
nvc++-Error-Unknown switch: -fstack-protector-strong
nvc++-Error-Unknown switch: -fasynchronous-unwind-tables
nvc++-Error-Unknown switch: -fstack-clash-protection
nvc++-Error-Unknown switch: -fwrapv
error: command '/home1/apps/nvidia/Linux_aarch64/24.7/compilers/bin/nvc++' failed with exit code 1
[end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for flash-attn
Running setup.py clean for flash-attn
Failed to build flash-attn

Can someone help suggest if they have faced similar error earlier?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant