Skip to content

Commit

Permalink
Fix typos in ColossalAI example (huggingface#2001)
Browse files Browse the repository at this point in the history
fix typos
  • Loading branch information
haofanwang authored Jan 16, 2023
1 parent 522f8aa commit 1e651ca
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -365,6 +365,11 @@ def gemini_zero_dpp(model: torch.nn.Module, placememt_policy: str = "auto"):


def main(args):
if args.seed is None:
colossalai.launch_from_torch(config={})
else:
colossalai.launch_from_torch(config={}, seed=args.seed)

colossalai.launch_from_torch(config={})

if args.seed is not None:
Expand Down

0 comments on commit 1e651ca

Please sign in to comment.