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
OpenDAS
ColossalAI
Commits
160c64c6
Unverified
Commit
160c64c6
authored
Jun 19, 2023
by
LuGY
Committed by
GitHub
Jun 19, 2023
Browse files
[example] fix bucket size in example of gpt gemini (#4028)
parent
727c4598
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
examples/language/gpt/gemini/train_gpt_demo.py
examples/language/gpt/gemini/train_gpt_demo.py
+1
-1
No files found.
examples/language/gpt/gemini/train_gpt_demo.py
View file @
160c64c6
...
...
@@ -250,7 +250,7 @@ def main():
plugin
=
None
if
args
.
distplan
.
startswith
(
"CAI_ZeRO"
):
plugin
=
LowLevelZeroPlugin
(
stage
=
zero_stage
,
reduce_bucket_size_in_m
=
12
*
1024
*
1024
,
reduce_bucket_size_in_m
=
12
,
overlap_communication
=
True
,
verbose
=
True
)
elif
args
.
distplan
==
"CAI_Gemini"
:
...
...
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