Skip to content

Commit

Permalink
Fix typo in ddp_cifar10_example.py (#20)
Browse files Browse the repository at this point in the history
Summary:
This PR fixes a typo: `se_distributed_checkpoint ` -> `use_distributed_checkpoint`.

Pull Request resolved: facebookresearch/optimizers#20

Reviewed By: shintaro-iwasaki

Differential Revision: D62909206

Pulled By: hjmshi

fbshipit-source-id: bf3813e2d25896345ad299f77fc5dd48f808dfad
  • Loading branch information
shintaro-iwasaki authored and facebook-github-bot committed Sep 18, 2024
1 parent 06a1f71 commit 1685444
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion distributed_shampoo/examples/ddp_cifar10_example.py
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@
raise ValueError(
"Distributed checkpointing is only supported with DistributedShampoo!"
)
if args.se_distributed_checkpoint and args.checkpoint_dir is None:
if args.use_distributed_checkpoint and args.checkpoint_dir is None:
raise ValueError(
"Trying to use distributed checkpointing but checkpoint directory is not provided!"
)
Expand Down

0 comments on commit 1685444

Please sign in to comment.