[Bugfix][CPU] Fix cpu all-reduce using native pytorch implementation (#13586)
This commit is contained in:
parent
839b27c6cc
commit
b2c3fc5d65
@ -30,4 +30,5 @@ class CpuCommunicator(DeviceCommunicatorBase):
|
||||
pass
|
||||
|
||||
def all_reduce(self, input_):
|
||||
return self.dist_module.all_reduce(input_, group=self.device_group)
|
||||
self.dist_module.all_reduce(input_, group=self.device_group)
|
||||
return input_
|
||||
|
Loading…
x
Reference in New Issue
Block a user