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