-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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 due to SSL error #756
Comments
Can you download the wheel manually, just to check the networking is fine? |
Thanks Tri. After some debugging, I tracked it down to a Poetry issue (I think the same one from this issue). Will go ahead and close it. |
@tranlm how did you solve it exactly? Having a similar issue.
|
Unfortunately, I wasn’t able to solve it. My team uses Poetry and it
appears to conflict with this package. I looked around and Tri Dao
mentioned in another thread that he’s had a headache trying to get it to
work for a subgroup of users. I’m guessing my I fall within that group.
…On Sat, Jan 13, 2024 at 1:56 PM Tejasw Gupta ***@***.***> wrote:
@tranlm <https://github.com/tranlm> how did you solve it exactly? Having
a similar issue.
Building wheel for flash-attn (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py bdist_wheel did not run successfully.
│ exit code: 1
╰─> [9 lines of output]
fatal: not a git repository (or any of the parent directories): .git
torch.__version__ = 2.1.2+cu121
running bdist_wheel
Guessing wheel URL: https://github.com/Dao-AILab/flash-attention/releases/download/v2.4.2/flash_attn-2.4.2+cu122torch2.1cxx11abiFALSE-cp311-cp311-linux_x86_64.whl
error: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1002)>
[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
ERROR: Could not build wheels for flash-attn, which is required to install pyproject.toml-based projects
—
Reply to this email directly, view it on GitHub
<#756 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAROROEGHD35R4JDPSK6FULYOLRHZAVCNFSM6AAAAABBPQR326VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQOJQG42TEOJRHA>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Just to mention in case future people come across this--I got this error in a |
Hi,
I'm on an EC2 instance and am trying to install flash-attn but keep running into an ssl error. Wondering if you know what's going on. I have
openssl-1.1.1l
installed.Here's the output:
The text was updated successfully, but these errors were encountered: