[XPU] Enable Kimi K3 KDA kernel tests on XPU (#51809)

Signed-off-by: pmanczak <pawel.manczak@intel.com>
This commit is contained in:
pmanczak
2026-08-17 17:21:34 +08:00
committed by GitHub
parent bb233626ca
commit cc7cf71fc8
2 changed files with 8 additions and 2 deletions
+7 -1
View File
@@ -30,9 +30,15 @@ from vllm.models.kimi_k3.nvidia.ops.third_party.kda import (
fused_recurrent_kda_fwd,
fused_recurrent_kda_packed_decode,
)
from vllm.platforms import current_platform
from vllm.third_party.flash_linear_attention.ops.l2norm import l2norm_fwd
DEVICE = "cuda"
DEVICE = current_platform.device_type
pytestmark = pytest.mark.skipif(
not (current_platform.is_cuda_alike() or current_platform.is_xpu()),
reason="The KDA kernels require a CUDA-alike or XPU device.",
)
# The AMD and NVIDIA copies of the KDA kernels are vendored separately and are
# free to diverge, so the shared-semantics tests below run against both.