mirror of https://github.com/InternLM/InternLM
Merge remote-tracking branch 'upstream/develop' into feat/fstp_refactor
merge developpull/456/head
commit
1aae39b667
|
@ -856,6 +856,8 @@ class HybridZeroOptimizer(BaseOptimizer):
|
||||||
for handle in handles:
|
for handle in handles:
|
||||||
handle.wait()
|
handle.wait()
|
||||||
|
|
||||||
|
torch.cuda().synchronize()
|
||||||
|
|
||||||
##################
|
##################
|
||||||
# FP16 Utilities #
|
# FP16 Utilities #
|
||||||
##################
|
##################
|
||||||
|
|
Loading…
Reference in New Issue