feat(dspark): add Qwen3.5-4B draft config and managed-local NPU disaggregated recipe - #727
Open
curnane-lab wants to merge 1 commit into
Open
feat(dspark): add Qwen3.5-4B draft config and managed-local NPU disaggregated recipe#727curnane-lab wants to merge 1 commit into
curnane-lab wants to merge 1 commit into
Conversation
Contributor
|
Caution The consumer version of Gemini Code Assist on GitHub has been sunset. All code review activity has officially ceased. |
curnane-lab
marked this pull request as ready for review
August 10, 2026 11:16
curnane-lab
requested review from
FlamingoPg,
FrankLeeeee,
shuaills and
sleepcoo
as code owners
August 10, 2026 11:16
curnane-lab
force-pushed
the
dspark_npu_disaggregated
branch
from
August 10, 2026 11:47
6cdb0af to
e174c15
Compare
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
Add a Qwen3.5-4B DSpark draft config and a recipe for the managed-local disaggregated stack on Ascend NPU, mirroring the DFlash recipe from #722.
Modifications
configs/qwen3.5-4b-dspark.json: DSparkDraftModel config for Qwen3.5-4B (block_size 16, 5 draft layers on target layers [1, 8, 15, 22, 29], markov_rank 256, confidence head).examples/configs/qwen3.5-4b-dspark-disaggregated-npu.yaml: single-node managed-local recipe (Mooncake + capture server on device 0 + 14-rank trainer on devices 2-15; 8-card fallback in comments). DSpark loss weights ce/l1/confidence = 0.1/0.9/1.0,num_anchors: 186, sdpa.examples/README.md: register the recipe.Note: beyond DFlash, DSpark also streams the target final hidden state (
target_last_hidden_states) through the same capture sink; that path is exercised for the first time on Ascend here, so an A3 smoke run should precede merge.Related Issues
Stacked on #722 (merge after it): the branch is main + the recipe commit + a merge of
npu_disaggregated. The diff shrinks to the recipe alone once #722 lands. Incremental view: curnane-lab/SpecForge@npu_disaggregated...dspark_npu_disaggregatedAccuracy Test
NA (no model-side code modified)
Benchmark & Profiling
NA
Checklist