Repository navigation
Conversation
Add a Beam serving image on top of the v0.5.22 release image. It clones the upstream beam branch and adds the pins that branch needs, without changing docker/Dockerfile. Split from #44747.
…ary (2/5) Add the Beam fused projection/norm/residual and attention-gate ops, the FP32 router GEMV, BF16x3 and cuTile router GEMMs, the Beam all-reduce boundary kernel, and their kernel tests and benchmarks. Split from #44747. Co-authored-by: BBuf <1182563586@qq.com> Co-authored-by: Caihua Li <caihua.li@bytedance.com> Co-authored-by: Florent Gbelidji <florentgbelidji@Florents-MacBook-Pro.local> Co-authored-by: iaroslav-reflection <iaroslav@reflection.ai> Co-authored-by: Jinze Xue <jinzex@nvidia.com> Co-authored-by: mloh <mloh@nvidia.com> Co-authored-by: neilkg <33635204+neilkg@users.noreply.github.com> Co-authored-by: thibautbar <t.barroyer@icloud.com>
Add the shared runtime support Beam relies on: TRT-LLM MHA and FlashInfer attention fixes, unified hybrid SWA memory, DFlash with attention DP, FlashInfer MegaMoE all-to-all under attention DP, and their tests. Split from #44747. Co-authored-by: BBuf <1182563586@qq.com> Co-authored-by: Caihua Li <caihua.li@bytedance.com> Co-authored-by: Florent Gbelidji <florent@reflection.ai> Co-authored-by: Florent Gbelidji <florentgbelidji@Florents-MacBook-Pro.local> Co-authored-by: Florent Gbelidji <florentgbelidji@florents-macbook-pro1.home> Co-authored-by: Florent Gbelidji <florentgbelidji@Host-002.lan> Co-authored-by: iaroslav-reflection <iaroslav@reflection.ai> Co-authored-by: Jiajun Li <jiajun.li@radixark.ai> Co-authored-by: Jinze Xue <jinzex@nvidia.com> Co-authored-by: Kaiwu <kai@reflection.ai> Co-authored-by: mloh <mloh@nvidia.com> Co-authored-by: Neil Gollapudi <neil@reflection.ai> Co-authored-by: neilkg <33635204+neilkg@users.noreply.github.com> Co-authored-by: Qiaolin-Yu <liin1211@outlook.com> Co-authored-by: Renault Young <renault@reflection.ai> Co-authored-by: thibautbar <t.barroyer@icloud.com> Co-authored-by: Yoni Gozlan <yoni@reflection.ai> Co-authored-by: zhihengy <andy.ye@radixark.ai>
This was referenced Oct 19, 2026
Beam serving does not use Dynamo, and the v0.5.22 release already resolves grpcio-tools 1.84.0. The pins move to their own PR so they can be dropped without touching this layer.
The kernel, its test and its benchmark need the tileiras compiler. They move with the router dispatch that uses them, so this layer needs no new dependency.
…WA fit" This reverts commit f15a3d6.
This reverts commit 9e19b26.
…rails" This reverts commit 805a03c.
…ill" This reverts commit 54f3979.
…phores" This reverts commit 4ab710a.
… fill" This reverts commit 95c3e76.
…raphs-off path" This reverts commit 94a2e0d.
This reverts commit 1e0df66.
This reverts commit 1c1a5bf.
…captured phase" This reverts commit 30c6c37.
This reverts commit 32c5218.
…e graph can capture a collective" This reverts commit 035ee0f.
main has the merged #42930 version.
Collaborator
Author
|
Folded into #45256, which now carries both the shared runtime support and the Beam model (4/7 in the merge order), as Muse Spark's runtime and model landed together. Closing this one. |
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.
Motivation
Split #44747 into reviewable parts. This is the attention, memory and DFlash DP part, position 4 of 8 in the merge order below. Like every part it targets
main; its branch also carries #45254, so its diff includes it.Modifications
Adds the shared runtime support Beam relies on:
SGLANG_FLASHINFER_MEGAMOE_DECODE_MAX_TOKENS_PER_RANK).This part still carries the cherry-picks made on the
beambranch:They will be reverted or dropped when the parts are synced with main.
This part changes 44 files (+3,115 / -226) beyond the parts its branch carries. The split commit carries the 18
Co-authored-bytrailers of the Beam commits that touched these files.Validation
f7473673dd) without modifying thebeambranch, which stays the reference. Every branch starts from [Feat] beam: Add native Beam serving support #44747's merge base with main (5bcaf0f8ed, Oct 13); the parts have not yet been synced with current main.28448a86d4: 11 files including those of [Feat] kernels: Beam model support #45254; this part addskv_cache_hook.py,unified_hybrid_swa.py,unified_radix_cache.pyand four unified-memory tests ([Fix] unified-memory: Bound joint reclaim and preserve cached prefixes #39294, [Fix] unified-memory: enabling trtllm_mha with decode graphs and speculative decoding #42930, [Perf] unified-memory: Free SWA segments without a host sync #43170, [Feat] unified-memory: Fuse drafts with sliding-window and recurrent-state layers #43326, [Perf] unified-memory: Reduce allocation and SWA retirement overhead #44970, [Perf] attention: Capture translated FA4 verify metadata for DSPARK #44973).sglang-miles) and Beam LoRA serving (10 files plus the LoRA hunks in 3 files) are left out, the five platform pyprojects keep OpenAI 2.6.1, anddocker/beam/beam.Dockerfileis added. No other path differs.docker/Dockerfile.environ.pyis split by hunk. Every changed Python file in this part parses.Merge order
Every part targets
main. #44747 stays open, unchanged, as the full reference. Merge in this order:nvidia-cuda-tileiras, needed by [Perf] beam: Add optional cuTile BF16x3 router GEMM #45361#45292 (Dynamo and
grpcio-toolspins for the Beam image) is not in the merge order for now.🤖 Generated with Claude Code
CI States
Latest PR Test (Base): 🚫 Run #39646405301
Latest PR Test (Extra): 🚫 Run #39646405451
Latest PR Test (AMD ROCm 10): ❌ Run #39646405429