mirror of
https://github.com/hpcaitech/ColossalAI.git
synced 2025-09-01 17:17:05 +00:00
[hotfix]fix argument naming in docs and examples (#4083)
This commit is contained in:
@@ -88,7 +88,7 @@ def main():
|
||||
placement_policy=args.placement,
|
||||
pin_memory=True,
|
||||
hidden_dim=model.config.hidden_size,
|
||||
search_range_mb=128)
|
||||
search_range_m=128)
|
||||
optim_config = dict(gpu_margin_mem_ratio=0.)
|
||||
else:
|
||||
raise RuntimeError
|
||||
|
0
examples/community/roberta/test_ci.sh
Normal file
0
examples/community/roberta/test_ci.sh
Normal file
@@ -258,7 +258,7 @@ def main():
|
||||
placement_policy=args.placement,
|
||||
pin_memory=True,
|
||||
strict_ddp_mode=args.tp_degree == 1,
|
||||
search_range_mb=128,
|
||||
search_range_m=128,
|
||||
hidden_dim=model.config.n_embd,
|
||||
gpu_margin_mem_ratio=0.)
|
||||
else:
|
||||
|
Reference in New Issue
Block a user