Skip to content

[Batched RPA] Port stacked scheduler to batched RPA kernel - #3390

Open
weiyu0824 wants to merge 2 commits into
vllm-project:mainfrom
weiyu0824:copy/port-stack-rpa
Open

[Batched RPA] Port stacked scheduler to batched RPA kernel#3390
weiyu0824 wants to merge 2 commits into
vllm-project:mainfrom
weiyu0824:copy/port-stack-rpa

Conversation

@weiyu0824

@weiyu0824 weiyu0824 commented Aug 13, 2026

Copy link
Copy Markdown
Collaborator

Description

Port stacked scheduler for long context support.

Tests

Checklist

Before submitting this PR, please make sure:

  • I have performed a self-review of my code.
  • I have necessary comments in my code, particularly in hard-to-understand areas.
  • I have made or will make corresponding changes to any relevant documentation.

Signed-off-by: Wei-Yu Lin <weiyulin@google.com>
Signed-off-by: Wei-Yu Lin <weiyulin@google.com>
@weiyu0824 weiyu0824 added the ready ONLY add when PR is ready to merge/full CI is needed label Aug 13, 2026
concatenated along num kv heads dim.
"""
Args:
queries: [max_num_tokens, num_q_heads, head_dim]. Output of q projection.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

can you fix indentations?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

this is weird, I feel like I didn't do any thing to this part.

dma_sem: jax.Ref,
*,
cfgs: configs.RpaConfigs,
update_kv_cache: bool = True,

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

please fix this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ready ONLY add when PR is ready to merge/full CI is needed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants