Browse Source

[example] fix bucket size in example of gpt gemini (#4028)

pull/4033/head
LuGY 1 year ago committed by GitHub
parent
commit
160c64c645
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      examples/language/gpt/gemini/train_gpt_demo.py

2
examples/language/gpt/gemini/train_gpt_demo.py

@ -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":

Loading…
Cancel
Save