Skip to content

Commit cd43cc6

Browse files
author
lilong12
authored
[GPT-3] Typo fix update (#2250)
1 parent 1de6933 commit cd43cc6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/language_model/gpt-3/static/run_pretrain_static.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ def dist_optimizer(args, topo):
108108
"dp_degree": args.dp_degree,
109109
"optimize_offload": False,
110110
}
111-
elif args.mp_degree > 1 and args.dp_degree == 1:
111+
elif args.mp_degree > 1 and args.pp_degree == 1:
112112
# For MP or MP + DP, use executor instead of parallel_executor
113113
dist_strategy.without_graph_optimization = True
114114
if args.pp_degree > 1:

0 commit comments

Comments
 (0)