Repository navigation
[Model] Add Reflection Beam - #61978
Closed
WoosukKwon wants to merge 1 commit into
Closed
WoosukKwon wants to merge 1 commit into
WoosukKwon wants to merge 1 commit into
Conversation
WoosukKwon
requested review from
AndreasKaratzas,
DarkLight1337,
Harry-Chen,
gau-nernst,
khluu,
mgoin,
njhill,
tlrmchlsmth,
vadiklyutiy,
yewentao256,
ywang96 and
zyongye
as code owners
October 16, 2026 07:36
There was a problem hiding this comment.
Claude Code Review
This repository is configured for manual code reviews. Comment @claude review for a one-time review, or @claude review always to subscribe this PR to a review on every future push.
Tip: disable this comment in your organization's Code Review settings.
WoosukKwon
requested review from
BugenZhao,
ProExpertProg,
aarnphm,
bbrowning,
chaunceyjiang,
houseroad,
pavanimajety,
robertgshaw2-redhat,
sfeng33,
wzhao18 and
youkaichao
as code owners
October 16, 2026 07:36
Contributor
|
Documentation preview: https://vllm--61978.org.readthedocs.build/en/61978/ |
Add BeamForCausalLM, its DFlash2 drafter (DFlash2BeamDraftModel), and the `beam` reasoning/tool parser (Python and Rust frontends) driven by the checkpoint's response template, with Beam-specific fused kernels for Blackwell and attention DP + FlashInfer CuTe DSL NVFP4 MegaMoE support. Co-authored-by: Yoni Gozlan <74535834+yonigozlan@users.noreply.github.com> Co-authored-by: Bugen Zhao <i@bugenzhao.com> Co-authored-by: Lain <fusiyuan2000@gmail.com> Co-authored-by: kaiwu-reflection <kai@reflection.ai> Co-authored-by: neilkg <33635204+neilkg@users.noreply.github.com> Co-authored-by: Codex <noreply@openai.com> Co-authored-by: Cursor <cursoragent@cursor.com> Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Woosuk Kwon <woosuk@inferact.ai>
WoosukKwon
force-pushed
the
woosuk/reflection-beam
branch
from
October 16, 2026 07:46
e800cca to
00fe254
Compare
This was referenced Oct 16, 2026
12 tasks done
This was referenced Oct 16, 2026
Contributor
|
This pull request has merge conflicts that must be resolved before it can be |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Overview
Day-0 support for Reflection's Beam-1.0 (
BeamForCausalLM), a 501B-parameter MoE with 23B active parameters, and its DFlash2 drafter (DFlash2BeamDraftModel).This PR is now a tracking PR and is not meant to be merged. It was split into the reviewable PRs below; everything on this branch is either in
mainor in an open slice.Status
ll_bf16_gemmbeamreasoning and tool parsers,VLLM_BEAM_ALWAYS_CONSTRAIN_OUTPUTWhat landed differs from this branch:
BeamConfigand the model follow the releasedconfig.jsonschema (layer_types,mlp_layer_types, per-typerope_parameters). Handling only pre-release checkpoints needed was removed, and switches the release never sets are fixed. Code built on this branch that reads the removed keys (for exampleenable_sandwich_norm,mlp_only_layers,nope_layer_ids,moe_router_dtype) must use the released behavior instead.max_position_embeddingsoverride was dropped: the released drafter already matches the target.Remaining work:
main(NVFP4 + DFlash2, TP8 GB200) with the released checkpoints. The numbers below were measured on this branch with the full stack, including the fused all-reduce.main, and whetherallreduce.cu(and [Beam] Enable CuTeDSL NVFP4 MegaMoE #62073'smoe_finalize.cu) stay runtime-JIT through FlashInfer or are built into vLLM.Validation (this branch, full stack)
Serving: Beam-1.0 NVFP4 + DFlash2 (7 draft tokens), TP8 on GB200, SPEED-Bench
throughput_1klow-entropy subset, greedy decoding:Prefill, 4×GB300, 32K input / 1 output token:
Decode/prefill kernels: compared with the first implementation, TP8 batch-1 decode went from 8.95 ms to 3.30 ms per step (2.71×), and an 8 × 2K prefill from 328 ms to 176 ms (1.87×). Part of this comes from the fused all-reduce in #62366.
AI assistance (Claude Code) was used; the submitter reviewed every changed line.
🤖 Generated with Claude Code