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

Commit

Permalink
Merge pull request #8 from fidelity/fix
Browse files Browse the repository at this point in the history
bug with zero stage config print
  • Loading branch information
ncilfone authored Jul 28, 2021
2 parents 3ced64d + 6061903 commit bb2142c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion stoke/status.py
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,9 @@ 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 bb2142c

Please sign in to comment.