Repository navigation
[Feat] HiCache: Support fused DFLASH KV in unified hybrid SWA pools - #45700
Merged
Merged
Conversation
Fridge003
requested review from
Qiaolin-Yu,
Ying1123,
alphabetc1,
hanming-lu,
hnyls2002,
huangtingwei9988,
hzh0425,
ispobock,
merrymercy,
xiezhq-hermann and
yizhang2077
as code owners
October 22, 2026 02:05
Fridge003
commented
Oct 22, 2026
Fridge003
commented
Oct 22, 2026
Collaborator
Author
|
/rerun-test test/registered/e2e/models/test_muse_spark_unified_memory.py |
Contributor
|
🚀 |
Collaborator
Author
|
/rerun-test test/registered/e2e/models/test_muse_spark_12_b300_pd.py |
Contributor
|
🚀 |
This was referenced Oct 25, 2026
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
Muse Spark fell back to a private DFLASH KV pool when unified memory and HiCache were enabled together. This change lets target and draft share the same GPU backing pool per TP rank.
Modifications
Keep the FA4 draft's BF16 rows inside the target's FULL page envelopes alongside its FP8 KV rows, and reuse the existing HiCache page translation to transfer both together. Wait for envelope restoration before DFLASH prefill, including CUDA graph replay, and skip the separate draft host sidecar.
This enables L2 HiCache for a full-attention DFLASH draft on a unified hybrid-SWA target. Other host-pool paths, including L3 storage, retain their existing private draft fallback. No CUDA kernel is added.
Accuracy Tests
Complete evaluations on 4 x B300, TP4/EP4, target
trtllm_mha, draftRadixArk/Muse-Spark-Open-DFlash2withfa4, unified memory, and HiCache size 200:All evaluations had zero request errors. AIME26 and GPQA each had one output-length truncation; Video-MME and GSM8K had none. The prior accepted run used B200 and scored 94.17% / 89.90% / 87.44% on the first three datasets. Against the original GPQA reference of 179/198, this run is lower by 1.0101 percentage points.
Speed Tests and Profiling
No controlled throughput comparison was performed. The existing synchronous host-arena compaction caused pauses during the continuous evaluation sequence. This change does not modify that allocator.
Checklist
CI States
Latest PR Test (Base): 🚫 Run #39873939647
Latest PR Test (Extra): ❌ Run #39873939455
Latest PR Test (AMD ROCm 10): ⏳ Run #39873939427