"benchmark/vscode:/vscode.git/clone" did not exist on "a2a97b05d6c59bb95e54124a68c69b17851d3480"
Unverified Commit 1e651ca2 authored by Haofan Wang's avatar Haofan Wang Committed by GitHub
Browse files

Fix typos in ColossalAI example (#2001)

fix typos
parent 522f8aa7
......@@ -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:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment