Skip to content

Commit 67667ef

Browse files
authored
Update distributed_checkpoint_recipe.rst (#3356)
1 parent b6b5c21 commit 67667ef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

recipes_source/distributed_checkpoint_recipe.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -352,7 +352,7 @@ Alternatively, methods are also provided for users who may wish to convert check
352352
dcp_to_torch_save(CHECKPOINT_DIR, TORCH_SAVE_CHECKPOINT_DIR)
353353
354354
# converts the torch.save model back to DCP
355-
dcp_to_torch_save(TORCH_SAVE_CHECKPOINT_DIR, f"{CHECKPOINT_DIR}_new")
355+
torch_save_to_dcp(TORCH_SAVE_CHECKPOINT_DIR, f"{CHECKPOINT_DIR}_new")
356356
357357
358358

0 commit comments

Comments
 (0)