[Feat] Support XPU Backend in vLLM-Omni (#191)
Signed-off-by: Fanli Lin <fanli.lin@intel.com> Signed-off-by: Fanli Lin <fanli0116@gmail.com> Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
1 parent
c7f89ef085
commit
bfbf3e5b69
11 files changed
+315
-8
No files matched your search
@@ -31,6 +31,15 @@ class OmniPlatform(Platform):
|
||||
def is_npu(self) -> bool:
|
||||
return self._omni_enum == OmniPlatformEnum.NPU
|
||||
|
||||
def is_xpu(self) -> bool:
|
||||
return self._omni_enum == OmniPlatformEnum.XPU
|
||||
|
||||
def is_cuda(self) -> bool:
|
||||
return self._omni_enum == OmniPlatformEnum.CUDA
|
||||
|
||||
def is_rocm(self) -> bool:
|
||||
return self._omni_enum == OmniPlatformEnum.ROCM
|
||||
|
||||
@classmethod
|
||||
def get_omni_ar_worker_cls(cls) -> str:
|
||||
raise NotImplementedError
|
||||
|
||||
Reference in new issue
Block a user