mirror of https://github.com/InternLM/InternLM
parent
aeee9fd2a9
commit
ad70e323eb
|
@ -809,7 +809,7 @@ class HybridZeroOptimizer(BaseOptimizer):
|
|||
for handle in handles:
|
||||
handle.wait()
|
||||
|
||||
torch.cuda().synchronize()
|
||||
torch.cuda.synchronize()
|
||||
|
||||
##################
|
||||
# FP16 Utilities #
|
||||
|
|
Loading…
Reference in New Issue