"docs/vscode:/vscode.git/clone" did not exist on "34f8a4b924d8253f459fc22665a3f3a232ef44ff"
Commit 4147bec2 authored by Jared Casper's avatar Jared Casper
Browse files

Fix typo that prevented non-pipelined models from loading.

parent 3b9dc880
......@@ -89,7 +89,7 @@ def get_checkpoint_name(checkpoints_path, iteration, release=False,
directory = 'iter_{:07d}'.format(iteration)
# Use both the tensor and pipeline MP rank.
if pipeline_parallel_size is None:
parallel_size = mpu.get_pipeline_model_parallel_world_size()
pipeline_parallel_size = mpu.get_pipeline_model_parallel_world_size()
if tensor_rank is None:
tensor_rank = mpu.get_tensor_model_parallel_rank()
if pipeline_rank is None:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment