(ci)(recipe): Add DeepSeek-R1 FP4 TP4 validation and DS recipe for SGLang-ATOM#614
Merged
Conversation
qichu-yun
previously approved these changes
Apr 21, 2026
wuhuikx
previously approved these changes
Apr 22, 2026
valarLip
previously approved these changes
Apr 23, 2026
Collaborator
Contributor
There was a problem hiding this comment.
Pull request overview
Adds DeepSeek-R1 FP4 (MXFP4 weights) TP4 accuracy coverage to the ATOM SGLang CI/validation flows and documents how to run/benchmark/validate DeepSeek-R1 using the SGLang-ATOM backend.
Changes:
- Add DeepSeek-R1 FP4 TP4 (MXFP4 checkpoint) to PR CI accuracy matrix and to nightly/manual accuracy validation matrix.
- Align DeepSeek-R1 FP8 TP4 GSM8K accuracy threshold from
0.92to0.91across workflows and dashboard model metadata. - Add an SGLang-ATOM DeepSeek-R1 recipe covering server launch, benchmarking, profiling, and GSM8K validation.
Reviewed changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated 5 comments.
| File | Description |
|---|---|
recipes/sglang_atom/DeepSeek-R1.md |
New SGLang-ATOM DeepSeek-R1 recipe (launch, benchmark, profiling, lm-eval). |
.github/workflows/atom-sglang-test.yaml |
Updates PR CI accuracy threshold and adds DeepSeek-R1 FP4 TP4 to the matrix. |
.github/workflows/atom-sglang-accuracy-validation.yaml |
Adds manual toggle + nightly coverage for DeepSeek-R1 FP4 TP4; aligns FP8 TP4 threshold. |
.github/benchmark/sglang_models_accuracy.json |
Adds/updates dashboard metadata for the two DeepSeek-R1 TP4 accuracy entries (thresholds, baseline fields). |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
91f30ab
Contributor
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 4 out of 4 changed files in this pull request and generated 4 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
…Lang-ATOM Signed-off-by: zhuyuhua-v <yuhzhu@amd.com>
f5d5175 to
1696e64
Compare
Signed-off-by: zhuyuhua-v <yuhzhu@amd.com>
Signed-off-by: zhuyuhua-v <yuhzhu@amd.com>
Signed-off-by: zhuyuhua-v <yuhzhu@amd.com>
Signed-off-by: zhuyuhua-v <yuhzhu@amd.com>
Collaborator
Author
|
fixed in #747 |
1 task
Signed-off-by: zhuyuhua-v <yuhzhu@amd.com>
476b5dd to
ae99d0f
Compare
valarLip
approved these changes
May 12, 2026
zejunchen-zejun
added a commit
that referenced
this pull request
Jun 4, 2026
…nt SGLang V3.2 Follow-up to the citation audit, two more verified corrections in the plugin sections: - vLLM-ATOM / Qwen3.5: the prior pass dropped Qwen3.5 along with the misattributed #532, but Qwen3.5 does have real vLLM-plugin support. Restore it with the correct PRs: #448 (fp8 functionality/accuracy, touches atom/plugin/vllm/model_wrapper.py) and #593 (Qwen3.5 FP4 nightly + benchmark, recipes/atom_vllm/Qwen3.5.md), keeping #772 (Qwen3-Next MTP). - SGLang-ATOM: dropped "V3.2" from the DeepSeek model list. No SGLang DeepSeek V3.2 PR landed in v0.1.2..v0.1.3 (V3 MTP=#643, R1 FP4=#614, FP4 MTP=#834/#846); the cited PRs only cover V3 and R1 FP4. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
zejunchen-zejun
added a commit
that referenced
this pull request
Jun 4, 2026
…itations in v0.1.3 (#1061) * docs(release-notes): fix misattributed plugin PR citations in v0.1.3 Four citations in the vLLM-ATOM sections referenced PRs that actually belong to SGLang-ATOM or the native ATOM path. Verified each PR title against GitHub before correcting. - Model Support / DeepSeek V4 / R1 FP4: dropped the bullet. #650 is the native DeepSeek V4 triton-MoE path (already cited under ATOM Server) and #614 is a SGLang-ATOM R1 FP4 PR (already cited under SGLang-ATOM); neither supports a vLLM-ATOM V4 / R1 FP4 claim. - Model Support / Qwen3.5 / Qwen3-Next: dropped #532 (it adds Qwen3.5 / Qwen3-Next to SGLang, not vLLM); keep #772 (Qwen3-Next MTP for vLLM). - H&P / vLLM-ATOM: dropped #528 + the "Q/K norm-quant fusion" claim; #528 is the SGLang+ATOM qk-norm fusion PR (already cited under SGLang). - H&P / vLLM-ATOM: dropped #614 from the DeepSeek FP4 validation bullet (SGLang-ATOM PR), leaving the genuine #639 TP8/EP8 case. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> * docs(release-notes): correct Qwen3.5 vLLM citation and drop nonexistent SGLang V3.2 Follow-up to the citation audit, two more verified corrections in the plugin sections: - vLLM-ATOM / Qwen3.5: the prior pass dropped Qwen3.5 along with the misattributed #532, but Qwen3.5 does have real vLLM-plugin support. Restore it with the correct PRs: #448 (fp8 functionality/accuracy, touches atom/plugin/vllm/model_wrapper.py) and #593 (Qwen3.5 FP4 nightly + benchmark, recipes/atom_vllm/Qwen3.5.md), keeping #772 (Qwen3-Next MTP). - SGLang-ATOM: dropped "V3.2" from the DeepSeek model list. No SGLang DeepSeek V3.2 PR landed in v0.1.2..v0.1.3 (V3 MTP=#643, R1 FP4=#614, FP4 MTP=#834/#846); the cited PRs only cover V3 and R1 FP4. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> * docs(release-notes): fix 3 more cross-section PR misattributions Verified each PR's changed files to confirm which engine path it belongs to: - vLLM-ATOM Engine Core: drop #793 + "handles scalar KV scales". #793 only touches atom/model_ops/{attention_mha,base_attention}.py (native, no plugin files) and is already cited correctly in the native section. - vLLM-ATOM H&P: drop the DeepSeek FP4 TP8/EP8 bullet and move #639 to SGLang-ATOM H&P. #639 only touches sglang_benchmark_models.json and atom-sglang-benchmark.yaml -> it is a SGLang benchmark PR, not vLLM. - vLLM-ATOM H&P: drop "V4 DP benchmark coverage (#949)". #949 touches the native benchmark (.github/benchmark/models.json, atom-benchmark.yaml), already cited under ATOM Server; it is not a plugin PR. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
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
DeepSeek-R1-FP4 TP4coverage to SGLang-ATOM accuracy flows, including nightly/manual validation and dashboard metadata, with a0.91GSM8K thresholdDeepSeek-R1-FP8 TP4GSM8K threshold to0.91across the ATOM SGLang PR and nightly accuracy workflows to avoid data floating issues.recipes/sglang_atom/DeepSeek-R1.mdin the same style as the vLLM-ATOM recipe, covering server launch, benchmarking, accuracy validation, and profiling usageATOM SGLang CI / Nightly / Benchmark Scope
.github/workflows/atom-sglang-test.yamlmain,非 draft,非 closed.github/workflows/atom-sglang-accuracy-validation.yaml.github/workflows/atom-sglang-benchmark.yamlShared Accuracy Parameters
v0.5.10gsm8kresults.gsm8k["exact_match,flexible-extract"]365--trust-remote-code --kv-cache-dtype fp8_e4m3 --mem-fraction-static 0.8 --page-size 1 --disable-radix-cacheSGLANG_AITER_FP8_PREFILL_ATTN=0,SGLANG_USE_AITER=1,ATOM_ENABLE_DS_QKNORM_QUANT_FUSION=1CI Cases
deepseek-ai/DeepSeek-R1-0528linux-atom-mi35x-4--tensor-parallel-size 4AITER_QUICK_REDUCE_QUANTIZATION=INT4; common env0.91amd/DeepSeek-R1-0528-MXFP4-MTP-MoEFP4linux-atom-mi35x-4--tensor-parallel-size 4AITER_QUICK_REDUCE_QUANTIZATION=INT4; common env0.91Nightly Accuracy Cases
deepseek-ai/DeepSeek-R1-0528linux-atom-mi35x-4--tensor-parallel-size 40.91deepseek-ai/DeepSeek-R1-0528linux-atom-mi35x-8--tensor-parallel-size 80.93amd/DeepSeek-R1-0528-MXFP4-MTP-MoEFP4linux-atom-mi35x-4--tensor-parallel-size 40.91amd/DeepSeek-R1-0528-MXFP4-MTP-MoEFP4linux-atom-mi35x-8--tensor-parallel-size 80.93Benchmark Schedule
当前 benchmark workflow 支持两种模式:
param_lists输入,默认 10 组参数publish_to_dashboard控制,默认 trueSchedule:
0 17 * * *01:00Benchmark Parameters
Default param sets:
Benchmark command:
sglangrandomnum-prompts = concurrency * 10num-warmups = 2 * concurrencyrequest-rate=infttft,tpot,itl,e2elBenchmark Models
deepseek-ai/DeepSeek-R1-0528--trust-remote-code --tensor-parallel-size 8atom-mi355-8gpu-oot-benchmarkdeepseek-ai/DeepSeek-R1-0528--trust-remote-code --tensor-parallel-size 4atom-mi355-8gpu-oot-benchmarkamd/DeepSeek-R1-0528-MXFP4-MTP-MoEFP4--trust-remote-code --tensor-parallel-size 8atom-mi355-8gpu-oot-benchmarkamd/DeepSeek-R1-0528-MXFP4-MTP-MoEFP4--trust-remote-code --tensor-parallel-size 4atom-mi355-8gpu-oot-benchmarkamd/DeepSeek-R1-0528-MXFP4-MTP-MoEFP4--trust-remote-code --tensor-parallel-size 8 --expert-parallel-size 8atom-mi355-8gpu-oot-benchmark