vllm - ✅(Solved) Fix [Bug]: Enabling cudagraph_mm_encoder results in ModuleNotFoundError [2 pull requests, 1 comments, 1 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
vllm-project/vllm#38982Fetched 2026-04-08 02:44:33
View on GitHub
Comments
1
Participants
1
Timeline
10
Reactions
0
Author
Participants
Timeline (top)
cross-referenced ×2mentioned ×2subscribed ×2closed ×1

Error Message

(EngineCore pid=45) ERROR 04-04 12:15:46 [core.py:1108] EngineCore failed to start. (EngineCore pid=45) ERROR 04-04 12:15:46 [core.py:1108] Traceback (most recent call last): (EngineCore pid=45) ERROR 04-04 12:15:46 [core.py:1108] File "/usr/local/lib/python3.12/dist-packages/vllm/v1/engine/core.py", line 1082, in run_engine_core (EngineCore pid=45) ERROR 04-04 12:15:46 [core.py:1108] engine_core = EngineCoreProc(*args, engine_index=dp_rank, **kwargs) (EngineCore pid=45) ERROR 04-04 12:15:46 [core.py:1108] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ (EngineCore pid=45) ERROR 04-04 12:15:46 [core.py:1108] File "/usr/local/lib/python3.12/dist-packages/vllm/tracing/otel.py", line 178, in sync_wrapper (EngineCore pid=45) ERROR 04-04 12:15:46 [core.py:1108] return func(*args, **kwargs) (EngineCore pid=45) ERROR 04-04 12:15:46 [core.py:1108] ^^^^^^^^^^^^^^^^^^^^^ (EngineCore pid=45) ERROR 04-04 12:15:46 [core.py:1108] File "/usr/local/lib/python3.12/dist-packages/vllm/v1/engine/core.py", line 848, in init (EngineCore pid=45) ERROR 04-04 12:15:46 [core.py:1108] super().init( (EngineCore pid=45) ERROR 04-04 12:15:46 [core.py:1108] File "/usr/local/lib/python3.12/dist-packages/vllm/v1/engine/core.py", line 124, in init (EngineCore pid=45) ERROR 04-04 12:15:46 [core.py:1108] kv_cache_config = self._initialize_kv_caches(vllm_config) (EngineCore pid=45) ERROR 04-04 12:15:46 [core.py:1108] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ (EngineCore pid=45) ERROR 04-04 12:15:46 [core.py:1108] File "/usr/local/lib/python3.12/dist-packages/vllm/tracing/otel.py", line 178, in sync_wrapper (EngineCore pid=45) ERROR 04-04 12:15:46 [core.py:1108] return func(*args, **kwargs) (EngineCore pid=45) ERROR 04-04 12:15:46 [core.py:1108] ^^^^^^^^^^^^^^^^^^^^^ (EngineCore pid=45) ERROR 04-04 12:15:46 [core.py:1108] File "/usr/local/lib/python3.12/dist-packages/vllm/v1/engine/core.py", line 280, in _initialize_kv_caches (EngineCore pid=45) ERROR 04-04 12:15:46 [core.py:1108] self.model_executor.initialize_from_config(kv_cache_configs) (EngineCore pid=45) ERROR 04-04 12:15:46 [core.py:1108] File "/usr/local/lib/python3.12/dist-packages/vllm/v1/executor/abstract.py", line 118, in initialize_from_config (EngineCore pid=45) ERROR 04-04 12:15:46 [core.py:1108] compilation_times: list[float] = self.collective_rpc("compile_or_warm_up_model") (EngineCore pid=45) ERROR 04-04 12:15:46 [core.py:1108] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ (EngineCore pid=45) ERROR 04-04 12:15:46 [core.py:1108] File "/usr/local/lib/python3.12/dist-packages/vllm/v1/executor/uniproc_executor.py", line 80, in collective_rpc (EngineCore pid=45) ERROR 04-04 12:15:46 [core.py:1108] result = run_method(self.driver_worker, method, args, kwargs) (EngineCore pid=45) ERROR 04-04 12:15:46 [core.py:1108] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ (EngineCore pid=45) ERROR 04-04 12:15:46 [core.py:1108] File "/usr/local/lib/python3.12/dist-packages/vllm/v1/serial_utils.py", line 510, in run_method (EngineCore pid=45) ERROR 04-04 12:15:46 [core.py:1108] return func(*args, **kwargs) (EngineCore pid=45) ERROR 04-04 12:15:46 [core.py:1108] ^^^^^^^^^^^^^^^^^^^^^ (EngineCore pid=45) ERROR 04-04 12:15:46 [core.py:1108] File "/usr/local/lib/python3.12/dist-packages/vllm/tracing/otel.py", line 178, in sync_wrapper (EngineCore pid=45) ERROR 04-04 12:15:46 [core.py:1108] return func(*args, **kwargs) (EngineCore pid=45) ERROR 04-04 12:15:46 [core.py:1108] ^^^^^^^^^^^^^^^^^^^^^ (EngineCore pid=45) ERROR 04-04 12:15:46 [core.py:1108] File "/usr/local/lib/python3.12/dist-packages/vllm/v1/worker/gpu_worker.py", line 588, in compile_or_warm_up_model (EngineCore pid=45) ERROR 04-04 12:15:46 [core.py:1108] cuda_graph_memory_bytes = self.model_runner.capture_model() (EngineCore pid=45) ERROR 04-04 12:15:46 [core.py:1108] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ (EngineCore pid=45) ERROR 04-04 12:15:46 [core.py:1108] File "/usr/local/lib/python3.12/dist-packages/vllm/tracing/otel.py", line 178, in sync_wrapper (EngineCore pid=45) ERROR 04-04 12:15:46 [core.py:1108] return func(*args, **kwargs) (EngineCore pid=45) ERROR 04-04 12:15:46 [core.py:1108] ^^^^^^^^^^^^^^^^^^^^^ (EngineCore pid=45) ERROR 04-04 12:15:46 [core.py:1108] File "/usr/local/lib/python3.12/dist-packages/vllm/v1/worker/gpu_model_runner.py", line 5984, in capture_model (EngineCore pid=45) ERROR 04-04 12:15:46 [core.py:1108] from vllm.v1.worker.gpu.mm.encoder_cudagraph import ( (EngineCore pid=45) ERROR 04-04 12:15:46 [core.py:1108] ModuleNotFoundError: No module named 'vllm.v1.worker.gpu.mm.encoder_cudagraph'

Fix Action

Fix / Workaround

============================== CPU Info

Architecture: x86_64 CPU op-mode(s): 32-bit, 64-bit Address sizes: 48 bits physical, 48 bits virtual Byte Order: Little Endian CPU(s): 32 On-line CPU(s) list: 0-31 Vendor ID: AuthenticAMD Model name: AMD Ryzen 9 9950X 16-Core Processor CPU family: 26 Model: 68 Thread(s) per core: 2 Core(s) per socket: 16 Socket(s): 1 Stepping: 0 BogoMIPS: 8599.84 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm constant_tsc rep_good nopl tsc_reliable nonstop_tsc cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 movbe popcnt aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase bmi1 avx2 smep bmi2 erms invpcid avx512f avx512dq rdseed adx smap avx512ifma clflushopt clwb avx512cd sha_ni avx512bw avx512vl xsaveopt xsavec xgetbv1 xsaves avx_vnni avx512_bf16 clzero xsaveerptr arat npt nrip_save tsc_scale vmcb_clean flushbyasid decodeassists pausefilter pfthreshold v_vmsave_vmload avx512vbmi umip avx512_vbmi2 gfni vaes vpclmulqdq avx512_vnni avx512_bitalg avx512_vpopcntdq rdpid fsrm avx512_vp2intersect Virtualization: AMD-V Hypervisor vendor: Microsoft Virtualization type: full L1d cache: 768 KiB (16 instances) L1i cache: 512 KiB (16 instances) L2 cache: 16 MiB (16 instances) L3 cache: 32 MiB (1 instance) NUMA node(s): 1 NUMA node0 CPU(s): 0-31 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; Retpolines; IBPB conditional; IBRS_FW; STIBP always-on; RSB filling; PBRSB-eIBRS Not affected; BHI Not affected Vulnerability Srbds: Not affected Vulnerability Tsx async abort: Not affected

PR fix notes

PR #38997: [Bug] Fix Import paths for encoder_cudagraph modules

Description (problem / solution / changelog)

Purpose

The encoder_cudagraph and encoder_cudagraph_defs modules live at vllm/v1/worker/ but all imports referenced the non-existent path vllm.v1.worker.gpu.mm., causing a ModuleNotFoundError when enabling cudagraph_mm_encoder.

Fixes: #38982

Test Plan

  • Verified imports resolve: from vllm.v1.worker.encoder_cudagraph import EncoderCudaGraphManager
  • Ran pytest tests/v1/cudagraph/test_encoder_cudagraph.py — 18 passed, 7 skipped (GPU-only)
  • Serve a multimodal model (e.g. Qwen3.5-VL) with --compilation-config '{"cudagraph_mm_encoder": true}' on a GPU machine - I got lazy but if you need me to test this on GPUs I can

Test Result

 .venv/bin/python -c "from vllm.v1.worker.encoder_cudagraph import EncoderCudaGraphManager; print('encoder_cudagraph: OK')"
  .venv/bin/python -c "from vllm.v1.worker.encoder_cudagraph_defs import EncoderCudaGraphConfig; print('encoder_cudagraph_defs: OK')"
encoder_cudagraph: OK
encoder_cudagraph_defs: OK

Changed files

  • tests/v1/cudagraph/test_encoder_cudagraph.py (modified, +4/-4)
  • vllm/model_executor/models/interfaces.py (modified, +1/-1)
  • vllm/model_executor/models/qwen3_vl.py (modified, +3/-3)
  • vllm/v1/worker/encoder_cudagraph.py (modified, +1/-1)
  • vllm/v1/worker/gpu_model_runner.py (modified, +2/-2)

PR #39028: [Bugfix] Fix broken imports for encoder_cudagraph after partial revert

Description (problem / solution / changelog)

Summary

Fixes #38982

PR #38116 relocated encoder_cudagraph.py and encoder_cudagraph_defs.py into vllm/v1/worker/gpu/mm/. PR #38556 then moved them back to vllm/v1/worker/, but 9 import statements across 5 files were not updated and still reference the old vllm.v1.worker.gpu.mm.encoder_cudagraph[_defs] path.

This causes a ModuleNotFoundError when enabling cudagraph_mm_encoder:

ModuleNotFoundError: No module named 'vllm.v1.worker.gpu.mm.encoder_cudagraph'

Fix

Updated all stale import paths to point to the correct module locations:

FileStale Imports Fixed
vllm/v1/worker/gpu_model_runner.py2 (TYPE_CHECKING + runtime)
vllm/model_executor/models/interfaces.py1 (TYPE_CHECKING)
vllm/model_executor/models/qwen3_vl.py3 (runtime lazy imports)
vllm/v1/worker/encoder_cudagraph.py1 (self-referencing _defs)
tests/v1/cudagraph/test_encoder_cudagraph.py2 (test imports)

Verified that other vllm.v1.worker.gpu.mm.* imports (encoder_cache, encoder_runner, rope) are still valid — those files were not moved.

Test plan

  • grep -r "vllm.v1.worker.gpu.mm.encoder_cudagraph" returns zero results after fix
  • pytest tests/v1/cudagraph/test_encoder_cudagraph.py passes (requires GPU)
  • --compilation-config '{"cudagraph_mm_encoder": true}' no longer raises ModuleNotFoundError

🤖 Generated with Claude Code

Changed files

  • tests/v1/cudagraph/test_encoder_cudagraph.py (modified, +2/-2)
  • vllm/model_executor/models/interfaces.py (modified, +1/-1)
  • vllm/model_executor/models/qwen3_vl.py (modified, +3/-3)
  • vllm/v1/worker/encoder_cudagraph.py (modified, +1/-1)
  • vllm/v1/worker/gpu_model_runner.py (modified, +2/-2)

Code Example

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

==============================
       PyTorch Info
==============================
PyTorch version              : 2.10.0+cu130
Is debug build               : False
CUDA used to build PyTorch   : 13.0
ROCM used to build PyTorch   : N/A

==============================
      Python Environment
==============================
Python version               : 3.12.13 (main, Mar  4 2026, 09:23:07) [GCC 11.4.0] (64-bit runtime)
Python platform              : Linux-6.6.87.2-microsoft-standard-WSL2-x86_64-with-glibc2.35

==============================
       CUDA / GPU Info
==============================
Is CUDA available            : True
CUDA runtime version         : 13.0.88
CUDA_MODULE_LOADING set to   :
GPU models and configuration : GPU 0: NVIDIA GeForce RTX 5090
Nvidia driver version        : 591.86
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:                        48 bits physical, 48 bits virtual
Byte Order:                           Little Endian
CPU(s):                               32
On-line CPU(s) list:                  0-31
Vendor ID:                            AuthenticAMD
Model name:                           AMD Ryzen 9 9950X 16-Core Processor
CPU family:                           26
Model:                                68
Thread(s) per core:                   2
Core(s) per socket:                   16
Socket(s):                            1
Stepping:                             0
BogoMIPS:                             8599.84
Flags:                                fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm constant_tsc rep_good nopl tsc_reliable nonstop_tsc cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 movbe popcnt aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase bmi1 avx2 smep bmi2 erms invpcid avx512f avx512dq rdseed adx smap avx512ifma clflushopt clwb avx512cd sha_ni avx512bw avx512vl xsaveopt xsavec xgetbv1 xsaves avx_vnni avx512_bf16 clzero xsaveerptr arat npt nrip_save tsc_scale vmcb_clean flushbyasid decodeassists pausefilter pfthreshold v_vmsave_vmload avx512vbmi umip avx512_vbmi2 gfni vaes vpclmulqdq avx512_vnni avx512_bitalg avx512_vpopcntdq rdpid fsrm avx512_vp2intersect
Virtualization:                       AMD-V
Hypervisor vendor:                    Microsoft
Virtualization type:                  full
L1d cache:                            768 KiB (16 instances)
L1i cache:                            512 KiB (16 instances)
L2 cache:                             16 MiB (16 instances)
L3 cache:                             32 MiB (1 instance)
NUMA node(s):                         1
NUMA node0 CPU(s):                    0-31
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; Retpolines; IBPB conditional; IBRS_FW; STIBP always-on; RSB filling; PBRSB-eIBRS Not affected; BHI Not affected
Vulnerability Srbds:                  Not affected
Vulnerability Tsx async abort:        Not affected

==============================
Versions of relevant libraries
==============================
[pip3] flashinfer-python==0.6.6
[pip3] numpy==2.2.6
[pip3] nvidia-cublas==13.1.0.3
[pip3] nvidia-cuda-cupti==13.0.85
[pip3] nvidia-cuda-nvrtc==13.0.88
[pip3] nvidia-cuda-runtime==13.0.96
[pip3] nvidia-cudnn-cu13==9.15.1.9
[pip3] nvidia-cudnn-frontend==1.18.0
[pip3] nvidia-cufft==12.0.0.61
[pip3] nvidia-cufile==1.15.1.6
[pip3] nvidia-curand==10.4.0.35
[pip3] nvidia-cusolver==12.0.4.66
[pip3] nvidia-cusparse==12.6.3.3
[pip3] nvidia-cusparselt-cu13==0.8.0
[pip3] nvidia-cutlass-dsl==4.4.2
[pip3] nvidia-cutlass-dsl-libs-base==4.4.2
[pip3] nvidia-ml-py==13.595.45
[pip3] nvidia-nccl-cu13==2.28.9
[pip3] nvidia-nvjitlink==13.0.88
[pip3] nvidia-nvshmem-cu13==3.4.5
[pip3] nvidia-nvtx==13.0.85
[pip3] pyzmq==27.1.0
[pip3] torch==2.10.0+cu130
[pip3] torch_c_dlpack_ext==0.1.5
[pip3] torchaudio==2.10.0+cu130
[pip3] torchvision==0.25.0+cu130
[pip3] transformers==4.57.6
[pip3] triton==3.6.0
[conda] Could not collect

==============================
         vLLM Info
==============================
ROCM Version                 : Could not collect
vLLM Version                 : 0.19.0
vLLM Build Flags:
  CUDA Archs: 7.0 7.5 8.0 8.9 9.0 10.0 12.0; ROCm: Disabled
GPU Topology:
        GPU0    CPU Affinity    NUMA Affinity   GPU NUMA ID
GPU0     X                              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
NCCL_P2P_DISABLE=1
NVIDIA_REQUIRE_CUDA=cuda>=13.0 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>=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 brand=unknown,driver>=570,driver<571 brand=grid,driver>=570,driver<571 brand=tesla,driver>=570,driver<571 brand=nvidia,driver>=570,driver<571 brand=quadro,driver>=570,driver<571 brand=quadrortx,driver>=570,driver<571 brand=nvidiartx,driver>=570,driver<571 brand=vapps,driver>=570,driver<571 brand=vpc,driver>=570,driver<571 brand=vcs,driver>=570,driver<571 brand=vws,driver>=570,driver<571 brand=cloudgaming,driver>=570,driver<571 brand=unknown,driver>=575,driver<576 brand=grid,driver>=575,driver<576 brand=tesla,driver>=575,driver<576 brand=nvidia,driver>=575,driver<576 brand=quadro,driver>=575,driver<576 brand=quadrortx,driver>=575,driver<576 brand=nvidiartx,driver>=575,driver<576 brand=vapps,driver>=575,driver<576 brand=vpc,driver>=575,driver<576 brand=vcs,driver>=575,driver<576 brand=vws,driver>=575,driver<576 brand=cloudgaming,driver>=575,driver<576
TORCH_CUDA_ARCH_LIST=7.0 7.5 8.0 8.9 9.0 10.0 12.0
NVIDIA_DRIVER_CAPABILITIES=compute,utility
VLLM_USAGE_SOURCE=production-docker-image
CUDA_VERSION=13.0.1
VLLM_ENABLE_CUDA_COMPATIBILITY=0
LD_LIBRARY_PATH=/usr/local/nvidia/lib64:/usr/local/cuda/lib64:/usr/local/nvidia/lib:/usr/local/nvidia/lib64:/usr/local/cuda/lib64
OMP_NUM_THREADS=1
PYTORCH_NVML_BASED_CUDA_CHECK=1
TORCHINDUCTOR_COMPILE_THREADS=1
TORCHINDUCTOR_CACHE_DIR=/tmp/torchinductor_root

---

(EngineCore pid=45) ERROR 04-04 12:15:46 [core.py:1108] EngineCore failed to start.
(EngineCore pid=45) ERROR 04-04 12:15:46 [core.py:1108] Traceback (most recent call last):
(EngineCore pid=45) ERROR 04-04 12:15:46 [core.py:1108]   File "/usr/local/lib/python3.12/dist-packages/vllm/v1/engine/core.py", line 1082, in run_engine_core
(EngineCore pid=45) ERROR 04-04 12:15:46 [core.py:1108]     engine_core = EngineCoreProc(*args, engine_index=dp_rank, **kwargs)
(EngineCore pid=45) ERROR 04-04 12:15:46 [core.py:1108]                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
(EngineCore pid=45) ERROR 04-04 12:15:46 [core.py:1108]   File "/usr/local/lib/python3.12/dist-packages/vllm/tracing/otel.py", line 178, in sync_wrapper
(EngineCore pid=45) ERROR 04-04 12:15:46 [core.py:1108]     return func(*args, **kwargs)
(EngineCore pid=45) ERROR 04-04 12:15:46 [core.py:1108]            ^^^^^^^^^^^^^^^^^^^^^
(EngineCore pid=45) ERROR 04-04 12:15:46 [core.py:1108]   File "/usr/local/lib/python3.12/dist-packages/vllm/v1/engine/core.py", line 848, in __init__
(EngineCore pid=45) ERROR 04-04 12:15:46 [core.py:1108]     super().__init__(
(EngineCore pid=45) ERROR 04-04 12:15:46 [core.py:1108]   File "/usr/local/lib/python3.12/dist-packages/vllm/v1/engine/core.py", line 124, in __init__
(EngineCore pid=45) ERROR 04-04 12:15:46 [core.py:1108]     kv_cache_config = self._initialize_kv_caches(vllm_config)
(EngineCore pid=45) ERROR 04-04 12:15:46 [core.py:1108]                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
(EngineCore pid=45) ERROR 04-04 12:15:46 [core.py:1108]   File "/usr/local/lib/python3.12/dist-packages/vllm/tracing/otel.py", line 178, in sync_wrapper
(EngineCore pid=45) ERROR 04-04 12:15:46 [core.py:1108]     return func(*args, **kwargs)
(EngineCore pid=45) ERROR 04-04 12:15:46 [core.py:1108]            ^^^^^^^^^^^^^^^^^^^^^
(EngineCore pid=45) ERROR 04-04 12:15:46 [core.py:1108]   File "/usr/local/lib/python3.12/dist-packages/vllm/v1/engine/core.py", line 280, in _initialize_kv_caches
(EngineCore pid=45) ERROR 04-04 12:15:46 [core.py:1108]     self.model_executor.initialize_from_config(kv_cache_configs)
(EngineCore pid=45) ERROR 04-04 12:15:46 [core.py:1108]   File "/usr/local/lib/python3.12/dist-packages/vllm/v1/executor/abstract.py", line 118, in initialize_from_config
(EngineCore pid=45) ERROR 04-04 12:15:46 [core.py:1108]     compilation_times: list[float] = self.collective_rpc("compile_or_warm_up_model")
(EngineCore pid=45) ERROR 04-04 12:15:46 [core.py:1108]                                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
(EngineCore pid=45) ERROR 04-04 12:15:46 [core.py:1108]   File "/usr/local/lib/python3.12/dist-packages/vllm/v1/executor/uniproc_executor.py", line 80, in collective_rpc
(EngineCore pid=45) ERROR 04-04 12:15:46 [core.py:1108]     result = run_method(self.driver_worker, method, args, kwargs)
(EngineCore pid=45) ERROR 04-04 12:15:46 [core.py:1108]              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
(EngineCore pid=45) ERROR 04-04 12:15:46 [core.py:1108]   File "/usr/local/lib/python3.12/dist-packages/vllm/v1/serial_utils.py", line 510, in run_method
(EngineCore pid=45) ERROR 04-04 12:15:46 [core.py:1108]     return func(*args, **kwargs)
(EngineCore pid=45) ERROR 04-04 12:15:46 [core.py:1108]            ^^^^^^^^^^^^^^^^^^^^^
(EngineCore pid=45) ERROR 04-04 12:15:46 [core.py:1108]   File "/usr/local/lib/python3.12/dist-packages/vllm/tracing/otel.py", line 178, in sync_wrapper
(EngineCore pid=45) ERROR 04-04 12:15:46 [core.py:1108]     return func(*args, **kwargs)
(EngineCore pid=45) ERROR 04-04 12:15:46 [core.py:1108]            ^^^^^^^^^^^^^^^^^^^^^
(EngineCore pid=45) ERROR 04-04 12:15:46 [core.py:1108]   File "/usr/local/lib/python3.12/dist-packages/vllm/v1/worker/gpu_worker.py", line 588, in compile_or_warm_up_model
(EngineCore pid=45) ERROR 04-04 12:15:46 [core.py:1108]     cuda_graph_memory_bytes = self.model_runner.capture_model()
(EngineCore pid=45) ERROR 04-04 12:15:46 [core.py:1108]                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
(EngineCore pid=45) ERROR 04-04 12:15:46 [core.py:1108]   File "/usr/local/lib/python3.12/dist-packages/vllm/tracing/otel.py", line 178, in sync_wrapper
(EngineCore pid=45) ERROR 04-04 12:15:46 [core.py:1108]     return func(*args, **kwargs)
(EngineCore pid=45) ERROR 04-04 12:15:46 [core.py:1108]            ^^^^^^^^^^^^^^^^^^^^^
(EngineCore pid=45) ERROR 04-04 12:15:46 [core.py:1108]   File "/usr/local/lib/python3.12/dist-packages/vllm/v1/worker/gpu_model_runner.py", line 5984, in capture_model
(EngineCore pid=45) ERROR 04-04 12:15:46 [core.py:1108]     from vllm.v1.worker.gpu.mm.encoder_cudagraph import (
(EngineCore pid=45) ERROR 04-04 12:15:46 [core.py:1108] ModuleNotFoundError: No module named 'vllm.v1.worker.gpu.mm.encoder_cudagraph'
RAW_BUFFERClick to expand / collapse

Your current environment

vllm/vllm-openai:latest-cu130

<details> <summary>The output of <code>python collect_env.py</code></summary>
Collecting environment information...
==============================
        System Info
==============================
OS                           : Ubuntu 22.04.5 LTS (x86_64)
GCC version                  : (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0
Clang version                : Could not collect
CMake version                : Could not collect
Libc version                 : glibc-2.35

==============================
       PyTorch Info
==============================
PyTorch version              : 2.10.0+cu130
Is debug build               : False
CUDA used to build PyTorch   : 13.0
ROCM used to build PyTorch   : N/A

==============================
      Python Environment
==============================
Python version               : 3.12.13 (main, Mar  4 2026, 09:23:07) [GCC 11.4.0] (64-bit runtime)
Python platform              : Linux-6.6.87.2-microsoft-standard-WSL2-x86_64-with-glibc2.35

==============================
       CUDA / GPU Info
==============================
Is CUDA available            : True
CUDA runtime version         : 13.0.88
CUDA_MODULE_LOADING set to   :
GPU models and configuration : GPU 0: NVIDIA GeForce RTX 5090
Nvidia driver version        : 591.86
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:                        48 bits physical, 48 bits virtual
Byte Order:                           Little Endian
CPU(s):                               32
On-line CPU(s) list:                  0-31
Vendor ID:                            AuthenticAMD
Model name:                           AMD Ryzen 9 9950X 16-Core Processor
CPU family:                           26
Model:                                68
Thread(s) per core:                   2
Core(s) per socket:                   16
Socket(s):                            1
Stepping:                             0
BogoMIPS:                             8599.84
Flags:                                fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm constant_tsc rep_good nopl tsc_reliable nonstop_tsc cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 movbe popcnt aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase bmi1 avx2 smep bmi2 erms invpcid avx512f avx512dq rdseed adx smap avx512ifma clflushopt clwb avx512cd sha_ni avx512bw avx512vl xsaveopt xsavec xgetbv1 xsaves avx_vnni avx512_bf16 clzero xsaveerptr arat npt nrip_save tsc_scale vmcb_clean flushbyasid decodeassists pausefilter pfthreshold v_vmsave_vmload avx512vbmi umip avx512_vbmi2 gfni vaes vpclmulqdq avx512_vnni avx512_bitalg avx512_vpopcntdq rdpid fsrm avx512_vp2intersect
Virtualization:                       AMD-V
Hypervisor vendor:                    Microsoft
Virtualization type:                  full
L1d cache:                            768 KiB (16 instances)
L1i cache:                            512 KiB (16 instances)
L2 cache:                             16 MiB (16 instances)
L3 cache:                             32 MiB (1 instance)
NUMA node(s):                         1
NUMA node0 CPU(s):                    0-31
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; Retpolines; IBPB conditional; IBRS_FW; STIBP always-on; RSB filling; PBRSB-eIBRS Not affected; BHI Not affected
Vulnerability Srbds:                  Not affected
Vulnerability Tsx async abort:        Not affected

==============================
Versions of relevant libraries
==============================
[pip3] flashinfer-python==0.6.6
[pip3] numpy==2.2.6
[pip3] nvidia-cublas==13.1.0.3
[pip3] nvidia-cuda-cupti==13.0.85
[pip3] nvidia-cuda-nvrtc==13.0.88
[pip3] nvidia-cuda-runtime==13.0.96
[pip3] nvidia-cudnn-cu13==9.15.1.9
[pip3] nvidia-cudnn-frontend==1.18.0
[pip3] nvidia-cufft==12.0.0.61
[pip3] nvidia-cufile==1.15.1.6
[pip3] nvidia-curand==10.4.0.35
[pip3] nvidia-cusolver==12.0.4.66
[pip3] nvidia-cusparse==12.6.3.3
[pip3] nvidia-cusparselt-cu13==0.8.0
[pip3] nvidia-cutlass-dsl==4.4.2
[pip3] nvidia-cutlass-dsl-libs-base==4.4.2
[pip3] nvidia-ml-py==13.595.45
[pip3] nvidia-nccl-cu13==2.28.9
[pip3] nvidia-nvjitlink==13.0.88
[pip3] nvidia-nvshmem-cu13==3.4.5
[pip3] nvidia-nvtx==13.0.85
[pip3] pyzmq==27.1.0
[pip3] torch==2.10.0+cu130
[pip3] torch_c_dlpack_ext==0.1.5
[pip3] torchaudio==2.10.0+cu130
[pip3] torchvision==0.25.0+cu130
[pip3] transformers==4.57.6
[pip3] triton==3.6.0
[conda] Could not collect

==============================
         vLLM Info
==============================
ROCM Version                 : Could not collect
vLLM Version                 : 0.19.0
vLLM Build Flags:
  CUDA Archs: 7.0 7.5 8.0 8.9 9.0 10.0 12.0; ROCm: Disabled
GPU Topology:
        GPU0    CPU Affinity    NUMA Affinity   GPU NUMA ID
GPU0     X                              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
NCCL_P2P_DISABLE=1
NVIDIA_REQUIRE_CUDA=cuda>=13.0 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>=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 brand=unknown,driver>=570,driver<571 brand=grid,driver>=570,driver<571 brand=tesla,driver>=570,driver<571 brand=nvidia,driver>=570,driver<571 brand=quadro,driver>=570,driver<571 brand=quadrortx,driver>=570,driver<571 brand=nvidiartx,driver>=570,driver<571 brand=vapps,driver>=570,driver<571 brand=vpc,driver>=570,driver<571 brand=vcs,driver>=570,driver<571 brand=vws,driver>=570,driver<571 brand=cloudgaming,driver>=570,driver<571 brand=unknown,driver>=575,driver<576 brand=grid,driver>=575,driver<576 brand=tesla,driver>=575,driver<576 brand=nvidia,driver>=575,driver<576 brand=quadro,driver>=575,driver<576 brand=quadrortx,driver>=575,driver<576 brand=nvidiartx,driver>=575,driver<576 brand=vapps,driver>=575,driver<576 brand=vpc,driver>=575,driver<576 brand=vcs,driver>=575,driver<576 brand=vws,driver>=575,driver<576 brand=cloudgaming,driver>=575,driver<576
TORCH_CUDA_ARCH_LIST=7.0 7.5 8.0 8.9 9.0 10.0 12.0
NVIDIA_DRIVER_CAPABILITIES=compute,utility
VLLM_USAGE_SOURCE=production-docker-image
CUDA_VERSION=13.0.1
VLLM_ENABLE_CUDA_COMPATIBILITY=0
LD_LIBRARY_PATH=/usr/local/nvidia/lib64:/usr/local/cuda/lib64:/usr/local/nvidia/lib:/usr/local/nvidia/lib64:/usr/local/cuda/lib64
OMP_NUM_THREADS=1
PYTORCH_NVML_BASED_CUDA_CHECK=1
TORCHINDUCTOR_COMPILE_THREADS=1
TORCHINDUCTOR_CACHE_DIR=/tmp/torchinductor_root
</details>

🐛 Describe the bug

Trying to serve a model such as Qwen3.5 with --compilation-config '{"cudagraph_mm_encoder": true}' results in the following error:

(EngineCore pid=45) ERROR 04-04 12:15:46 [core.py:1108] EngineCore failed to start.
(EngineCore pid=45) ERROR 04-04 12:15:46 [core.py:1108] Traceback (most recent call last):
(EngineCore pid=45) ERROR 04-04 12:15:46 [core.py:1108]   File "/usr/local/lib/python3.12/dist-packages/vllm/v1/engine/core.py", line 1082, in run_engine_core
(EngineCore pid=45) ERROR 04-04 12:15:46 [core.py:1108]     engine_core = EngineCoreProc(*args, engine_index=dp_rank, **kwargs)
(EngineCore pid=45) ERROR 04-04 12:15:46 [core.py:1108]                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
(EngineCore pid=45) ERROR 04-04 12:15:46 [core.py:1108]   File "/usr/local/lib/python3.12/dist-packages/vllm/tracing/otel.py", line 178, in sync_wrapper
(EngineCore pid=45) ERROR 04-04 12:15:46 [core.py:1108]     return func(*args, **kwargs)
(EngineCore pid=45) ERROR 04-04 12:15:46 [core.py:1108]            ^^^^^^^^^^^^^^^^^^^^^
(EngineCore pid=45) ERROR 04-04 12:15:46 [core.py:1108]   File "/usr/local/lib/python3.12/dist-packages/vllm/v1/engine/core.py", line 848, in __init__
(EngineCore pid=45) ERROR 04-04 12:15:46 [core.py:1108]     super().__init__(
(EngineCore pid=45) ERROR 04-04 12:15:46 [core.py:1108]   File "/usr/local/lib/python3.12/dist-packages/vllm/v1/engine/core.py", line 124, in __init__
(EngineCore pid=45) ERROR 04-04 12:15:46 [core.py:1108]     kv_cache_config = self._initialize_kv_caches(vllm_config)
(EngineCore pid=45) ERROR 04-04 12:15:46 [core.py:1108]                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
(EngineCore pid=45) ERROR 04-04 12:15:46 [core.py:1108]   File "/usr/local/lib/python3.12/dist-packages/vllm/tracing/otel.py", line 178, in sync_wrapper
(EngineCore pid=45) ERROR 04-04 12:15:46 [core.py:1108]     return func(*args, **kwargs)
(EngineCore pid=45) ERROR 04-04 12:15:46 [core.py:1108]            ^^^^^^^^^^^^^^^^^^^^^
(EngineCore pid=45) ERROR 04-04 12:15:46 [core.py:1108]   File "/usr/local/lib/python3.12/dist-packages/vllm/v1/engine/core.py", line 280, in _initialize_kv_caches
(EngineCore pid=45) ERROR 04-04 12:15:46 [core.py:1108]     self.model_executor.initialize_from_config(kv_cache_configs)
(EngineCore pid=45) ERROR 04-04 12:15:46 [core.py:1108]   File "/usr/local/lib/python3.12/dist-packages/vllm/v1/executor/abstract.py", line 118, in initialize_from_config
(EngineCore pid=45) ERROR 04-04 12:15:46 [core.py:1108]     compilation_times: list[float] = self.collective_rpc("compile_or_warm_up_model")
(EngineCore pid=45) ERROR 04-04 12:15:46 [core.py:1108]                                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
(EngineCore pid=45) ERROR 04-04 12:15:46 [core.py:1108]   File "/usr/local/lib/python3.12/dist-packages/vllm/v1/executor/uniproc_executor.py", line 80, in collective_rpc
(EngineCore pid=45) ERROR 04-04 12:15:46 [core.py:1108]     result = run_method(self.driver_worker, method, args, kwargs)
(EngineCore pid=45) ERROR 04-04 12:15:46 [core.py:1108]              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
(EngineCore pid=45) ERROR 04-04 12:15:46 [core.py:1108]   File "/usr/local/lib/python3.12/dist-packages/vllm/v1/serial_utils.py", line 510, in run_method
(EngineCore pid=45) ERROR 04-04 12:15:46 [core.py:1108]     return func(*args, **kwargs)
(EngineCore pid=45) ERROR 04-04 12:15:46 [core.py:1108]            ^^^^^^^^^^^^^^^^^^^^^
(EngineCore pid=45) ERROR 04-04 12:15:46 [core.py:1108]   File "/usr/local/lib/python3.12/dist-packages/vllm/tracing/otel.py", line 178, in sync_wrapper
(EngineCore pid=45) ERROR 04-04 12:15:46 [core.py:1108]     return func(*args, **kwargs)
(EngineCore pid=45) ERROR 04-04 12:15:46 [core.py:1108]            ^^^^^^^^^^^^^^^^^^^^^
(EngineCore pid=45) ERROR 04-04 12:15:46 [core.py:1108]   File "/usr/local/lib/python3.12/dist-packages/vllm/v1/worker/gpu_worker.py", line 588, in compile_or_warm_up_model
(EngineCore pid=45) ERROR 04-04 12:15:46 [core.py:1108]     cuda_graph_memory_bytes = self.model_runner.capture_model()
(EngineCore pid=45) ERROR 04-04 12:15:46 [core.py:1108]                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
(EngineCore pid=45) ERROR 04-04 12:15:46 [core.py:1108]   File "/usr/local/lib/python3.12/dist-packages/vllm/tracing/otel.py", line 178, in sync_wrapper
(EngineCore pid=45) ERROR 04-04 12:15:46 [core.py:1108]     return func(*args, **kwargs)
(EngineCore pid=45) ERROR 04-04 12:15:46 [core.py:1108]            ^^^^^^^^^^^^^^^^^^^^^
(EngineCore pid=45) ERROR 04-04 12:15:46 [core.py:1108]   File "/usr/local/lib/python3.12/dist-packages/vllm/v1/worker/gpu_model_runner.py", line 5984, in capture_model
(EngineCore pid=45) ERROR 04-04 12:15:46 [core.py:1108]     from vllm.v1.worker.gpu.mm.encoder_cudagraph import (
(EngineCore pid=45) ERROR 04-04 12:15:46 [core.py:1108] ModuleNotFoundError: No module named 'vllm.v1.worker.gpu.mm.encoder_cudagraph'

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.

extent analysis

TL;DR

The error is likely due to a missing module vllm.v1.worker.gpu.mm.encoder_cudagraph, which is required when using the --compilation-config '{"cudagraph_mm_encoder": true}' option.

Guidance

  • The issue seems to be related to the cudagraph_mm_encoder configuration option, which is set to true. This option might require additional dependencies or modules to be installed.
  • Check the documentation for any specific requirements or dependencies needed when using the cudagraph_mm_encoder option.
  • Verify that the vllm.v1.worker.gpu.mm.encoder_cudagraph module is installed and available in the Python environment.
  • If the module is not available, try installing or updating the vllm package to ensure that all required dependencies are included.

Example

No specific code example is available for this issue, as it appears to be related to a missing module or dependency.

Notes

The error message indicates a ModuleNotFoundError, which suggests that the required module is not installed or not available in the Python environment. Resolving this issue will likely require installing or updating the necessary dependencies.

Recommendation

Apply a workaround by setting --compilation-config '{"cudagraph_mm_encoder": false}' to disable the cudagraph_mm_encoder option, or try installing or updating the vllm package to ensure that all required dependencies are included.

FAIL-SAFE

If the issue persists, try checking the documentation for any specific requirements or dependencies needed when using the cudagraph_mm_encoder option, or seek further assistance from the vllm community or support team.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

vllm - ✅(Solved) Fix [Bug]: Enabling cudagraph_mm_encoder results in ModuleNotFoundError [2 pull requests, 1 comments, 1 participants]