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

FA3 package is missing padding utilities #1467

Open
tmm1 opened this issue Jan 28, 2025 · 0 comments
Open

FA3 package is missing padding utilities #1467

tmm1 opened this issue Jan 28, 2025 · 0 comments

Comments

@tmm1
Copy link
Contributor

tmm1 commented Jan 28, 2025

I'm using FA3 as so:

uv pip install git+https://github.com/Dao-AILab/flash-attention#subdirectory=hopper --no-build-isolation

When I install FA3, the only files installed are:

❯ ls .venv/lib/python3.11/site-packages/flash_attn*
flash_attn-3.0.0b1.dist-info/                      
flash_attn_3_cuda.cpython-311-x86_64-linux-gnu.so  
flash_attn_interface.py

The hopper/padding.py is not present.

It seems to get the full set of padding utils, I need flash_attn.bert_padding which is only available if I install FA2 as well. But installing FA2 and FA3 in the same pip env seems tricky given they have the same package name.

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

Successfully merging a pull request may close this issue.

1 participant