mirror of
https://git.datalinker.icu/vllm-project/vllm.git
synced 2026-01-01 05:15:17 +08:00
Fix the AMD weight loading tests (#8390)
This commit is contained in:
parent
b71c956deb
commit
b6c75e1cf2
@ -883,7 +883,7 @@ class ParallelConfig:
|
||||
from vllm.executor import ray_utils
|
||||
backend = "mp"
|
||||
ray_found = ray_utils.ray_is_available()
|
||||
if (torch.cuda.is_available()
|
||||
if (current_platform.is_cuda()
|
||||
and cuda_device_count_stateless() < self.world_size):
|
||||
if not ray_found:
|
||||
raise ValueError("Unable to load Ray which is "
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user