[CI] Skip the IPC weight-checker test on non-CUDA platforms (#59398)
Signed-off-by: aoshen02 <aoshen@inferact.ai> Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
aoshen02 committed
Sep 30, 2026 at 17:20 UTC
749192ff41f4fddd6e5d3c4ef1eb5851175e8fc2
1 file changed
+4
tests/entrypoints/serve/dev/rlhf/state_transitions/test_weight_checker.py
+4
@@ -23,6 +23,7 @@ from vllm.distributed.weight_transfer import (
23
WeightTransferTrainerFactory,
24
)
25
from vllm.distributed.weight_transfer.ipc_engine import IPCTrainerInitInfo
26
+from vllm.platforms import current_platform
27
28
29
def weight_checker(url: str, action: str, baseline=None) -> requests.Response:
@@ -96,6 +97,9 @@ class TestSingleGPU:
97
assert ok(gen(server_url))
98
99
100
+@pytest.mark.skipif(
101
+ not current_platform.is_cuda_alike(), reason="IPC weight transfer uses CUDA IPC."
102
+)
103
def test_ipc_weight_transfer_restores_reset_weights():
104
"""The documented RL flow: reset, then transfer the checkpoint back."""
105
args = ["--weight-transfer-config", '{"backend": "ipc"}']