Skip to content

Commit 3ae142f

Browse files
heavyrain-lzylizhiyu
and
lizhiyu
authored
[Hetero] Fix the argument bug (#257)
Co-authored-by: lizhiyu <zyli@baai.ac.cn>
1 parent 8e933dd commit 3ae142f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

megatron/megatron/training/arguments.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2184,7 +2184,7 @@ def _add_hetero_args(parser):
21842184
group.add_argument('--hetero-process-meshes', nargs='*', type=int, default=None,
21852185
help='Use this arg to set TP-CP-DP-PP of each process mesh.'
21862186
'This argument must be in the form: TP0, CP0, DP0, PP0, TP1, CP0, DP1, PP1...TPN, CPN, DPN, PPN. CP and TP size can be different, sum of PP should match pipeline-model-parallel-size, DP size should be the same.')
2187-
group.add_argument('--hetero-use-cpu-communication', action='store_true', default=True, help='Use CPU for communication for heterogeneous communication.')
2187+
group.add_argument('--hetero-use-cpu-communication', action='store_true', help='Use CPU for communication for heterogeneous communication.')
21882188

21892189
return parser
21902190

0 commit comments

Comments
 (0)