-
Notifications
You must be signed in to change notification settings - Fork 14
[rhaiis] add custom dspark spec-decoding preset #180
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,43 @@ | ||
| __multiple: true | ||
|
|
||
| # DeepSeek-V4-Pro-0813 speculative decoding comparison on H200 Zeus (TP=8). | ||
| # Runs all four workload profiles so they land on the staging dashboard. | ||
| # | ||
| # Adaptive verification (enable_adaptive_verification) is omitted: DeepSeek-V4 | ||
| # indexer/MLA backends only support the device-side trim + varlen full CUDA | ||
| # graphs on SM100 (B300). H200 (SM90) rejects it at startup. | ||
|
|
||
| deepseek-v4-spec-base: | ||
| rhaiis.accelerator: nvidia | ||
| rhaiis.cluster_tag: zeus | ||
| rhaiis.engines.vllm.args.gpu-memory-utilization: 0.9 | ||
| tests.rhaiis.workload_keys: | ||
| - profile1 | ||
| - profile2 | ||
| - profile3 | ||
| - profile4 | ||
| rhaiis.profiler.enabled: true | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. do we need profiling for spec decoding?
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This is a one time use preset @Harshith-umesh , should I add a tag to not merge it to main?
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. you can comment
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. yes if it's a one time preset then you can add a do not merge tag to the PR
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I don't have permissions to add the label. |
||
|
|
||
| # 1. No speculative decoding | ||
| deepseek-v4-baseline: | ||
| extends: | ||
| - deepseek-v4-spec-base | ||
| tests.rhaiis.model_key: deepseek-v4-pro-0813 | ||
|
|
||
| # 2. Native DeepSeek MTP | ||
| deepseek-v4-mtp: | ||
| extends: | ||
| - deepseek-v4-spec-base | ||
| tests.rhaiis.model_key: deepseek-v4-pro-0813-mtp | ||
|
|
||
| # 3. DSpark fixed-k (K=7) | ||
| deepseek-v4-dspark: | ||
| extends: | ||
| - deepseek-v4-spec-base | ||
| tests.rhaiis.model_key: deepseek-v4-pro-0813-dspark | ||
|
|
||
| # 4. DSpark + dynamic SD (K by concurrency bucket) | ||
| deepseek-v4-dspark-dynamic: | ||
| extends: | ||
| - deepseek-v4-spec-base | ||
| tests.rhaiis.model_key: deepseek-v4-pro-0813-dspark-dynamic | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what do the &, * < symbols here mean?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
YAML anchors and aliases. I learnt its a way to write the shared model block once and reuse it. I used them here to keep the file succinct;
&names the block,*copies it, and<<:merges it so the MTP/DSpark variants only add speculative-config.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In current architecture of this models.yaml, ever config would need a new entry. This will bloat up very very fast.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if you look how the presets work, something like:
you can build a mechanism to avoid the config file size explosion. That may be more flexible than YAML anchors
or alternatively, if applicable, some default values that apply to all the models