[None][feat] Add DeepSeek-V4-Pro curated configs#15919
Draft
lfr-0531 wants to merge 1 commit into
Draft
Conversation
Contributor
📝 WalkthroughWalkthroughAdds two new curated YAML configuration files for DeepSeek V4 Flash (latency-optimized and throughput-optimized variants) defining CUDA graph, KV cache, MoE, parallelism, and speculative decoding settings, and registers both in lookup.yaml with corresponding model mapping entries. ChangesDeepSeek V4 Flash curated configs and lookup registration
Estimated code review effort: 2 (Simple) | ~10 minutes 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
f9b1c55 to
3da2bca
Compare
Add max-throughput and min-latency curated configs for DeepSeek-V4-Pro on B200 (8xTP, 8xEP, MTP), and register both in curated/lookup.yaml. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Signed-off-by: Fanrong Li <23290157+lfr-0531@users.noreply.github.com>
3da2bca to
5945e34
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.
Description
This PR adds curated inference configs for DeepSeek-V4-Pro (
DeepseekV4ForCausalLM) underexamples/configs/curated/, following the same convention as the existing DeepSeek-R1 curated configs (see #11653).Two scenarios are provided, both tuned on B200 with TP=8 / EP=8 and MTP speculative decoding:
deepseek-v4-pro-latency.yaml— Min Latency (max_batch_size=128, MTPmax_draft_len=3, attention DP disabled, wide CUDA graph batch-size sweep).deepseek-v4-pro-throughput.yaml— Max Throughput (max_batch_size=32, MTPmax_draft_len=1, attention DP + balance enabled, LM-head TP in ADP).Both are registered in
examples/configs/curated/lookup.yamlwitharch: DeepseekV4ForCausalLM, modeldeepseek-ai/DeepSeek-V4-Pro, andgpu_compatibility: "B200".Test Coverage
Covered by the existing curated-config validation suite in
tests/unittest/llmapi/test_config_database.py, which loads every entry incurated/lookup.yaml, validates it againstLlmArgs, runs atrtllm-servesanity check, and asserts no unnecessary default values are present. The two new entries are picked up automatically via thearchfield.PR Checklist
Please review the following before submitting your PR:
PR description clearly explains what and why.
PR Follows TRT-LLM CODING GUIDELINES to the best of your knowledge.
Test cases are provided for new code paths (config validation runs automatically over
curated/lookup.yaml).If PR introduces API changes, an appropriate PR label is added - either
api-compatibleorapi-breaking. (No API changes — configs only.)Any new dependencies have been scanned for license and vulnerabilities. (None.)
CODEOWNERS updated if ownership changes. (N/A.)
Documentation updated as needed.
Update tava architecture diagram if there is a significant design change in PR. (N/A.)
The reviewers assigned automatically/manually are appropriate for the PR.
Please check this after reviewing the above items as appropriate for this PR.
GitHub Bot Help
To see a list of available CI bot commands, please comment
/bot help.