[Distributed] [ROCM] Fix custom allreduce enable checks (#16010)

Signed-off-by: ilmarkov <imarkov@redhat.com>
Co-authored-by: ilmarkov <imarkov@redhat.com>
This commit is contained in:
Ilya Markov
2025-04-04 09:39:08 -07:00
committed by GitHub
co-authored by ilmarkov
parent 2386803f2a
commit ef608c37a7
4 changed files with 21 additions and 4 deletions
+7
View File
@@ -379,6 +379,13 @@ class Platform:
"""
return False
@classmethod
def use_custom_allreduce(cls) -> bool:
"""
Returns if custom allreduce is supported on the current platform
"""
return False
class UnspecifiedPlatform(Platform):
_enum = PlatformEnum.UNSPECIFIED