Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
renzhc
diffusers_dcu
Commits
1e651ca2
Unverified
Commit
1e651ca2
authored
Jan 16, 2023
by
Haofan Wang
Committed by
GitHub
Jan 16, 2023
Browse files
Fix typos in ColossalAI example (#2001)
fix typos
parent
522f8aa7
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
examples/research_projects/colossalai/train_dreambooth_colossalai.py
...search_projects/colossalai/train_dreambooth_colossalai.py
+5
-0
No files found.
examples/research_projects/colossalai/train_dreambooth_colossalai.py
View file @
1e651ca2
...
@@ -365,6 +365,11 @@ def gemini_zero_dpp(model: torch.nn.Module, placememt_policy: str = "auto"):
...
@@ -365,6 +365,11 @@ def gemini_zero_dpp(model: torch.nn.Module, placememt_policy: str = "auto"):
def
main
(
args
):
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
=
{})
colossalai
.
launch_from_torch
(
config
=
{})
if
args
.
seed
is
not
None
:
if
args
.
seed
is
not
None
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment