-
Notifications
You must be signed in to change notification settings - Fork 5
Update perf reproduce instructions #85
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
Merged
Changes from all commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
2612caa
Update perf reproduce instructions
parthmannan 87eb817
Docs update
parthmannan f716125
Merge branch 'main' of https://github.com/NVIDIA-NeMo/DFM into pmanna…
parthmannan 7290d77
Adding B200 Perf recipe and numbers for 25.11
parthmannan da11297
Update seq len formula in README
parthmannan 6375ddb
Update GB200 recipe with FSDP
parthmannan 903eb44
Update
parthmannan 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
43 changes: 43 additions & 0 deletions
43
examples/megatron/recipes/wan/conf/b200_perf_pretrain_mock.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,43 @@ | ||
| model: | ||
| tensor_model_parallel_size: 1 | ||
| sequence_parallel: false | ||
| pipeline_model_parallel_size: 1 | ||
| context_parallel_size: 2 | ||
| crossattn_emb_size: 5120 | ||
| hidden_size: 5120 | ||
| ffn_hidden_size: 13824 | ||
| num_attention_heads: 40 | ||
| num_layers: 40 | ||
| qkv_format: thd | ||
| seq_length: 2048 # This is not used | ||
|
|
||
| train: | ||
| global_batch_size: 64 | ||
| micro_batch_size: 1 | ||
| eval_iters: 0 | ||
|
|
||
| scheduler: | ||
| lr_decay_style: constant | ||
| lr_warmup_iters: 0 | ||
|
|
||
| optimizer: | ||
| lr: 5e-6 | ||
| min_lr: 5e-6 | ||
|
|
||
| dataset: | ||
| seq_length: 2048 # This is not used | ||
| global_batch_size: 64 | ||
| micro_batch_size: 1 | ||
|
|
||
| logger: | ||
| log_interval: 1 | ||
|
|
||
| ddp: | ||
| use_megatron_fsdp: true | ||
| data_parallel_sharding_strategy: "optim_grads_params" | ||
|
|
||
| dist: | ||
| use_megatron_fsdp: true | ||
|
|
||
| checkpoint: | ||
| ckpt_format: "fsdp_dtensor" |
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
Oops, something went wrong.
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.
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.
Can we share some of our pre-computed FLOPs here, as a reference point for users? It's not trivial calculating the correct FLOPs number.
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.
I think that might help as well.