Skip to content

Fully yank dropout in vllm fork of FA2 - #153

Merged
Harry-Chen merged 2 commits into
vllm-project:mainfrom
janeyx99:vllm-yank-dropout-fa2
Jul 30, 2026
Merged

Fully yank dropout in vllm fork of FA2#153
Harry-Chen merged 2 commits into
vllm-project:mainfrom
janeyx99:vllm-yank-dropout-fa2

Conversation

@janeyx99

@janeyx99 janeyx99 commented Jun 23, 2026

Copy link
Copy Markdown

Follows the example set in upstream Dao-AILab#2669 to expand FLASHATTENTION_DISABLE_DROPOUT support.

vLLM already defaults to using the DROPOUT free FA2 (cuz inference doesn't need dropout), and syncing with upstream means we will not compile the dropout related headers (RNG/Philox) at all. This enables us to get the vllm cuda wheel fully migrated to ABI stable by migrating FA2 to be fully ABI stable, will be be the next step!

We sync with upstream to maintain similarity as much as possible. Followup work could be done to sync the branches further (e.g., remove the commented out code as it wouldn't be used anyway), but I opted to not mess with pre-existing vLLM commits in this PR.

Test plan:

  1. Make sure this compiles from the vllm side
  2. Run the relevant flash_attn tests from the vllm side Update FA pin to have new FA2 not pull in dropout headers vllm#46640 cc @Harry-Chen

@janeyx99
janeyx99 force-pushed the vllm-yank-dropout-fa2 branch from f288c45 to 1ed425a Compare June 24, 2026 16:18
@janeyx99
janeyx99 marked this pull request as ready for review June 24, 2026 16:33
@Harry-Chen

Copy link
Copy Markdown
Member

I see Dao-AILab#2680 and Dao-AILab#2683 are merged. Do you think Dao-AILab#2669 and Dao-AILab#2688 can also get in?

@janeyx99

janeyx99 commented Jul 1, 2026

Copy link
Copy Markdown
Author

@Harry-Chen I'm not so sure; we were hoping to get Tri's opinion on the direction as those are more imperative changes.

Signed-off-by: Jane Xu <janeyx@meta.com>
@janeyx99
janeyx99 force-pushed the vllm-yank-dropout-fa2 branch from 2d668b6 to 39e86aa Compare July 29, 2026 21:42
@janeyx99

Copy link
Copy Markdown
Author

The PR is merged!

@Harry-Chen
Harry-Chen merged commit c3f5c9c into vllm-project:main Jul 30, 2026
1 check passed
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