Skip to content

[Bug]: internVL3.5 38B not working in vlllm 0.10.2 #25227

@dlopes78

Description

@dlopes78

Your current environment

The output of python collect_env.py
/usr/local/lib/python3.12/dist-packages/torch/cuda/__init__.py:63: FutureWarning: The pynvml package is deprecated. Please install nvidia-ml-py instead. If you did not install pynvml directly, please report this to the maintainers of the package that installed pynvml for you.
  import pynvml  # type: ignore[import]
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.8.0+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-5.10.192-183.736.amzn2.x86_64-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 A100-SXM4-80GB
GPU 1: NVIDIA A100-SXM4-80GB
GPU 2: NVIDIA A100-SXM4-80GB
GPU 3: NVIDIA A100-SXM4-80GB
GPU 4: NVIDIA A100-SXM4-80GB
GPU 5: NVIDIA A100-SXM4-80GB
GPU 6: NVIDIA A100-SXM4-80GB
GPU 7: NVIDIA A100-SXM4-80GB

Nvidia driver version        : 550.144.03
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, 48 bits virtual
Byte Order:                         Little Endian
CPU(s):                             96
On-line CPU(s) list:                0-95
Vendor ID:                          GenuineIntel
Model name:                         Intel(R) Xeon(R) Platinum 8275CL CPU @ 3.00GHz
CPU family:                         6
Model:                              85
Thread(s) per core:                 2
Core(s) per socket:                 24
Socket(s):                          2
Stepping:                           7
BogoMIPS:                           6000.00
Flags:                              fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss ht syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon rep_good nopl xtopology nonstop_tsc cpuid aperfmperf tsc_known_freq pni pclmulqdq monitor ssse3 fma cx16 pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm abm 3dnowprefetch invpcid_single pti fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid mpx avx512f avx512dq rdseed adx smap clflushopt clwb avx512cd avx512bw avx512vl xsaveopt xsavec xgetbv1 xsaves ida arat pku ospke
Hypervisor vendor:                  KVM
Virtualization type:                full
L1d cache:                          1.5 MiB (48 instances)
L1i cache:                          1.5 MiB (48 instances)
L2 cache:                           48 MiB (48 instances)
L3 cache:                           71.5 MiB (2 instances)
NUMA node(s):                       2
NUMA node0 CPU(s):                  0-23,48-71
NUMA node1 CPU(s):                  24-47,72-95
Vulnerability Gather data sampling: Unknown: Dependent on hypervisor status
Vulnerability Itlb multihit:        KVM: Mitigation: VMX unsupported
Vulnerability L1tf:                 Mitigation; PTE Inversion
Vulnerability Mds:                  Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown
Vulnerability Meltdown:             Mitigation; PTI
Vulnerability Mmio stale data:      Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown
Vulnerability Retbleed:             Vulnerable
Vulnerability Spec rstack overflow: Not affected
Vulnerability Spec store bypass:    Vulnerable
Vulnerability Spectre v1:           Mitigation; usercopy/swapgs barriers and __user pointer sanitization
Vulnerability Spectre v2:           Mitigation; Retpolines, STIBP disabled, RSB filling
Vulnerability Srbds:                Not affected
Vulnerability Tsx async abort:      Not affected

==============================
Versions of relevant libraries
==============================
[pip3] flashinfer-python==0.3.0
[pip3] numpy==2.2.6
[pip3] nvidia-cublas-cu12==12.8.4.1
[pip3] nvidia-cuda-cupti-cu12==12.8.90
[pip3] nvidia-cuda-nvrtc-cu12==12.8.93
[pip3] nvidia-cuda-runtime-cu12==12.8.90
[pip3] nvidia-cudnn-cu12==9.10.2.21
[pip3] nvidia-cudnn-frontend==1.14.1
[pip3] nvidia-cufft-cu12==11.3.3.83
[pip3] nvidia-cufile-cu12==1.13.1.3
[pip3] nvidia-curand-cu12==10.3.9.90
[pip3] nvidia-cusolver-cu12==11.7.3.90
[pip3] nvidia-cusparse-cu12==12.5.8.93
[pip3] nvidia-cusparselt-cu12==0.7.1
[pip3] nvidia-ml-py==13.580.82
[pip3] nvidia-nccl-cu12==2.27.3
[pip3] nvidia-nvjitlink-cu12==12.8.93
[pip3] nvidia-nvtx-cu12==12.8.90
[pip3] pynvml==13.0.1
[pip3] pyzmq==27.1.0
[pip3] torch==2.8.0+cu128
[pip3] torchaudio==2.8.0+cu128
[pip3] torchvision==0.23.0+cu128
[pip3] transformers==4.56.1
[pip3] triton==3.4.0
[conda] Could not collect

==============================
         vLLM Info
==============================
ROCM Version                 : Could not collect
vLLM Version                 : 0.10.2
vLLM Build Flags:
  CUDA Archs: Not Set; ROCm: Disabled
GPU Topology:
  	GPU0	GPU1	GPU2	GPU3	GPU4	GPU5	GPU6	GPU7	CPU Affinity	NUMA Affinity	GPU NUMA ID
GPU0	 X 	NV12	NV12	NV12	NV12	NV12	NV12	NV12	0-23,48-71	0		N/A
GPU1	NV12	 X 	NV12	NV12	NV12	NV12	NV12	NV12	0-23,48-71	0		N/A
GPU2	NV12	NV12	 X 	NV12	NV12	NV12	NV12	NV12	0-23,48-71	0		N/A
GPU3	NV12	NV12	NV12	 X 	NV12	NV12	NV12	NV12	0-23,48-71	0		N/A
GPU4	NV12	NV12	NV12	NV12	 X 	NV12	NV12	NV12	24-47,72-95	1		N/A
GPU5	NV12	NV12	NV12	NV12	NV12	 X 	NV12	NV12	24-47,72-95	1		N/A
GPU6	NV12	NV12	NV12	NV12	NV12	NV12	 X 	NV12	24-47,72-95	1		N/A
GPU7	NV12	NV12	NV12	NV12	NV12	NV12	NV12	 X 	24-47,72-95	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
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
CUDA_HOME=/usr/local/cuda
CUDA_HOME=/usr/local/cuda
PYTORCH_NVML_BASED_CUDA_CHECK=1
TORCHINDUCTOR_COMPILE_THREADS=1
CUDA_MODULE_LOADING=LAZY

🐛 Describe the bug

I was able to start vllm server for InternVL 3.5 38B in 0.10.1; for latest release 0.10.2 (where video support for this model should be working), vllm server crashes:

python3 -m vllm.entrypoints.openai.api_server --served-model-name internvl-35-38b --model internvl3538b --tensor-parallel-size 4 --gpu-memory-utilization 0.95 --max-seq-len-to-capture 8192 --trust-remote-code --limit-mm-per-prompt '{"image":5, "video": 1}' --disable-log-requests --enable-chunked-prefill

...
ckages/torch/nn/modules/module.py", line 1773, in _wrapped_call_impl
(Worker_TP0 pid=411) ERROR 09-18 20:37:55 [multiproc_executor.py:654] return self._call_impl(*args, **kwargs)
(Worker_TP0 pid=411) ERROR 09-18 20:37:55 [multiproc_executor.py:654] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
(Worker_TP0 pid=411) ERROR 09-18 20:37:55 [multiproc_executor.py:654] File "/usr/local/lib/python3.12/dist-packages/torch/nn/modules/module.py", line 1784, in _call_impl
(Worker_TP0 pid=411) ERROR 09-18 20:37:55 [multiproc_executor.py:654] return forward_call(*args, **kwargs)
(Worker_TP0 pid=411) ERROR 09-18 20:37:55 [multiproc_executor.py:654] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
(Worker_TP0 pid=411) ERROR 09-18 20:37:55 [multiproc_executor.py:654] File "/usr/local/lib/python3.12/dist-packages/vllm/attention/layer.py", line 383, in forward
(Worker_TP0 pid=411) ERROR 09-18 20:37:55 [multiproc_executor.py:654] bsz, q_len, _ = query.size()
(Worker_TP0 pid=411) ERROR 09-18 20:37:55 [multiproc_executor.py:654] ^^^^^^^^^^^^^
(Worker_TP0 pid=411) ERROR 09-18 20:37:55 [multiproc_executor.py:654] ValueError: too many values to unpack (expected 3)
(Worker_TP0 pid=411) ERROR 09-18 20:37:55 [multiproc_executor.py:654] Traceback (most recent call last):
(Worker_TP0 pid=411) ERROR 09-18 20:37:55 [multiproc_executor.py:654] File "/usr/local/lib/python3.12/dist-packages/vllm/v1/executor/multiproc_executor.py", line 649, in worker_busy_loop
(Worker_TP0 pid=411) ERROR 09-18 20:37:55 [multiproc_executor.py:654] output = func(*args, **kwargs)
(Worker_TP0 pid=411) ERROR 09-18 20:37:55 [multiproc_executor.py:654] ^^^^^^^^^^^^^^^^^^^^^
(Worker_TP0 pid=411) ERROR 09-18 20:37:55 [multiproc_executor.py:654] File "/usr/local/lib/python3.12/dist-packages/torch/utils/_contextlib.py", line 120, in decorate_context
(Worker_TP0 pid=411) ERROR 09-18 20:37:55 [multiproc_executor.py:654] return func(*args, **kwargs)
(Worker_TP0 pid=411) ERROR 09-18 20:37:55 [multiproc_executor.py:654] ^^^^^^^^^^^^^^^^^^^^^
(Worker_TP0 pid=411) ERROR 09-18 20:37:55 [multiproc_executor.py:654] File "/usr/local/lib/python3.12/dist-packages/vllm/v1/worker/gpu_worker.py", line 263, in determine_available_memory
(Worker_TP0 pid=411) ERROR 09-18 20:37:55 [multiproc_executor.py:654] self.model_runner.profile_run()
(Worker_TP0 pid=411) ERROR 09-18 20:37:55 [multiproc_executor.py:654] File "/usr/local/lib/python3.12/dist-packages/vllm/v1/worker/gpu_model_runner.py", line 3017, in profile_run
(Worker_TP0 pid=411) ERROR 09-18 20:37:55 [multiproc_executor.py:654] self.model.get_multimodal_embeddings(
(Worker_TP0 pid=411) ERROR 09-18 20:37:55 [multiproc_executor.py:654] File "/usr/local/lib/python3.12/dist-packages/vllm/model_executor/models/internvl.py", line 1331, in get_multimodal_embeddings
(Worker_TP0 pid=411) ERROR 09-18 20:37:55 [multiproc_executor.py:654] video_embeddings = self._process_image_input(video_input)
(Worker_TP0 pid=411) ERROR 09-18 20:37:55 [multiproc_executor.py:654] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
(Worker_TP0 pid=411) ERROR 09-18 20:37:55 [multiproc_executor.py:654] File "/usr/local/lib/python3.12/dist-packages/vllm/model_executor/models/internvl.py", line 1264, in _process_image_input
(Worker_TP0 pid=411) ERROR 09-18 20:37:55 [multiproc_executor.py:654] image_embeds = self.extract_feature(image_input["pixel_values_flat"])
(Worker_TP0 pid=411) ERROR 09-18 20:37:55 [multiproc_executor.py:654] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
(Worker_TP0 pid=411) ERROR 09-18 20:37:55 [multiproc_executor.py:654] File "/usr/local/lib/python3.12/dist-packages/vllm/model_executor/models/internvl.py", line 1154, in extract_feature
(Worker_TP0 pid=411) ERROR 09-18 20:37:55 [multiproc_executor.py:654] vit_embeds = self.vision_model(pixel_values=pixel_values)
(Worker_TP0 pid=411) ERROR 09-18 20:37:55 [multiproc_executor.py:654] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
(Worker_TP0 pid=411) ERROR 09-18 20:37:55 [multiproc_executor.py:654] File "/usr/local/lib/python3.12/dist-packages/torch/nn/modules/module.py", line 1773, in _wrapped_call_impl
(Worker_TP0 pid=411) ERROR 09-18 20:37:55 [multiproc_executor.py:654] return self._call_impl(*args, **kwargs)
(Worker_TP0 pid=411) ERROR 09-18 20:37:55 [multiproc_executor.py:654] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
(Worker_TP0 pid=411) ERROR 09-18 20:37:55 [multiproc_executor.py:654] File "/usr/local/lib/python3.12/dist-packages/torch/nn/modules/module.py", line 1784, in _call_impl
(Worker_TP0 pid=411) ERROR 09-18 20:37:55 [multiproc_executor.py:654] return forward_call(*args, **kwargs)
(Worker_TP0 pid=411) ERROR 09-18 20:37:55 [multiproc_executor.py:654] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
(Worker_TP0 pid=411) ERROR 09-18 20:37:55 [multiproc_executor.py:654] File "/usr/local/lib/python3.12/dist-packages/vllm/model_executor/models/intern_vit.py", line 467, in forward
(Worker_TP0 pid=411) ERROR 09-18 20:37:55 [multiproc_executor.py:654] encoder_outputs = self.encoder(inputs_embeds=hidden_states)
(Worker_TP0 pid=411) ERROR 09-18 20:37:55 [multiproc_executor.py:654] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
(Worker_TP0 pid=411) ERROR 09-18 20:37:55 [multiproc_executor.py:654] File "/usr/local/lib/python3.12/dist-packages/torch/nn/modules/module.py", line 1773, in _wrapped_call_impl
(Worker_TP0 pid=411) ERROR 09-18 20:37:55 [multiproc_executor.py:654] return self._call_impl(*args, **kwargs)
(Worker_TP0 pid=411) ERROR 09-18 20:37:55 [multiproc_executor.py:654] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
(Worker_TP0 pid=411) ERROR 09-18 20:37:55 [multiproc_executor.py:654] File "/usr/local/lib/python3.12/dist-packages/torch/nn/modules/module.py", line 1784, in _call_impl
(Worker_TP0 pid=411) ERROR 09-18 20:37:55 [multiproc_executor.py:654] return forward_call(*args, **kwargs)
(Worker_TP0 pid=411) ERROR 09-18 20:37:55 [multiproc_executor.py:654] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
(Worker_TP0 pid=411) ERROR 09-18 20:37:55 [multiproc_executor.py:654] File "/usr/local/lib/python3.12/dist-packages/vllm/model_executor/models/intern_vit.py", line 413, in forward
(Worker_TP0 pid=411) ERROR 09-18 20:37:55 [multiproc_executor.py:654] hidden_states = encoder_layer(hidden_states)
(Worker_TP0 pid=411) ERROR 09-18 20:37:55 [multiproc_executor.py:654] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
(Worker_TP0 pid=411) ERROR 09-18 20:37:55 [multiproc_executor.py:654] File "/usr/local/lib/python3.12/dist-packages/torch/nn/modules/module.py", line 1773, in _wrapped_call_impl
(Worker_TP0 pid=411) ERROR 09-18 20:37:55 [multiproc_executor.py:654] return self._call_impl(*args, **kwargs)
(Worker_TP0 pid=411) ERROR 09-18 20:37:55 [multiproc_executor.py:654] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
(Worker_TP0 pid=411) ERROR 09-18 20:37:55 [multiproc_executor.py:654] File "/usr/local/lib/python3.12/dist-packages/torch/nn/modules/module.py", line 1784, in _call_impl
(Worker_TP0 pid=411) ERROR 09-18 20:37:55 [multiproc_executor.py:654] return forward_call(*args, **kwargs)
(Worker_TP0 pid=411) ERROR 09-18 20:37:55 [multiproc_executor.py:654] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
(Worker_TP0 pid=411) ERROR 09-18 20:37:55 [multiproc_executor.py:654] File "/usr/local/lib/python3.12/dist-packages/vllm/model_executor/models/intern_vit.py", line 372, in forward
(Worker_TP0 pid=411) ERROR 09-18 20:37:55 [multiproc_executor.py:654] hidden_states = hidden_states + self.attn(
(Worker_TP0 pid=411) ERROR 09-18 20:37:55 [multiproc_executor.py:654] ^^^^^^^^^^
(Worker_TP0 pid=411) ERROR 09-18 20:37:55 [multiproc_executor.py:654] File "/usr/local/lib/python3.12/dist-packages/torch/nn/modules/module.py", line 1773, in _wrapped_call_impl
(Worker_TP0 pid=411) ERROR 09-18 20:37:55 [multiproc_executor.py:654] return self._call_impl(*args, **kwargs)
(Worker_TP0 pid=411) ERROR 09-18 20:37:55 [multiproc_executor.py:654] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
(Worker_TP0 pid=411) ERROR 09-18 20:37:55 [multiproc_executor.py:654] File "/usr/local/lib/python3.12/dist-packages/torch/nn/modules/module.py", line 1784, in _call_impl
(Worker_TP0 pid=411) ERROR 09-18 20:37:55 [multiproc_executor.py:654] return forward_call(*args, **kwargs)
(Worker_TP0 pid=411) ERROR 09-18 20:37:55 [multiproc_executor.py:654] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
(Worker_TP0 pid=411) ERROR 09-18 20:37:55 [multiproc_executor.py:654] File "/usr/local/lib/python3.12/dist-packages/vllm/model_executor/models/intern_vit.py", line 277, in forward
(Worker_TP0 pid=411) ERROR 09-18 20:37:55 [multiproc_executor.py:654] x = self.attn(q, k, v)
(Worker_TP0 pid=411) ERROR 09-18 20:37:55 [multiproc_executor.py:654] ^^^^^^^^^^^^^^^^^^
(Worker_TP0 pid=411) ERROR 09-18 20:37:55 [multiproc_executor.py:654] File "/usr/local/lib/python3.12/dist-packages/torch/nn/modules/module.py", line 1773, in _wrapped_call_impl
(Worker_TP0 pid=411) ERROR 09-18 20:37:55 [multiproc_executor.py:654] return self._call_impl(*args, **kwargs)
(Worker_TP0 pid=411) ERROR 09-18 20:37:55 [multiproc_executor.py:654] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
(Worker_TP0 pid=411) ERROR 09-18 20:37:55 [multiproc_executor.py:654] File "/usr/local/lib/python3.12/dist-packages/torch/nn/modules/module.py", line 1784, in _call_impl
(Worker_TP0 pid=411) ERROR 09-18 20:37:55 [multiproc_executor.py:654] return forward_call(*args, **kwargs)
(Worker_TP0 pid=411) ERROR 09-18 20:37:55 [multiproc_executor.py:654] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
(Worker_TP0 pid=411) ERROR 09-18 20:37:55 [multiproc_executor.py:654] File "/usr/local/lib/python3.12/dist-packages/vllm/attention/layer.py", line 383, in forward
(Worker_TP0 pid=411) ERROR 09-18 20:37:55 [multiproc_executor.py:654] bsz, q_len, _ = query.size()
(Worker_TP0 pid=411) ERROR 09-18 20:37:55 [multiproc_executor.py:654] ^^^^^^^^^^^^^
(Worker_TP0 pid=411) ERROR 09-18 20:37:55 [multiproc_executor.py:654] ValueError: too many values to unpack (expected 3)
(Worker_TP0 pid=411) ERROR 09-18 20:37:55 [multiproc_executor.py:654]
(EngineCore_DP0 pid=275) ERROR 09-18 20:37:55 [core.py:718] EngineCore failed to start.
(EngineCore_DP0 pid=275) ERROR 09-18 20:37:55 [core.py:718] Traceback (most recent call last):
(EngineCore_DP0 pid=275) ERROR 09-18 20:37:55 [core.py:718] File "/usr/local/lib/python3.12/dist-packages/vllm/v1/engine/core.py", line 709, in run_engine_core
(EngineCore_DP0 pid=275) ERROR 09-18 20:37:55 [core.py:718] engine_core = EngineCoreProc(*args, **kwargs)
(EngineCore_DP0 pid=275) ERROR 09-18 20:37:55 [core.py:718] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
(EngineCore_DP0 pid=275) ERROR 09-18 20:37:55 [core.py:718] File "/usr/local/lib/python3.12/dist-packages/vllm/v1/engine/core.py", line 505, in init
(EngineCore_DP0 pid=275) ERROR 09-18 20:37:55 [core.py:718] super().init(vllm_config, executor_class, log_stats,
(EngineCore_DP0 pid=275) ERROR 09-18 20:37:55 [core.py:718] File "/usr/local/lib/python3.12/dist-packages/vllm/v1/engine/core.py", line 91, in init
(EngineCore_DP0 pid=275) ERROR 09-18 20:37:55 [core.py:718] self._initialize_kv_caches(vllm_config)
(EngineCore_DP0 pid=275) ERROR 09-18 20:37:55 [core.py:718] File "/usr/local/lib/python3.12/dist-packages/vllm/v1/engine/core.py", line 183, in _initialize_kv_caches
(EngineCore_DP0 pid=275) ERROR 09-18 20:37:55 [core.py:718] self.model_executor.determine_available_memory())
(EngineCore_DP0 pid=275) ERROR 09-18 20:37:55 [core.py:718] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
(EngineCore_DP0 pid=275) ERROR 09-18 20:37:55 [core.py:718] File "/usr/local/lib/python3.12/dist-packages/vllm/v1/executor/abstract.py", line 84, in determine_available_memory
(EngineCore_DP0 pid=275) ERROR 09-18 20:37:55 [core.py:718] return self.collective_rpc("determine_available_memory")
(EngineCore_DP0 pid=275) ERROR 09-18 20:37:55 [core.py:718] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
(EngineCore_DP0 pid=275) ERROR 09-18 20:37:55 [core.py:718] File "/usr/local/lib/python3.12/dist-packages/vllm/v1/executor/multiproc_executor.py", line 259, in collective_rpc
(EngineCore_DP0 pid=275) ERROR 09-18 20:37:55 [core.py:718] result = get_response(w, dequeue_timeout,
(EngineCore_DP0 pid=275) ERROR 09-18 20:37:55 [core.py:718] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
(EngineCore_DP0 pid=275) ERROR 09-18 20:37:55 [core.py:718] File "/usr/local/lib/python3.12/dist-packages/vllm/v1/executor/multiproc_executor.py", line 243, in get_response
(EngineCore_DP0 pid=275) ERROR 09-18 20:37:55 [core.py:718] raise RuntimeError(
(EngineCore_DP0 pid=275) ERROR 09-18 20:37:55 [core.py:718] RuntimeError: Worker failed with error 'too many values to unpack (expected 3)', please check the stack trace above for the root cause

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

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions