Skip to content

Commit 35aec3c

Browse files
committed
Woops
1 parent d71244c commit 35aec3c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pretrain_shared_t5_with_mlm.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ def model_provider(pre_process=True, post_process=True):
3333
mpu=mpu):
3434
if args.deepspeed:
3535
# TODO @thomasw21: fix this for PP > 1 (the issue is that you're passing two values that require grad)
36-
assert mpu.get_pipeline_model_parallel_world_size() != 1, "PP > 1 is not supported yet"
36+
assert mpu.get_pipeline_model_parallel_world_size() == 1, "PP > 1 is not supported yet"
3737

3838
model = SharedT5ModelPipe(
3939
num_tokentypes=0,

0 commit comments

Comments
 (0)