[Bugfix][CPU] Fix cpu all-reduce using native pytorch implementation (#13586)

This commit is contained in:
Isotr0py 2025-02-21 14:24:17 +08:00 committed by GitHub
parent 839b27c6cc
commit b2c3fc5d65
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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_