fix synchronize

pull/453/head
yingtongxiong 2023-10-26 17:50:18 +08:00
parent cd53d90db9
commit a26481132d
1 changed files with 1 additions and 1 deletions

View File

@ -809,7 +809,7 @@ class HybridZeroOptimizer(BaseOptimizer):
for handle in handles:
handle.wait()
torch.cuda().synchronize()
torch.cuda.synchronize()
##################
# FP16 Utilities #