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

Flash Attention Installation Error #386

Open
LaurinLang opened this issue Dec 14, 2023 · 3 comments
Open

Flash Attention Installation Error #386

LaurinLang opened this issue Dec 14, 2023 · 3 comments

Comments

@LaurinLang
Copy link

Using the current environment.yml file with mamba results in the following errors.
Looks like the hash for the flash attention version might not be current?

Pip subprocess output:
Collecting git+https://github.com/NVIDIA/dllogger.git (from -r /home/lang/openfold/condaenv.81prc7je.requirements.txt (line 3))
Cloning https://github.com/NVIDIA/dllogger.git to /tmp/pip-req-build-x5ixqy35
Resolved https://github.com/NVIDIA/dllogger.git to commit 0540a43971f4a8a16693a9de9de73c1072020769
Preparing metadata (setup.py): started
Preparing metadata (setup.py): finished with status 'done'
Collecting git+https://github.com/Dao-AILab/flash-attention.git@5b838a8 (from -r /home/lang/openfold/condaenv.81prc7je.requirements.txt (line 4))
Cloning https://github.com/Dao-AILab/flash-attention.git (to revision 5b838a8) to /tmp/pip-req-build-fdzk8ub6
Resolved https://github.com/Dao-AILab/flash-attention.git to commit 5b838a8
Preparing metadata (setup.py): started
Preparing metadata (setup.py): finished with status 'error'

Pip subprocess error:
Running command git clone --filter=blob:none --quiet https://github.com/NVIDIA/dllogger.git /tmp/pip-req-build-x5ixqy35
Running command git clone --filter=blob:none --quiet https://github.com/Dao-AILab/flash-attention.git /tmp/pip-req-build-fdzk8ub6
WARNING: Did not find branch or tag '5b838a8', assuming revision or ref.
Running command git checkout -q 5b838a8
Running command git submodule update --init --recursive -q
error: subprocess-exited-with-error

@xuagu37
Copy link

xuagu37 commented Mar 18, 2024

Same error here. Any solutions please?

@lonelyhwy
Copy link

same error. Do you have any solutions?

@abhinavb22
Copy link

I have the same error. It works fine in my PC but I get this error when I try to install in my HPC facility. Were you able to fix this issue ?

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

4 participants