Skip to content
This repository has been archived by the owner on Oct 23, 2024. It is now read-only.

Commit

Permalink
bug with zero stage cofnig print
Browse files Browse the repository at this point in the history
  • Loading branch information
ncilfone committed Jul 28, 2021
1 parent e5b8ca5 commit 77f38d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stoke/status.py
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ def __init__(
"grad_clip": grad_clip,
"gpu": gpu,
"distributed": distributed,
"zero": self._configs.get("DeepspeedConfig").zero_optimization.stage,
"zero": self._configs.get("DeepspeedConfig").zero_optimization.stage if self._configs.get("DeepspeedConfig") else None,
"oss": fairscale_oss,
"sharded": fairscale_sddp,
"world_size": -1,
Expand Down

0 comments on commit 77f38d3

Please sign in to comment.