[XPU][CI] Use platform device in InputBatch V2 test (#49939)

Signed-off-by: zhenwei-intel <zhenwei.liu@intel.com>
This commit is contained in:
liuzhenwei
2026-07-27 15:28:02 +08:00
committed by GitHub
parent 8061dc26bd
commit afc94523c9
+2 -1
View File
@@ -5,9 +5,10 @@
import pytest
import torch
from vllm.platforms import current_platform
from vllm.v1.worker.gpu.input_batch import InputBatch, InputBuffers
DEVICE = "cuda"
DEVICE = current_platform.device_type
@pytest.mark.parametrize(