[CI][AMD] Skip 4 GPUs testgroup ray tests (#33305)

Signed-off-by: Ryan Rock <ryan.rock@amd.com>
Co-authored-by: TJian <tunjian.tan@embeddedllm.com>
This commit is contained in:
Ryan Rock
2026-01-29 21:39:53 -08:00
committed by GitHub
co-authored by TJian
parent 8bfc8d5600
commit 070c811d6f
2 changed files with 8 additions and 0 deletions
@@ -30,6 +30,7 @@ https://docs.ray.io/en/latest/placement-groups.html
import gc
import os
import sys
import ray
import torch
@@ -40,6 +41,10 @@ from torch.multiprocessing.reductions import reduce_tensor
from vllm import LLM
if torch.version.hip is not None:
print("Skipping test for ROCm. Ray is unsupported on vLLM ROCm.")
sys.exit(0)
class MyLLM(LLM):
"""Configure the vLLM worker for Ray placement group execution.