[Refactor]Abstract Platform Interface for Distributed Backend and Add xccl Support for Intel XPU (#19410)

Signed-off-by: dbyoung18 <yang5.yang@intel.com>
Signed-off-by: Kunshang Ji <kunshang.ji@intel.com>
Co-authored-by: Kunshang Ji <kunshang.ji@intel.com>
This commit is contained in:
Yang Yang
2025-07-07 04:32:32 +00:00
committed by GitHub
co-authored by Kunshang Ji
parent 47db8c2c15
commit 6e2c19ce22
17 changed files with 44 additions and 8 deletions
+1
View File
@@ -37,6 +37,7 @@ class CpuPlatform(Platform):
device_name: str = "cpu"
device_type: str = "cpu"
dispatch_key: str = "CPU"
dist_backend: str = "gloo"
@property
def supported_dtypes(self) -> list[torch.dtype]: