Skip to content

[VLLM V1] Add chunked prefill for FA to pass seq with small seqlen_q - #2221

Merged
coderfeli merged 19 commits into
developfrom
fa_seqlen1_pass
May 26, 2025
Merged

coderfeli merged 19 commits into
developfrom
fa_seqlen1_pass

Conversation

@Zzz9990

@Zzz9990 Zzz9990 commented May 22, 2025 •

Copy link
Copy Markdown
Contributor

Proposed changes

Add chunked prefill for FA to pass seq with small seqlen_q

Checklist

Please put an x into the boxes that apply. You can also fill these out after creating the PR. If you're not sure, please don't hesitate to ask.

  • I have added tests relevant to the introduced functionality, and the unit tests are passing locally
  • I have added the test to REGRESSION_TESTS list defined at the top of CMakeLists.txt in tests/CMakeLists.txt, IF the test takes more than 30 seconds to run.
  • I have added inline documentation which enables the maintainers with understanding the motivation
  • I have removed the stale documentation which is no longer relevant after this pull request
  • (If this change is user-facing) I have added release notes which provide the end users with a brief summary of the improvement from this pull request
  • I have run clang-format on all changed files
  • Any dependent changes have been merged

poyenc
poyenc previously approved these changes May 26, 2025
@Zzz9990
Zzz9990 force-pushed the fa_seqlen1_pass branch from c792a73 to a7be9d7 Compare May 26, 2025 05:26
@Zzz9990
Zzz9990 requested a review from poyenc May 26, 2025 05:33
F_lse = BOOL_MAP[self.F_pipeline.F_lse],
F_dropout = BOOL_MAP[self.F_pipeline.F_dropout],
F_squant = BOOL_MAP[self.F_pipeline.F_squant],
F_skip = BOOL_MAP[self.F_pipeline.F_skip],

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

align spaces

write_fwd_api(api_pool, output_dir)

def list_blobs(file_path : Path, kernel_filter : str, receipt, optdim_list, mask_impl) -> None:
# import pdb; pdb.set_trace()

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

rm useless comments

@Zzz9990
Zzz9990 requested a review from coderfeli May 26, 2025 07:14
@Zzz9990
Zzz9990 force-pushed the fa_seqlen1_pass branch from bed8f4c to 804ab3e Compare May 26, 2025 07:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants