Skip to content

[Usage]: Multiple vLLM processes with different ports on a Ray cluster #24563

@toshohirasawa

Description

@toshohirasawa

Your current environment

Collecting environment information...
==============================
        System Info
==============================
OS                           : Ubuntu 22.04.5 LTS (x86_64)
GCC version                  : (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0
Clang version                : Could not collect
CMake version                : version 4.1.0
Libc version                 : glibc-2.35

==============================
       PyTorch Info
==============================
PyTorch version              : 2.7.1+cu128
Is debug build               : False
CUDA used to build PyTorch   : 12.8
ROCM used to build PyTorch   : N/A

==============================
      Python Environment
==============================
Python version               : 3.12.11 (main, Jun  4 2025, 08:56:18) [GCC 11.4.0] (64-bit runtime)
Python platform              : Linux-6.8.0-78-generic-x86_64-with-glibc2.35

==============================
       CUDA / GPU Info
==============================
Is CUDA available            : True
CUDA runtime version         : 12.8.93
CUDA_MODULE_LOADING set to   : LAZY
GPU models and configuration : 
GPU 0: NVIDIA H200
GPU 1: NVIDIA H200
GPU 2: NVIDIA H200
GPU 3: NVIDIA H200
GPU 4: NVIDIA H200
GPU 5: NVIDIA H200
GPU 6: NVIDIA H200
GPU 7: NVIDIA H200

Nvidia driver version        : 570.158.01
cuDNN version                : Could not collect
HIP runtime version          : N/A
MIOpen runtime version       : N/A
Is XNNPACK available         : True

==============================
          CPU Info
==============================
Architecture:                         x86_64
CPU op-mode(s):                       32-bit, 64-bit
Address sizes:                        46 bits physical, 57 bits virtual
Byte Order:                           Little Endian
CPU(s):                               224
On-line CPU(s) list:                  0-223
Vendor ID:                            GenuineIntel
Model name:                           Intel(R) Xeon(R) Platinum 8480+
CPU family:                           6
Model:                                143
Thread(s) per core:                   2
Core(s) per socket:                   56
Socket(s):                            2
Stepping:                             8
CPU max MHz:                          3800.0000
CPU min MHz:                          800.0000
BogoMIPS:                             4000.00
Flags:                                fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf tsc_known_freq pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb cat_l3 cat_l2 cdp_l3 cdp_l2 ssbd mba ibrs ibpb stibp ibrs_enhanced tpr_shadow flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid cqm rdt_a avx512f avx512dq rdseed adx smap avx512ifma clflushopt clwb intel_pt avx512cd sha_ni avx512bw avx512vl xsaveopt xsavec xgetbv1 xsaves cqm_llc cqm_occup_llc cqm_mbm_total cqm_mbm_local split_lock_detect user_shstk avx_vnni avx512_bf16 wbnoinvd dtherm ida arat pln pts vnmi avx512vbmi umip pku ospke waitpkg avx512_vbmi2 gfni vaes vpclmulqdq avx512_vnni avx512_bitalg tme avx512_vpopcntdq la57 rdpid bus_lock_detect cldemote movdiri movdir64b enqcmd fsrm md_clear serialize tsxldtrk pconfig arch_lbr ibt amx_bf16 avx512_fp16 amx_tile amx_int8 flush_l1d arch_capabilities
Virtualization:                       VT-x
L1d cache:                            5.3 MiB (112 instances)
L1i cache:                            3.5 MiB (112 instances)
L2 cache:                             224 MiB (112 instances)
L3 cache:                             210 MiB (2 instances)
NUMA node(s):                         2
NUMA node0 CPU(s):                    0,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40,42,44,46,48,50,52,54,56,58,60,62,64,66,68,70,72,74,76,78,80,82,84,86,88,90,92,94,96,98,100,102,104,106,108,110,112,114,116,118,120,122,124,126,128,130,132,134,136,138,140,142,144,146,148,150,152,154,156,158,160,162,164,166,168,170,172,174,176,178,180,182,184,186,188,190,192,194,196,198,200,202,204,206,208,210,212,214,216,218,220,222
NUMA node1 CPU(s):                    1,3,5,7,9,11,13,15,17,19,21,23,25,27,29,31,33,35,37,39,41,43,45,47,49,51,53,55,57,59,61,63,65,67,69,71,73,75,77,79,81,83,85,87,89,91,93,95,97,99,101,103,105,107,109,111,113,115,117,119,121,123,125,127,129,131,133,135,137,139,141,143,145,147,149,151,153,155,157,159,161,163,165,167,169,171,173,175,177,179,181,183,185,187,189,191,193,195,197,199,201,203,205,207,209,211,213,215,217,219,221,223
Vulnerability Gather data sampling:   Not affected
Vulnerability Itlb multihit:          Not affected
Vulnerability L1tf:                   Not affected
Vulnerability Mds:                    Not affected
Vulnerability Meltdown:               Not affected
Vulnerability Mmio stale data:        Not affected
Vulnerability Reg file data sampling: Not affected
Vulnerability Retbleed:               Not affected
Vulnerability Spec rstack overflow:   Not affected
Vulnerability Spec store bypass:      Mitigation; Speculative Store Bypass disabled via prctl
Vulnerability Spectre v1:             Mitigation; usercopy/swapgs barriers and __user pointer sanitization
Vulnerability Spectre v2:             Mitigation; Enhanced / Automatic IBRS; IBPB conditional; RSB filling; PBRSB-eIBRS SW sequence; BHI BHI_DIS_S
Vulnerability Srbds:                  Not affected
Vulnerability Tsx async abort:        Not affected

==============================
Versions of relevant libraries
==============================
[pip3] flashinfer-python==0.2.11
[pip3] numpy==2.2.6
[pip3] nvidia-cublas-cu12==12.8.3.14
[pip3] nvidia-cuda-cupti-cu12==12.8.57
[pip3] nvidia-cuda-nvrtc-cu12==12.8.61
[pip3] nvidia-cuda-runtime-cu12==12.8.57
[pip3] nvidia-cudnn-cu12==9.7.1.26
[pip3] nvidia-cufft-cu12==11.3.3.41
[pip3] nvidia-cufile-cu12==1.13.0.11
[pip3] nvidia-curand-cu12==10.3.9.55
[pip3] nvidia-cusolver-cu12==11.7.2.55
[pip3] nvidia-cusparse-cu12==12.5.7.53
[pip3] nvidia-cusparselt-cu12==0.6.3
[pip3] nvidia-nccl-cu12==2.26.2
[pip3] nvidia-nvjitlink-cu12==12.8.61
[pip3] nvidia-nvtx-cu12==12.8.55
[pip3] pyzmq==27.0.1
[pip3] torch==2.7.1+cu128
[pip3] torchaudio==2.7.1+cu128
[pip3] torchvision==0.22.1+cu128
[pip3] transformers==4.55.2
[pip3] triton==3.3.1
[conda] Could not collect

==============================
         vLLM Info
==============================
ROCM Version                 : Could not collect
vLLM Version                 : 0.10.1.1
vLLM Build Flags:
  CUDA Archs: Not Set; ROCm: Disabled
GPU Topology:
  	�[4mGPU0	GPU1	GPU2	GPU3	GPU4	GPU5	GPU6	GPU7	CPU Affinity	NUMA Affinity	GPU NUMA ID�[0m
GPU0	 X 	NV18	NV18	NV18	NV18	NV18	NV18	NV18	0,2,4,6,8,10	0		N/A
GPU1	NV18	 X 	NV18	NV18	NV18	NV18	NV18	NV18	0,2,4,6,8,10	0		N/A
GPU2	NV18	NV18	 X 	NV18	NV18	NV18	NV18	NV18	0,2,4,6,8,10	0		N/A
GPU3	NV18	NV18	NV18	 X 	NV18	NV18	NV18	NV18	0,2,4,6,8,10	0		N/A
GPU4	NV18	NV18	NV18	NV18	 X 	NV18	NV18	NV18	1,3,5,7,9,11	1		N/A
GPU5	NV18	NV18	NV18	NV18	NV18	 X 	NV18	NV18	1,3,5,7,9,11	1		N/A
GPU6	NV18	NV18	NV18	NV18	NV18	NV18	 X 	NV18	1,3,5,7,9,11	1		N/A
GPU7	NV18	NV18	NV18	NV18	NV18	NV18	NV18	 X 	1,3,5,7,9,11	1		N/A

Legend:

  X    = Self
  SYS  = Connection traversing PCIe as well as the SMP interconnect between NUMA nodes (e.g., QPI/UPI)
  NODE = Connection traversing PCIe as well as the interconnect between PCIe Host Bridges within a NUMA node
  PHB  = Connection traversing PCIe as well as a PCIe Host Bridge (typically the CPU)
  PXB  = Connection traversing multiple PCIe bridges (without traversing the PCIe Host Bridge)
  PIX  = Connection traversing at most a single PCIe bridge
  NV#  = Connection traversing a bonded set of # NVLinks

==============================
     Environment Variables
==============================
NVIDIA_VISIBLE_DEVICES=all
NVIDIA_REQUIRE_CUDA=cuda>=12.8 brand=unknown,driver>=470,driver<471 brand=grid,driver>=470,driver<471 brand=tesla,driver>=470,driver<471 brand=nvidia,driver>=470,driver<471 brand=quadro,driver>=470,driver<471 brand=quadrortx,driver>=470,driver<471 brand=nvidiartx,driver>=470,driver<471 brand=vapps,driver>=470,driver<471 brand=vpc,driver>=470,driver<471 brand=vcs,driver>=470,driver<471 brand=vws,driver>=470,driver<471 brand=cloudgaming,driver>=470,driver<471 brand=unknown,driver>=535,driver<536 brand=grid,driver>=535,driver<536 brand=tesla,driver>=535,driver<536 brand=nvidia,driver>=535,driver<536 brand=quadro,driver>=535,driver<536 brand=quadrortx,driver>=535,driver<536 brand=nvidiartx,driver>=535,driver<536 brand=vapps,driver>=535,driver<536 brand=vpc,driver>=535,driver<536 brand=vcs,driver>=535,driver<536 brand=vws,driver>=535,driver<536 brand=cloudgaming,driver>=535,driver<536 brand=unknown,driver>=550,driver<551 brand=grid,driver>=550,driver<551 brand=tesla,driver>=550,driver<551 brand=nvidia,driver>=550,driver<551 brand=quadro,driver>=550,driver<551 brand=quadrortx,driver>=550,driver<551 brand=nvidiartx,driver>=550,driver<551 brand=vapps,driver>=550,driver<551 brand=vpc,driver>=550,driver<551 brand=vcs,driver>=550,driver<551 brand=vws,driver>=550,driver<551 brand=cloudgaming,driver>=550,driver<551 brand=unknown,driver>=560,driver<561 brand=grid,driver>=560,driver<561 brand=tesla,driver>=560,driver<561 brand=nvidia,driver>=560,driver<561 brand=quadro,driver>=560,driver<561 brand=quadrortx,driver>=560,driver<561 brand=nvidiartx,driver>=560,driver<561 brand=vapps,driver>=560,driver<561 brand=vpc,driver>=560,driver<561 brand=vcs,driver>=560,driver<561 brand=vws,driver>=560,driver<561 brand=cloudgaming,driver>=560,driver<561 brand=unknown,driver>=565,driver<566 brand=grid,driver>=565,driver<566 brand=tesla,driver>=565,driver<566 brand=nvidia,driver>=565,driver<566 brand=quadro,driver>=565,driver<566 brand=quadrortx,driver>=565,driver<566 brand=nvidiartx,driver>=565,driver<566 brand=vapps,driver>=565,driver<566 brand=vpc,driver>=565,driver<566 brand=vcs,driver>=565,driver<566 brand=vws,driver>=565,driver<566 brand=cloudgaming,driver>=565,driver<566
NCCL_VERSION=2.25.1-1
NCCL_SOCKET_IFNAME=bond0
NVIDIA_DRIVER_CAPABILITIES=compute,utility
NVIDIA_PRODUCT_NAME=CUDA
VLLM_USAGE_SOURCE=production-docker-image
CUDA_VERSION=12.8.1
LD_LIBRARY_PATH=/usr/local/cuda/lib64
VLLM_HOST_IP=10.22.0.78
NCCL_CUMEM_ENABLE=0
PYTORCH_NVML_BASED_CUDA_CHECK=1
TORCHINDUCTOR_COMPILE_THREADS=1
CUDA_MODULE_LOADING=LAZY


How would you like to use vllm

I want to run inference of qwen3 and gpt-oss models on a Ray cluster. I don't know how to integrate it with vllm.

I use a custom Docker image built with:

FROM vllm/vllm-openai:latest
RUN pip install -U "ray[data,train,tune,serve]"

The Ray cluster is well configured, and ray status returns the correct result.
After my successful launch of the Qwen3 model, I try to launch the gpt-oss model.
And the following error occurred:

vllm serve --config /workspace/config/deepseek-r1.yaml
INFO 09-09 23:55:13 [__init__.py:241] Automatically detected platform cuda.
�[1;36m(APIServer pid=49081)�[0;0m INFO 09-09 23:55:15 [api_server.py:1805] vLLM API server version 0.10.1.1
�[1;36m(APIServer pid=49081)�[0;0m INFO 09-09 23:55:15 [utils.py:326] non-default args: {'port': 8002, 'model': '/models/models--deepseek-ai--DeepSeek-R1-Distill-Llama-70B', 'served_model_name': ['deekseek-r1'], 'distributed_executor_backend': 'ray', 'tensor_parallel_size': 4, 'disable_custom_all_reduce': True}
�[1;36m(APIServer pid=49081)�[0;0m INFO 09-09 23:55:21 [__init__.py:711] Resolved architecture: LlamaForCausalLM
�[1;36m(APIServer pid=49081)�[0;0m INFO 09-09 23:55:21 [__init__.py:1750] Using max model len 131072
�[1;36m(APIServer pid=49081)�[0;0m INFO 09-09 23:55:21 [scheduler.py:222] Chunked prefill is enabled with max_num_batched_tokens=8192.
INFO 09-09 23:55:26 [__init__.py:241] Automatically detected platform cuda.
�[1;36m(EngineCore_0 pid=49349)�[0;0m INFO 09-09 23:55:28 [core.py:636] Waiting for init message from front-end.
�[1;36m(EngineCore_0 pid=49349)�[0;0m INFO 09-09 23:55:28 [core.py:74] Initializing a V1 LLM engine (v0.10.1.1) with config: model='/models/models--deepseek-ai--DeepSeek-R1-Distill-Llama-70B', speculative_config=None, tokenizer='/models/models--deepseek-ai--DeepSeek-R1-Distill-Llama-70B', skip_tokenizer_init=False, tokenizer_mode=auto, revision=None, override_neuron_config={}, tokenizer_revision=None, trust_remote_code=False, dtype=torch.bfloat16, max_seq_len=131072, download_dir=None, load_format=auto, tensor_parallel_size=4, pipeline_parallel_size=1, disable_custom_all_reduce=True, quantization=None, enforce_eager=False, kv_cache_dtype=auto, device_config=cuda, decoding_config=DecodingConfig(backend='auto', disable_fallback=False, disable_any_whitespace=False, disable_additional_properties=False, reasoning_backend=''), observability_config=ObservabilityConfig(show_hidden_metrics_for_version=None, otlp_traces_endpoint=None, collect_detailed_traces=None), seed=0, served_model_name=deekseek-r1, enable_prefix_caching=True, chunked_prefill_enabled=True, use_async_output_proc=True, pooler_config=None, compilation_config={"level":3,"debug_dump_path":"","cache_dir":"","backend":"","custom_ops":[],"splitting_ops":["vllm.unified_attention","vllm.unified_attention_with_output","vllm.mamba_mixer2"],"use_inductor":true,"compile_sizes":[],"inductor_compile_config":{"enable_auto_functionalized_v2":false},"inductor_passes":{},"cudagraph_mode":1,"use_cudagraph":true,"cudagraph_num_of_warmups":1,"cudagraph_capture_sizes":[512,504,496,488,480,472,464,456,448,440,432,424,416,408,400,392,384,376,368,360,352,344,336,328,320,312,304,296,288,280,272,264,256,248,240,232,224,216,208,200,192,184,176,168,160,152,144,136,128,120,112,104,96,88,80,72,64,56,48,40,32,24,16,8,4,2,1],"cudagraph_copy_inputs":false,"full_cuda_graph":false,"pass_config":{},"max_capture_size":512,"local_cache_dir":null}
�[1;36m(EngineCore_0 pid=49349)�[0;0m INFO 09-09 23:55:28 [ray_utils.py:339] No current placement group found. Creating a new placement group.
�[1;36m(EngineCore_0 pid=49349)�[0;0m ERROR 09-09 23:55:28 [core.py:700] EngineCore failed to start.
�[1;36m(EngineCore_0 pid=49349)�[0;0m ERROR 09-09 23:55:28 [core.py:700] Traceback (most recent call last):
�[1;36m(EngineCore_0 pid=49349)�[0;0m ERROR 09-09 23:55:28 [core.py:700]   File "/usr/local/lib/python3.12/dist-packages/vllm/v1/engine/core.py", line 691, in run_engine_core
�[1;36m(EngineCore_0 pid=49349)�[0;0m ERROR 09-09 23:55:28 [core.py:700]     engine_core = EngineCoreProc(*args, **kwargs)
�[1;36m(EngineCore_0 pid=49349)�[0;0m ERROR 09-09 23:55:28 [core.py:700]                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
�[1;36m(EngineCore_0 pid=49349)�[0;0m ERROR 09-09 23:55:28 [core.py:700]   File "/usr/local/lib/python3.12/dist-packages/vllm/v1/engine/core.py", line 492, in __init__
�[1;36m(EngineCore_0 pid=49349)�[0;0m ERROR 09-09 23:55:28 [core.py:700]     super().__init__(vllm_config, executor_class, log_stats,
�[1;36m(EngineCore_0 pid=49349)�[0;0m ERROR 09-09 23:55:28 [core.py:700]   File "/usr/local/lib/python3.12/dist-packages/vllm/v1/engine/core.py", line 80, in __init__
�[1;36m(EngineCore_0 pid=49349)�[0;0m ERROR 09-09 23:55:28 [core.py:700]     self.model_executor = executor_class(vllm_config)
�[1;36m(EngineCore_0 pid=49349)�[0;0m ERROR 09-09 23:55:28 [core.py:700]                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
�[1;36m(EngineCore_0 pid=49349)�[0;0m ERROR 09-09 23:55:28 [core.py:700]   File "/usr/local/lib/python3.12/dist-packages/vllm/executor/executor_base.py", line 264, in __init__
�[1;36m(EngineCore_0 pid=49349)�[0;0m ERROR 09-09 23:55:28 [core.py:700]     super().__init__(*args, **kwargs)
�[1;36m(EngineCore_0 pid=49349)�[0;0m ERROR 09-09 23:55:28 [core.py:700]   File "/usr/local/lib/python3.12/dist-packages/vllm/executor/executor_base.py", line 54, in __init__
�[1;36m(EngineCore_0 pid=49349)�[0;0m ERROR 09-09 23:55:28 [core.py:700]     self._init_executor()
�[1;36m(EngineCore_0 pid=49349)�[0;0m ERROR 09-09 23:55:28 [core.py:700]   File "/usr/local/lib/python3.12/dist-packages/vllm/v1/executor/ray_distributed_executor.py", line 49, in _init_executor
�[1;36m(EngineCore_0 pid=49349)�[0;0m ERROR 09-09 23:55:28 [core.py:700]     super()._init_executor()
�[1;36m(EngineCore_0 pid=49349)�[0;0m ERROR 09-09 23:55:28 [core.py:700]   File "/usr/local/lib/python3.12/dist-packages/vllm/executor/ray_distributed_executor.py", line 98, in _init_executor
�[1;36m(EngineCore_0 pid=49349)�[0;0m ERROR 09-09 23:55:28 [core.py:700]     initialize_ray_cluster(self.parallel_config)
�[1;36m(EngineCore_0 pid=49349)�[0;0m ERROR 09-09 23:55:28 [core.py:700]   File "/usr/local/lib/python3.12/dist-packages/vllm/executor/ray_utils.py", line 362, in initialize_ray_cluster
�[1;36m(EngineCore_0 pid=49349)�[0;0m ERROR 09-09 23:55:28 [core.py:700]     raise ValueError(
�[1;36m(EngineCore_0 pid=49349)�[0;0m ERROR 09-09 23:55:28 [core.py:700] ValueError: Current node has no GPU available. current_node_resource={'bundle_group_6_bfa0b0d07a3e2907709487be9a3e02000000': 999.999, 'object_store_memory': 10445362176.0, 'bundle_group_3_bfa0b0d07a3e2907709487be9a3e02000000': 999.999, 'bundle_group_1_bfa0b0d07a3e2907709487be9a3e02000000': 999.999, 'bundle_group_bfa0b0d07a3e2907709487be9a3e02000000': 7999.992, 'accelerator_type:H200': 1.0, 'node:10.22.0.78_group_0_bfa0b0d07a3e2907709487be9a3e02000000': 0.001, 'bundle_group_0_bfa0b0d07a3e2907709487be9a3e02000000': 999.999, 'node:__internal_head__': 1.0, 'memory': 2151665265664.0, 'node:10.22.0.78_group_bfa0b0d07a3e2907709487be9a3e02000000': 0.001, 'bundle_group_7_bfa0b0d07a3e2907709487be9a3e02000000': 999.999, 'bundle_group_2_bfa0b0d07a3e2907709487be9a3e02000000': 999.999, 'bundle_group_5_bfa0b0d07a3e2907709487be9a3e02000000': 999.999, 'CPU': 224.0, 'bundle_group_4_bfa0b0d07a3e2907709487be9a3e02000000': 999.999, 'node:10.22.0.78': 0.999}. vLLM engine cannot start without GPU. Make sure you have at least 1 GPU available in a node current_node_id='c2d47747e5728b11d91d5279bb2c76e18d178c2c05b742928d5188de' current_ip='10.22.0.78'.
�[1;36m(EngineCore_0 pid=49349)�[0;0m INFO 09-09 23:55:28 [ray_distributed_executor.py:120] Shutting down Ray distributed executor. If you see error log from logging.cc regarding SIGTERM received, please ignore because this is the expected termination process in Ray.

I also try launch the model with CUDA_VISIBLE_DEVICES=16,17,18,19 (try to use the GPUs on the 3rd node) and another error occurred:

vllm serve --config /workspace/config/deepseek-r1.yaml
INFO 09-09 23:53:11 [__init__.py:241] Automatically detected platform cuda.
�[1;36m(APIServer pid=48796)�[0;0m INFO 09-09 23:53:14 [api_server.py:1805] vLLM API server version 0.10.1.1
�[1;36m(APIServer pid=48796)�[0;0m INFO 09-09 23:53:14 [utils.py:326] non-default args: {'port': 8002, 'model': '/models/models--deepseek-ai--DeepSeek-R1-Distill-Llama-70B', 'served_model_name': ['deekseek-r1'], 'distributed_executor_backend': 'ray', 'tensor_parallel_size': 4, 'disable_custom_all_reduce': True}
�[1;36m(APIServer pid=48796)�[0;0m ERROR 09-09 23:53:19 [registry.py:424] Error in inspecting model architecture 'LlamaForCausalLM'
�[1;36m(APIServer pid=48796)�[0;0m ERROR 09-09 23:53:19 [registry.py:424] Traceback (most recent call last):
�[1;36m(APIServer pid=48796)�[0;0m ERROR 09-09 23:53:19 [registry.py:424]   File "/usr/local/lib/python3.12/dist-packages/vllm/model_executor/models/registry.py", line 834, in _run_in_subprocess
�[1;36m(APIServer pid=48796)�[0;0m ERROR 09-09 23:53:19 [registry.py:424]     returned.check_returncode()
�[1;36m(APIServer pid=48796)�[0;0m ERROR 09-09 23:53:19 [registry.py:424]   File "/usr/lib/python3.12/subprocess.py", line 502, in check_returncode
�[1;36m(APIServer pid=48796)�[0;0m ERROR 09-09 23:53:19 [registry.py:424]     raise CalledProcessError(self.returncode, self.args, self.stdout,
�[1;36m(APIServer pid=48796)�[0;0m ERROR 09-09 23:53:19 [registry.py:424] subprocess.CalledProcessError: Command '['/usr/bin/python3', '-m', 'vllm.model_executor.models.registry']' returned non-zero exit status 1.
�[1;36m(APIServer pid=48796)�[0;0m ERROR 09-09 23:53:19 [registry.py:424] 
�[1;36m(APIServer pid=48796)�[0;0m ERROR 09-09 23:53:19 [registry.py:424] The above exception was the direct cause of the following exception:
�[1;36m(APIServer pid=48796)�[0;0m ERROR 09-09 23:53:19 [registry.py:424] 
�[1;36m(APIServer pid=48796)�[0;0m ERROR 09-09 23:53:19 [registry.py:424] Traceback (most recent call last):
�[1;36m(APIServer pid=48796)�[0;0m ERROR 09-09 23:53:19 [registry.py:424]   File "/usr/local/lib/python3.12/dist-packages/vllm/model_executor/models/registry.py", line 422, in _try_inspect_model_cls
�[1;36m(APIServer pid=48796)�[0;0m ERROR 09-09 23:53:19 [registry.py:424]     return model.inspect_model_cls()
�[1;36m(APIServer pid=48796)�[0;0m ERROR 09-09 23:53:19 [registry.py:424]            ^^^^^^^^^^^^^^^^^^^^^^^^^
�[1;36m(APIServer pid=48796)�[0;0m ERROR 09-09 23:53:19 [registry.py:424]   File "/usr/local/lib/python3.12/dist-packages/vllm/model_executor/models/registry.py", line 393, in inspect_model_cls
�[1;36m(APIServer pid=48796)�[0;0m ERROR 09-09 23:53:19 [registry.py:424]     return _run_in_subprocess(
�[1;36m(APIServer pid=48796)�[0;0m ERROR 09-09 23:53:19 [registry.py:424]            ^^^^^^^^^^^^^^^^^^^
�[1;36m(APIServer pid=48796)�[0;0m ERROR 09-09 23:53:19 [registry.py:424]   File "/usr/local/lib/python3.12/dist-packages/vllm/model_executor/models/registry.py", line 837, in _run_in_subprocess
�[1;36m(APIServer pid=48796)�[0;0m ERROR 09-09 23:53:19 [registry.py:424]     raise RuntimeError(f"Error raised in subprocess:\n"
�[1;36m(APIServer pid=48796)�[0;0m ERROR 09-09 23:53:19 [registry.py:424] RuntimeError: Error raised in subprocess:
�[1;36m(APIServer pid=48796)�[0;0m ERROR 09-09 23:53:19 [registry.py:424] <frozen runpy>:128: RuntimeWarning: 'vllm.model_executor.models.registry' found in sys.modules after import of package 'vllm.model_executor.models', but prior to execution of 'vllm.model_executor.models.registry'; this may result in unpredictable behaviour
�[1;36m(APIServer pid=48796)�[0;0m ERROR 09-09 23:53:19 [registry.py:424] Traceback (most recent call last):
�[1;36m(APIServer pid=48796)�[0;0m ERROR 09-09 23:53:19 [registry.py:424]   File "<frozen runpy>", line 198, in _run_module_as_main
�[1;36m(APIServer pid=48796)�[0;0m ERROR 09-09 23:53:19 [registry.py:424]   File "<frozen runpy>", line 88, in _run_code
�[1;36m(APIServer pid=48796)�[0;0m ERROR 09-09 23:53:19 [registry.py:424]   File "/usr/local/lib/python3.12/dist-packages/vllm/model_executor/models/registry.py", line 858, in <module>
�[1;36m(APIServer pid=48796)�[0;0m ERROR 09-09 23:53:19 [registry.py:424]     _run()
�[1;36m(APIServer pid=48796)�[0;0m ERROR 09-09 23:53:19 [registry.py:424]   File "/usr/local/lib/python3.12/dist-packages/vllm/model_executor/models/registry.py", line 851, in _run
�[1;36m(APIServer pid=48796)�[0;0m ERROR 09-09 23:53:19 [registry.py:424]     result = fn()
�[1;36m(APIServer pid=48796)�[0;0m ERROR 09-09 23:53:19 [registry.py:424]              ^^^^
�[1;36m(APIServer pid=48796)�[0;0m ERROR 09-09 23:53:19 [registry.py:424]   File "/usr/local/lib/python3.12/dist-packages/vllm/model_executor/models/registry.py", line 394, in <lambda>
�[1;36m(APIServer pid=48796)�[0;0m ERROR 09-09 23:53:19 [registry.py:424]     lambda: _ModelInfo.from_model_cls(self.load_model_cls()))
�[1;36m(APIServer pid=48796)�[0;0m ERROR 09-09 23:53:19 [registry.py:424]                                       ^^^^^^^^^^^^^^^^^^^^^
�[1;36m(APIServer pid=48796)�[0;0m ERROR 09-09 23:53:19 [registry.py:424]   File "/usr/local/lib/python3.12/dist-packages/vllm/model_executor/models/registry.py", line 397, in load_model_cls
�[1;36m(APIServer pid=48796)�[0;0m ERROR 09-09 23:53:19 [registry.py:424]     mod = importlib.import_module(self.module_name)
�[1;36m(APIServer pid=48796)�[0;0m ERROR 09-09 23:53:19 [registry.py:424]           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
�[1;36m(APIServer pid=48796)�[0;0m ERROR 09-09 23:53:19 [registry.py:424]   File "/usr/lib/python3.12/importlib/__init__.py", line 90, in import_module
�[1;36m(APIServer pid=48796)�[0;0m ERROR 09-09 23:53:19 [registry.py:424]     return _bootstrap._gcd_import(name[level:], package, level)
�[1;36m(APIServer pid=48796)�[0;0m ERROR 09-09 23:53:19 [registry.py:424]            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
�[1;36m(APIServer pid=48796)�[0;0m ERROR 09-09 23:53:19 [registry.py:424]   File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
�[1;36m(APIServer pid=48796)�[0;0m ERROR 09-09 23:53:19 [registry.py:424]   File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
�[1;36m(APIServer pid=48796)�[0;0m ERROR 09-09 23:53:19 [registry.py:424]   File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked
�[1;36m(APIServer pid=48796)�[0;0m ERROR 09-09 23:53:19 [registry.py:424]   File "<frozen importlib._bootstrap>", line 935, in _load_unlocked
�[1;36m(APIServer pid=48796)�[0;0m ERROR 09-09 23:53:19 [registry.py:424]   File "<frozen importlib._bootstrap_external>", line 999, in exec_module
�[1;36m(APIServer pid=48796)�[0;0m ERROR 09-09 23:53:19 [registry.py:424]   File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
�[1;36m(APIServer pid=48796)�[0;0m ERROR 09-09 23:53:19 [registry.py:424]   File "/usr/local/lib/python3.12/dist-packages/vllm/model_executor/models/llama.py", line 47, in <module>
�[1;36m(APIServer pid=48796)�[0;0m ERROR 09-09 23:53:19 [registry.py:424]     from vllm.model_executor.model_loader.weight_utils import (
�[1;36m(APIServer pid=48796)�[0;0m ERROR 09-09 23:53:19 [registry.py:424]   File "/usr/local/lib/python3.12/dist-packages/vllm/model_executor/model_loader/__init__.py", line 11, in <module>
�[1;36m(APIServer pid=48796)�[0;0m ERROR 09-09 23:53:19 [registry.py:424]     from vllm.model_executor.model_loader.bitsandbytes_loader import (
�[1;36m(APIServer pid=48796)�[0;0m ERROR 09-09 23:53:19 [registry.py:424]   File "/usr/local/lib/python3.12/dist-packages/vllm/model_executor/model_loader/bitsandbytes_loader.py", line 24, in <module>
�[1;36m(APIServer pid=48796)�[0;0m ERROR 09-09 23:53:19 [registry.py:424]     from vllm.model_executor.layers.fused_moe import FusedMoE
�[1;36m(APIServer pid=48796)�[0;0m ERROR 09-09 23:53:19 [registry.py:424]   File "/usr/local/lib/python3.12/dist-packages/vllm/model_executor/layers/fused_moe/__init__.py", line 8, in <module>
�[1;36m(APIServer pid=48796)�[0;0m ERROR 09-09 23:53:19 [registry.py:424]     from vllm.model_executor.layers.fused_moe.layer import (
�[1;36m(APIServer pid=48796)�[0;0m ERROR 09-09 23:53:19 [registry.py:424]   File "/usr/local/lib/python3.12/dist-packages/vllm/model_executor/layers/fused_moe/layer.py", line 26, in <module>
�[1;36m(APIServer pid=48796)�[0;0m ERROR 09-09 23:53:19 [registry.py:424]     from vllm.model_executor.layers.fused_moe.modular_kernel import (
�[1;36m(APIServer pid=48796)�[0;0m ERROR 09-09 23:53:19 [registry.py:424]   File "/usr/local/lib/python3.12/dist-packages/vllm/model_executor/layers/fused_moe/modular_kernel.py", line 13, in <module>
�[1;36m(APIServer pid=48796)�[0;0m ERROR 09-09 23:53:19 [registry.py:424]     from vllm.model_executor.layers.fused_moe.utils import (  # yapf: disable
�[1;36m(APIServer pid=48796)�[0;0m ERROR 09-09 23:53:19 [registry.py:424]   File "/usr/local/lib/python3.12/dist-packages/vllm/model_executor/layers/fused_moe/utils.py", line 9, in <module>
�[1;36m(APIServer pid=48796)�[0;0m ERROR 09-09 23:53:19 [registry.py:424]     from vllm.model_executor.layers.quantization.utils.fp8_utils import (
�[1;36m(APIServer pid=48796)�[0;0m ERROR 09-09 23:53:19 [registry.py:424]   File "/usr/local/lib/python3.12/dist-packages/vllm/model_executor/layers/quantization/utils/fp8_utils.py", line 18, in <module>
�[1;36m(APIServer pid=48796)�[0;0m ERROR 09-09 23:53:19 [registry.py:424]     from vllm.model_executor.layers.quantization.utils.w8a8_utils import (
�[1;36m(APIServer pid=48796)�[0;0m ERROR 09-09 23:53:19 [registry.py:424]   File "/usr/local/lib/python3.12/dist-packages/vllm/model_executor/layers/quantization/utils/w8a8_utils.py", line 70, in <module>
�[1;36m(APIServer pid=48796)�[0;0m ERROR 09-09 23:53:19 [registry.py:424]     CUTLASS_FP8_SUPPORTED = cutlass_fp8_supported()
�[1;36m(APIServer pid=48796)�[0;0m ERROR 09-09 23:53:19 [registry.py:424]                             ^^^^^^^^^^^^^^^^^^^^^^^
�[1;36m(APIServer pid=48796)�[0;0m ERROR 09-09 23:53:19 [registry.py:424]   File "/usr/local/lib/python3.12/dist-packages/vllm/model_executor/layers/quantization/utils/w8a8_utils.py", line 44, in cutlass_fp8_supported
�[1;36m(APIServer pid=48796)�[0;0m ERROR 09-09 23:53:19 [registry.py:424]     capability_tuple = current_platform.get_device_capability()
�[1;36m(APIServer pid=48796)�[0;0m ERROR 09-09 23:53:19 [registry.py:424]                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
�[1;36m(APIServer pid=48796)�[0;0m ERROR 09-09 23:53:19 [registry.py:424]   File "/usr/local/lib/python3.12/dist-packages/vllm/platforms/cuda.py", line 46, in wrapper
�[1;36m(APIServer pid=48796)�[0;0m ERROR 09-09 23:53:19 [registry.py:424]     return fn(*args, **kwargs)
�[1;36m(APIServer pid=48796)�[0;0m ERROR 09-09 23:53:19 [registry.py:424]            ^^^^^^^^^^^^^^^^^^^
�[1;36m(APIServer pid=48796)�[0;0m ERROR 09-09 23:53:19 [registry.py:424]   File "/usr/local/lib/python3.12/dist-packages/vllm/platforms/cuda.py", line 525, in get_device_capability
�[1;36m(APIServer pid=48796)�[0;0m ERROR 09-09 23:53:19 [registry.py:424]     handle = pynvml.nvmlDeviceGetHandleByIndex(physical_device_id)
�[1;36m(APIServer pid=48796)�[0;0m ERROR 09-09 23:53:19 [registry.py:424]              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
�[1;36m(APIServer pid=48796)�[0;0m ERROR 09-09 23:53:19 [registry.py:424]   File "/usr/local/lib/python3.12/dist-packages/vllm/third_party/pynvml.py", line 2609, in nvmlDeviceGetHandleByIndex
�[1;36m(APIServer pid=48796)�[0;0m ERROR 09-09 23:53:19 [registry.py:424]     _nvmlCheckReturn(ret)
�[1;36m(APIServer pid=48796)�[0;0m ERROR 09-09 23:53:19 [registry.py:424]   File "/usr/local/lib/python3.12/dist-packages/vllm/third_party/pynvml.py", line 1047, in _nvmlCheckReturn
�[1;36m(APIServer pid=48796)�[0;0m ERROR 09-09 23:53:19 [registry.py:424]     raise NVMLError(ret)
�[1;36m(APIServer pid=48796)�[0;0m ERROR 09-09 23:53:19 [registry.py:424] vllm.third_party.pynvml.NVMLError_InvalidArgument: Invalid Argument
�[1;36m(APIServer pid=48796)�[0;0m ERROR 09-09 23:53:19 [registry.py:424] 


Before submitting a new issue...

  • Make sure you already searched for relevant issues, and asked the chatbot living at the bottom right corner of the documentation page, which can answer lots of frequently asked questions.

Metadata

Metadata

Assignees

No one assigned

    Labels

    rayanything related with rayusageHow to use vllm

    Type

    No type

    Projects

    Status

    Non-Bugs

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions