[Bugfix][XPU] Restore N-D output shape for W8A16 FP8 linear (#7301)
Signed-off-by: Joshna Medisetty <joshna.medisetty@intel.com> Signed-off-by: Joshna-Medisetty <joshna.medisetty@intel.com>
This commit is contained in:
1 parent
b02862beee
commit
51cf142bc1
3 files changed
+48
-1
No files matched your search
@@ -11,6 +11,7 @@ from vllm.platforms.xpu import XPUPlatform
|
||||
|
||||
from vllm_omni.diffusion.attention.backends.registry import DiffusionAttentionBackendEnum
|
||||
from vllm_omni.platforms.interface import OmniPlatform, OmniPlatformEnum
|
||||
from vllm_omni.platforms.xpu.patch import apply_patches
|
||||
|
||||
logger = init_logger(__name__)
|
||||
|
||||
@@ -31,6 +32,10 @@ class XPUOmniPlatform(OmniPlatform, XPUPlatform):
|
||||
|
||||
_omni_enum = OmniPlatformEnum.XPU
|
||||
|
||||
def __init__(self):
|
||||
super().__init__()
|
||||
apply_patches()
|
||||
|
||||
@classmethod
|
||||
def get_omni_ar_worker_cls(cls) -> str:
|
||||
return "vllm_omni.platforms.xpu.worker.xpu_ar_worker.XPUARWorker"
|
||||
|
||||
Reference in new issue
Block a user