8000 feat: add flash-attn to core dependencies by terrykong · Pull Request #545 · NVIDIA-NeMo/RL · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

feat: add flash-attn to core dependencies #545

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

Open
wants to merge 5 commits into from
Open

Conversation

terrykong
Copy link
Contributor
@terrykong terrykong commented Jun 24, 2025

Now that flash-attn has wheels for 2.7.0, users won't have to build flash-attn which require some manual steps like installing ninja to ensure the build is not slow.

Putting flash-attn in the base set of dependencies now means there's no initial step before the first "--no-build-isolation" call, so users have to now run uv run pip install setuptools to make flash-attn happy.

One other option is uv venv --seed, but it sometimes doesn't reliably install setuptools, so we'll go with the pip install for now.

Signed-off-by: Terry Kong <terryk@nvidia.com>

fix

Signed-off-by: Terry Kong <terryk@nvidia.com>

fix setuptools

Signed-off-by: Terry Kong <terryk@nvidia.com>

bug

Signed-off-by: Terry Kong <terryk@nvidia.com>

unset variables to speed it up

Signed-off-by: Terry Kong <terryk@nvidia.com>

deal with flash-attn

Signed-off-by: Terry Kong <terryk@nvidia.com>

2.8.0.post2 prebuilt wheels!

Signed-off-by: Terry Kong <terryk@nvidia.com>

Revert "2.8.0.post2 prebuilt wheels!"

This reverts commit f945c50.

Signed-off-by: Terry Kong <terryk@nvidia.com>

revert

Signed-off-by: Terry Kong <terryk@nvidia.com>

uv.lock

Signed-off-by: Terry Kong <terryk@nvidia.com>

try wheel

Signed-off-by: Terry Kong <terryk@nvidia.com>

try whl

Signed-off-by: Terry Kong <terryk@nvidia.com>

comment

Signed-off-by: Terry Kong <terryk@nvidia.com>
Signed-off-by: Terry Kong <terryk@nvidia.com>
Signed-off-by: Terry Kong <terryk@nvidia.com>
@terrykong terrykong marked this pull request as ready for review June 27, 2025 16:02
Signed-off-by: Terry Kong <terryk@nvidia.com>
Signed-off-by: Terry Kong <terryk@nvidia.com>
@terrykong terrykong added this pull request to the merge queue Jun 27, 2025
Any commits made after this event will not be merged.
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Jun 28, 2025
@chtruong814 chtruong814 added this pull request to the merge queue Jun 28, 2025
Any commits made after this event will not be merged.
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 this pull request may close these issues.

2 participants
0