[NIXL][OOT platform] support nixl_connector with oot platform and other nixl_backend (#25121)

Signed-off-by: Chendi Xue <Chendi.Xue@intel.com>
This commit is contained in:
Chendi.Xue
2025-09-23 04:17:42 +00:00
committed by GitHub
parent e8db44f883
commit 5774b0a1da
5 changed files with 99 additions and 9 deletions
+15
View File
@@ -604,6 +604,21 @@ class Platform:
return _synced_weight_loader
@classmethod
def get_nixl_supported_devices(cls) -> dict[str, tuple[str, ...]]:
"""
Returns a mapping from device_type to a tuple of supported
kv_buffer_device for nixl.
"""
return {}
@classmethod
def get_nixl_memory_type(cls) -> Optional[str]:
"""
Returns the nixl memory type for the current platform.
"""
return None
class UnspecifiedPlatform(Platform):
_enum = PlatformEnum.UNSPECIFIED