-
Notifications
You must be signed in to change notification settings - Fork 55
Dfridman/deepseek v3 #445
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
Merged
ShriyaRishab
merged 28 commits into
mlcommons:master
from
denys-fridman:dfridman/deepseek-v3
Feb 26, 2026
+231
−7
Merged
Dfridman/deepseek v3 #445
Changes from all commits
Commits
Show all changes
28 commits
Select commit
Hold shift + click to select a range
f1df5f8
add deepseek constant
denys-fridman d2f27fe
add deepseek to compliance check
denys-fridman 63db84d
rm closed_bert.yaml
denys-fridman 1de3bbe
update deepseek values
denys-fridman 3e965eb
rm closed_retinanet.yaml
denys-fridman bcbef0a
rm unused configs + update deepseek
denys-fridman 3eca23b
fix deepseek name
denys-fridman ec1d0aa
fix deepseek name
denys-fridman cded0c8
+DEEPSEEK_V3 -> +DEEPSEEK_V3_671B
denys-fridman c528ecb
add deepseek_v3_671b RCP support for training 6.0
denys-fridman adff4f6
update deepseek rcps: set Creator to NVIDIA and Platform to GB300
denys-fridman 749650a
rename deepseek_v3_671b -> deepseekv3_671b across files and filenames
denys-fridman e8300ba
add opt_base_learning_rate check for deepseekv3_671b (sqrt scaling fr…
denys-fridman 1dc9e8d
add max_steps and decay_steps checks for deepseekv3_671b
denys-fridman d09e52f
apply same checks to open_deepseekv3_671b.yaml
denys-fridman 1941059
update deepseekv3_671b target loss to 4.05
denys-fridman 9ddf73a
set deepseekv3_671b submission runs to 5
denys-fridman 3bb7acf
set deepseekv3_671b submission runs to 3
denys-fridman c3204bc
update deepseekv3_671b target loss to 3.6
denys-fridman b972604
update deepseekv3_671b platform to GB300 NVL72
denys-fridman e50cf5e
update deepseekv3_671b RCPs: use BS 15360/16384/18432
denys-fridman 29f9b8b
add global_batch_size >= 15360 check for deepseekv3_671b
denys-fridman d11d808
restore checks and POSTs in open_deepseekv3_671b.yaml
denys-fridman 48ca186
rename DEEPSEEK_V3_671B -> DEEPSEEKV3_671B in constants.py
denys-fridman 462b442
remove checks from open_deepseekv3_671b.yaml
denys-fridman 5ad02fb
rename DeepSeek-V3-671B -> DeepSeekV3-671B in result_summarizer config
denys-fridman 46bcffb
Update platform value
ShriyaRishab a46ecdb
Update platform description in JSON file
ShriyaRishab File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
87 changes: 87 additions & 0 deletions
87
mlperf_logging/compliance_checker/training_6.0.0/closed_deepseekv3_671b.yaml
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,87 @@ | ||
| - KEY: | ||
| NAME: global_batch_size | ||
| REQ: EXACTLY_ONE | ||
| CHECK: " v['value'] >= 15360 " | ||
| POST: > | ||
| s['global_batch_size'] = v['value'] | ||
ShriyaRishab marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
|
||
| - KEY: | ||
| NAME: max_sequence_length | ||
| REQ: EXACTLY_ONE | ||
| CHECK: " v['value'] == 4096 " | ||
|
|
||
| - KEY: | ||
| NAME: opt_name | ||
| REQ: EXACTLY_ONE | ||
| CHECK: " v['value'] == 'adamw' " | ||
|
|
||
| - KEY: | ||
ShriyaRishab marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| NAME: opt_base_learning_rate | ||
| REQ: EXACTLY_ONE | ||
| CHECK: " abs(v['value'] - 2.4e-05 * (s['global_batch_size'] / 16384) ** 0.5) < 1e-9 " | ||
|
|
||
| - KEY: | ||
| NAME: max_steps | ||
| REQ: EXACTLY_ONE | ||
| CHECK: " v['value'] == 12000 " | ||
ShriyaRishab marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| POST: > | ||
| s['max_steps'] = v['value'] | ||
|
|
||
| - KEY: | ||
| NAME: opt_learning_rate_warmup_steps | ||
| REQ: EXACTLY_ONE | ||
| CHECK: " v['value'] == 4 " | ||
ShriyaRishab marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| POST: > | ||
| s['opt_learning_rate_warmup_steps'] = v['value'] | ||
|
|
||
| - KEY: | ||
ShriyaRishab marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| NAME: opt_learning_rate_decay_steps | ||
| REQ: EXACTLY_ONE | ||
| CHECK: " v['value'] == s['max_steps'] - s['opt_learning_rate_warmup_steps'] " | ||
|
|
||
| - KEY: | ||
| NAME: opt_learning_rate_decay_schedule | ||
| REQ: EXACTLY_ONE | ||
| CHECK: " v['value'] == 'cosine with linear warmup' " | ||
|
|
||
| - KEY: | ||
| NAME: opt_adamw_beta_1 | ||
| REQ: EXACTLY_ONE | ||
| CHECK: " v['value'] == 0.9 " | ||
|
|
||
| - KEY: | ||
| NAME: opt_adamw_beta_2 | ||
| REQ: EXACTLY_ONE | ||
| CHECK: " v['value'] == 0.95 " | ||
|
|
||
| - KEY: | ||
| NAME: opt_adamw_epsilon | ||
| REQ: EXACTLY_ONE | ||
| CHECK: " v['value'] == 1e-08 " | ||
|
|
||
| - KEY: | ||
| NAME: opt_adamw_weight_decay | ||
| REQ: EXACTLY_ONE | ||
| CHECK: " v['value'] == 0.1 " | ||
|
|
||
| - KEY: | ||
| NAME: opt_gradient_clip_norm | ||
| REQ: EXACTLY_ONE | ||
| CHECK: " v['value'] == 1.0 " | ||
|
|
||
| - KEY: | ||
| NAME: gradient_accumulation_steps | ||
| REQ: EXACTLY_ONE | ||
| CHECK: " v['value'] > 0 " | ||
|
|
||
| - KEY: | ||
| NAME: eval_samples | ||
| REQ: EXACTLY_ONE | ||
| CHECK: " v['value'] == 1024 " | ||
|
|
||
| - KEY: | ||
| NAME: eval_accuracy | ||
| REQ: AT_LEAST_ONE | ||
| CHECK: | ||
| - "'samples_count' in v['metadata']" | ||
| ATLEAST_ONE_CHECK: "(v['value'] <= 3.6) and v['value'] > 0.0" | ||
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
74 changes: 74 additions & 0 deletions
74
mlperf_logging/compliance_checker/training_6.0.0/open_deepseekv3_671b.yaml
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,74 @@ | ||
| - KEY: | ||
| NAME: global_batch_size | ||
| REQ: EXACTLY_ONE | ||
| CHECK: " v['value'] >= 15360 " | ||
| POST: > | ||
| s['global_batch_size'] = v['value'] | ||
|
|
||
| - KEY: | ||
| NAME: max_sequence_length | ||
| REQ: EXACTLY_ONE | ||
| CHECK: " v['value'] == 4096 " | ||
|
|
||
| - KEY: | ||
| NAME: opt_name | ||
| REQ: EXACTLY_ONE | ||
| CHECK: " v['value'] == 'adamw' " | ||
|
|
||
| - KEY: | ||
| NAME: max_steps | ||
| REQ: EXACTLY_ONE | ||
|
|
||
| - KEY: | ||
| NAME: opt_base_learning_rate | ||
| REQ: EXACTLY_ONE | ||
|
|
||
| - KEY: | ||
| NAME: opt_learning_rate_warmup_steps | ||
| REQ: EXACTLY_ONE | ||
|
|
||
| - KEY: | ||
| NAME: opt_learning_rate_decay_steps | ||
| REQ: EXACTLY_ONE | ||
|
|
||
| - KEY: | ||
| NAME: opt_learning_rate_decay_schedule | ||
| REQ: EXACTLY_ONE | ||
|
|
||
| - KEY: | ||
| NAME: opt_adamw_beta_1 | ||
| REQ: EXACTLY_ONE | ||
|
|
||
| - KEY: | ||
| NAME: opt_adamw_beta_2 | ||
| REQ: EXACTLY_ONE | ||
|
|
||
| - KEY: | ||
| NAME: opt_adamw_epsilon | ||
| REQ: EXACTLY_ONE | ||
|
|
||
| - KEY: | ||
| NAME: opt_adamw_weight_decay | ||
| REQ: EXACTLY_ONE | ||
|
|
||
| - KEY: | ||
| NAME: opt_gradient_clip_norm | ||
| REQ: EXACTLY_ONE | ||
|
|
||
| - KEY: | ||
| NAME: gradient_accumulation_steps | ||
| REQ: EXACTLY_ONE | ||
| CHECK: " v['value'] > 0 " | ||
|
|
||
| - KEY: | ||
| NAME: eval_samples | ||
| REQ: EXACTLY_ONE | ||
| CHECK: " v['value'] == 1024 " | ||
|
|
||
| - KEY: | ||
| NAME: eval_accuracy | ||
| REQ: AT_LEAST_ONE | ||
| CHECK: | ||
| - "'epoch_num' in v['metadata']" | ||
| ATLEAST_ONE_CHECK: "(v['value'] <= 3.6) and v['value'] > 0.0" | ||
|
|
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
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
58 changes: 58 additions & 0 deletions
58
mlperf_logging/rcp_checker/training_6.0.0/rcps_deepseekv3_671b.json
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,58 @@ | ||
| { | ||
| "deepseekv3_671b_ref_15360": | ||
| { | ||
| "Benchmark": "deepseekv3_671b", | ||
| "Creator": "NVIDIA", | ||
| "When": "Reference RCPs before 6.0 submission", | ||
| "Platform": "64 NVIDIA GB300 nodes", | ||
| "Precision": "BF16", | ||
| "BS": 15360, | ||
| "Hyperparams": { | ||
| "opt_base_learning_rate": 0.000023238, | ||
| "opt_learning_rate_warmup_steps": 4, | ||
| "max_steps": 12000, | ||
| "gradient_accumulation_steps": 240 | ||
| }, | ||
| "Epochs to converge": [ | ||
| // TODO(dfridman) | ||
| ] | ||
| }, | ||
|
|
||
| "deepseekv3_671b_ref_16384": | ||
| { | ||
| "Benchmark": "deepseekv3_671b", | ||
| "Creator": "NVIDIA", | ||
| "When": "Reference RCPs before 6.0 submission", | ||
| "Platform": "64 NVIDIA GB300 nodes", | ||
| "Precision": "BF16", | ||
| "BS": 16384, | ||
| "Hyperparams": { | ||
| "opt_base_learning_rate": 0.000024, | ||
| "opt_learning_rate_warmup_steps": 4, | ||
| "max_steps": 12000, | ||
| "gradient_accumulation_steps": 256 | ||
| }, | ||
| "Epochs to converge": [ | ||
| // TODO(dfridman) | ||
| ] | ||
| }, | ||
|
|
||
| "deepseekv3_671b_ref_18432": | ||
| { | ||
| "Benchmark": "deepseekv3_671b", | ||
| "Creator": "NVIDIA", | ||
| "When": "Reference RCPs before 6.0 submission", | ||
| "Platform": "64 NVIDIA GB300 nodes", | ||
| "Precision": "BF16", | ||
| "BS": 18432, | ||
| "Hyperparams": { | ||
| "opt_base_learning_rate": 0.000025456, | ||
| "opt_learning_rate_warmup_steps": 4, | ||
| "max_steps": 12000, | ||
| "gradient_accumulation_steps": 288 | ||
| }, | ||
| "Epochs to converge": [ | ||
| // TODO(dfridman) | ||
| ] | ||
| } | ||
| } |
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
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.
Uh oh!
There was an error while loading. Please reload this page.