Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion megatron/training/arguments.py
Original file line number Diff line number Diff line change
Expand Up @@ -2477,7 +2477,7 @@ def _add_distributed_args(parser):
group.add_argument('--create-all-gather-group', action='store_true',
help='Create a separate process group for all-gather operations '
'to overlap reduce-scatter and all-gather operations.')
group.add_argument('--data-parallel-sharding-strategy', type=str, default='no_shard',
group.add_argument('--data-parallel-sharding-strategy', type=str, default='optim_grads_params',
choices=['no_shard', 'optim', 'optim_grads', 'optim_grads_params'],
help='Sharding strategy of data parallelism.')
group.add_argument('--outer-dp-sharding-strategy', type=str, default='no_shard',
Expand Down