mirror of
https://github.com/hpcaitech/ColossalAI.git
synced 2025-09-02 17:46:42 +00:00
polish pp middleware (#2476)
Co-authored-by: Ziyue Jiang <ziyue.jiang@gmail.com>
This commit is contained in:
@@ -120,7 +120,7 @@ def run_master(args):
|
||||
logger.info(f'{rank=} numel in the partition:{numel}')
|
||||
|
||||
# build optim
|
||||
pp_engine.initialize_optimizer(HybridAdam, lr=1e-3)
|
||||
pp_engine.initialize_optimizer(torch.optim.Adam, lr=1e-3)
|
||||
|
||||
ranks_tflops = {}
|
||||
for n in range(NUM_STEPS):
|
||||
|
Reference in New Issue
Block a user