[XPU][Feature] transparent sleep mode support for XPU platform (#37149)
Signed-off-by: Yan Ma <yan.ma@intel.com>
This commit is contained in:
@@ -197,7 +197,7 @@ class Platform:
|
||||
# for ROCm, but currently we don't have a way to detect the
|
||||
# exact GPU model statelessly here. So we return True for
|
||||
# all ROCm platforms for now.
|
||||
return self._enum in (PlatformEnum.CUDA, PlatformEnum.ROCM)
|
||||
return self._enum in (PlatformEnum.CUDA, PlatformEnum.ROCM, PlatformEnum.XPU)
|
||||
|
||||
def is_cumem_allocator_available(self) -> bool:
|
||||
try:
|
||||
|
||||
Reference in New Issue
Block a user