[Chore] Separate out vllm.utils.platform_utils.py (#27374)

Signed-off-by: Jonathan <chenleejonathan@gmail.com>
This commit is contained in:
Jonathan Chen
2025-10-23 19:08:06 +00:00
committed by GitHub
parent a9f55dc588
commit ca76486a16
21 changed files with 79 additions and 70 deletions
+1 -1
View File
@@ -3,7 +3,7 @@
import pytest
import torch
from vllm.utils import is_uva_available
from vllm.utils.platform_utils import is_uva_available
from vllm.utils.torch_utils import get_cuda_view_from_cpu_tensor
CUDA_DEVICES = [f"cuda:{i}" for i in range(1 if torch.cuda.device_count() == 1 else 2)]