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

some questions about FlashAttention #20

Open
Rolin-zrl opened this issue Jul 14, 2024 · 1 comment
Open

some questions about FlashAttention #20

Rolin-zrl opened this issue Jul 14, 2024 · 1 comment

Comments

@Rolin-zrl
Copy link

Building the wheel is very slow. I chose the version "flash_attn-2.6.1+cu118torch2.1cxx11abiTRUE-cp310-cp310-linux_x86_64.whl" to download and install via pip, based on the specifications torch==2.11, cuda==11.8, python==3.10 on my Linux system. there still exists errors, as shown below:
ImportError: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.26' not found (required by /home/whuav/anaconda3/envs/MeshAnything/lib/python3.10/site-packages/flash_attn_2_cuda.cpython-310-x86_64-linux-gnu.so)

any suggestions?

@Rolin-zrl
Copy link
Author

after upgrading pytorch, it's working. =='
pip install torch==2.2.2 torchvision==0.17.2 torchaudio==2.2.2 --index-url https://download.pytorch.org/whl/cu118

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