mirror of https://github.com/hpcaitech/ColossalAI
[example] fix bucket size in example of gpt gemini (#4028)
parent
727c4598a9
commit
160c64c645
|
@ -250,7 +250,7 @@ def main():
|
||||||
plugin = None
|
plugin = None
|
||||||
if args.distplan.startswith("CAI_ZeRO"):
|
if args.distplan.startswith("CAI_ZeRO"):
|
||||||
plugin = LowLevelZeroPlugin(stage=zero_stage,
|
plugin = LowLevelZeroPlugin(stage=zero_stage,
|
||||||
reduce_bucket_size_in_m=12 * 1024 * 1024,
|
reduce_bucket_size_in_m=12,
|
||||||
overlap_communication=True,
|
overlap_communication=True,
|
||||||
verbose=True)
|
verbose=True)
|
||||||
elif args.distplan == "CAI_Gemini":
|
elif args.distplan == "CAI_Gemini":
|
||||||
|
|
Loading…
Reference in New Issue