mirror of
https://github.com/hpcaitech/ColossalAI.git
synced 2025-09-11 05:49:55 +00:00
[Feature] auto-cast optimizers to distributed version (#5746)
* auto-cast optimizers to distributed * fix galore casting * logger --------- Co-authored-by: Edenzzzz <wtan45@wisc.edu>
This commit is contained in:
@@ -289,7 +289,7 @@ def check_dist_lamb(rank, world_size, port):
|
||||
run_dist_lamb_fwd_bwd()
|
||||
coordinator.print_on_master("Forward-backward tests passed")
|
||||
|
||||
run_bert_test(optim_class=Lamb, sharded_optim_class=DistributedLamb)
|
||||
run_bert_test(optim_class=Lamb, sharded_optim_class=Lamb)
|
||||
print(f"rank {rank} tests passed :)")
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user