vllm - ✅(Solved) Fix [Bug]: 'placeholder_block_size' is not defined [1 pull requests, 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#37350Fetched 2026-04-08 00:53:22
View on GitHub
Comments
0
Participants
1
Timeline
4
Reactions
0
Author
Participants
Timeline (top)
closed ×1cross-referenced ×1labeled ×1reopened ×1

Error Message

(EngineCore pid=207) DEBUG 03-17 22:55:01 [model_executor/models/qwen3_next.py:776] GDN prefill kernel warmup (T=64) completed for layer language_model.model.layers.38.linear_attn (EngineCore pid=207) INFO 03-17 22:55:01 [compilation/monitor.py:76] Initial profiling/warmup run took 158.40 s (APIServer pid=1) DEBUG 03-17 22:55:05 [v1/engine/utils.py:1021] Waiting for 1 local, 0 remote core engine proc(s) to start. (APIServer pid=1) DEBUG 03-17 22:55:15 [v1/engine/utils.py:1021] Waiting for 1 local, 0 remote core engine proc(s) to start. (EngineCore pid=207) INFO 03-17 22:55:16 [v1/core/kv_cache_utils.py:826] Overriding num_gpu_blocks=0 with num_gpu_blocks_override=512 (EngineCore pid=207) ERROR 03-17 22:55:16 [v1/engine/core.py:1099] EngineCore failed to start. (EngineCore pid=207) ERROR 03-17 22:55:16 [v1/engine/core.py:1099] Traceback (most recent call last): (EngineCore pid=207) ERROR 03-17 22:55:16 [v1/engine/core.py:1099] File "/usr/local/lib/python3.12/dist-packages/vllm/v1/engine/core.py", line 1073, in run_engine_core (EngineCore pid=207) ERROR 03-17 22:55:16 [v1/engine/core.py:1099] engine_core = EngineCoreProc(*args, engine_index=dp_rank, **kwargs) (EngineCore pid=207) ERROR 03-17 22:55:16 [v1/engine/core.py:1099] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ (EngineCore pid=207) ERROR 03-17 22:55:16 [v1/engine/core.py:1099] File "/usr/local/lib/python3.12/dist-packages/vllm/tracing/otel.py", line 178, in sync_wrapper (EngineCore pid=207) ERROR 03-17 22:55:16 [v1/engine/core.py:1099] return func(*args, **kwargs) (EngineCore pid=207) ERROR 03-17 22:55:16 [v1/engine/core.py:1099] ^^^^^^^^^^^^^^^^^^^^^ (EngineCore pid=207) ERROR 03-17 22:55:16 [v1/engine/core.py:1099] File "/usr/local/lib/python3.12/dist-packages/vllm/v1/engine/core.py", line 839, in init (EngineCore pid=207) ERROR 03-17 22:55:16 [v1/engine/core.py:1099] super().init( (EngineCore pid=207) ERROR 03-17 22:55:16 [v1/engine/core.py:1099] File "/usr/local/lib/python3.12/dist-packages/vllm/v1/engine/core.py", line 122, in init (EngineCore pid=207) ERROR 03-17 22:55:16 [v1/engine/core.py:1099] kv_cache_config = self._initialize_kv_caches(vllm_config) (EngineCore pid=207) ERROR 03-17 22:55:16 [v1/engine/core.py:1099] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ (EngineCore pid=207) ERROR 03-17 22:55:16 [v1/engine/core.py:1099] File "/usr/local/lib/python3.12/dist-packages/vllm/tracing/otel.py", line 178, in sync_wrapper (EngineCore pid=207) ERROR 03-17 22:55:16 [v1/engine/core.py:1099] return func(*args, **kwargs) (EngineCore pid=207) ERROR 03-17 22:55:16 [v1/engine/core.py:1099] ^^^^^^^^^^^^^^^^^^^^^ (EngineCore pid=207) ERROR 03-17 22:55:16 [v1/engine/core.py:1099] File "/usr/local/lib/python3.12/dist-packages/vllm/v1/engine/core.py", line 245, in _initialize_kv_caches (EngineCore pid=207) ERROR 03-17 22:55:16 [v1/engine/core.py:1099] available_gpu_memory = self.model_executor.determine_available_memory() (EngineCore pid=207) ERROR 03-17 22:55:16 [v1/engine/core.py:1099] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ (EngineCore pid=207) ERROR 03-17 22:55:16 [v1/engine/core.py:1099] File "/usr/local/lib/python3.12/dist-packages/vllm/v1/executor/abstract.py", line 136, in determine_available_memory (EngineCore pid=207) ERROR 03-17 22:55:16 [v1/engine/core.py:1099] return self.collective_rpc("determine_available_memory") (EngineCore pid=207) ERROR 03-17 22:55:16 [v1/engine/core.py:1099] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ (EngineCore pid=207) ERROR 03-17 22:55:16 [v1/engine/core.py:1099] File "/usr/local/lib/python3.12/dist-packages/vllm/v1/executor/uniproc_executor.py", line 78, in collective_rpc (EngineCore pid=207) ERROR 03-17 22:55:16 [v1/engine/core.py:1099] result = run_method(self.driver_worker, method, args, kwargs) (EngineCore pid=207) ERROR 03-17 22:55:16 [v1/engine/core.py:1099] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ (EngineCore pid=207) ERROR 03-17 22:55:16 [v1/engine/core.py:1099] File "/usr/local/lib/python3.12/dist-packages/vllm/v1/serial_utils.py", line 459, in run_method (EngineCore pid=207) ERROR 03-17 22:55:16 [v1/engine/core.py:1099] return func(*args, **kwargs) (EngineCore pid=207) ERROR 03-17 22:55:16 [v1/engine/core.py:1099] ^^^^^^^^^^^^^^^^^^^^^ (EngineCore pid=207) ERROR 03-17 22:55:16 [v1/engine/core.py:1099] File "/usr/local/lib/python3.12/dist-packages/torch/utils/_contextlib.py", line 124, in decorate_context (EngineCore pid=207) ERROR 03-17 22:55:16 [v1/engine/core.py:1099] return func(*args, **kwargs) (EngineCore pid=207) ERROR 03-17 22:55:16 [v1/engine/core.py:1099] ^^^^^^^^^^^^^^^^^^^^^ (EngineCore pid=207) ERROR 03-17 22:55:16 [v1/engine/core.py:1099] File "/usr/local/lib/python3.12/dist-packages/vllm/v1/worker/gpu_worker.py", line 397, in determine_available_memory (EngineCore pid=207) ERROR 03-17 22:55:16 [v1/engine/core.py:1099] cudagraph_memory_estimate = self.model_runner.profile_cudagraph_memory() (EngineCore pid=207) ERROR 03-17 22:55:16 [v1/engine/core.py:1099] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ (EngineCore pid=207) ERROR 03-17 22:55:16 [v1/engine/core.py:1099] File "/usr/local/lib/python3.12/dist-packages/torch/utils/_contextlib.py", line 124, in decorate_context (EngineCore pid=207) ERROR 03-17 22:55:16 [v1/engine/core.py:1099] return func(*args, **kwargs) (EngineCore pid=207) ERROR 03-17 22:55:16 [v1/engine/core.py:1099] ^^^^^^^^^^^^^^^^^^^^^ (EngineCore pid=207) ERROR 03-17 22:55:16 [v1/engine/core.py:1099] File "/usr/local/lib/python3.12/dist-packages/vllm/v1/worker/gpu_model_runner.py", line 5595, in profile_cudagraph_memory (EngineCore pid=207) ERROR 03-17 22:55:16 [v1/engine/core.py:1099] self._init_minimal_kv_cache_for_profiling() (EngineCore pid=207) ERROR 03-17 22:55:16 [v1/engine/core.py:1099] File "/usr/local/lib/python3.12/dist-packages/vllm/v1/worker/gpu_model_runner.py", line 5549, in _init_minimal_kv_cache_for_profiling (EngineCore pid=207) ERROR 03-17 22:55:16 [v1/engine/core.py:1099] self.initialize_kv_cache(minimal_config) (EngineCore pid=207) ERROR 03-17 22:55:16 [v1/engine/core.py:1099] File "/usr/local/lib/python3.12/dist-packages/vllm/v1/worker/gpu_model_runner.py", line 6487, in initialize_kv_cache (EngineCore pid=207) ERROR 03-17 22:55:16 [v1/engine/core.py:1099] block_sizes=[placeholder_block_size], (EngineCore pid=207) ERROR 03-17 22:55:16 [v1/engine/core.py:1099] ^^^^^^^^^^^^^^^^^^^^^^ (EngineCore pid=207) ERROR 03-17 22:55:16 [v1/engine/core.py:1099] NameError: name 'placeholder_block_size' is not defined (EngineCore pid=207) Process EngineCore: (EngineCore pid=207) Traceback (most recent call last): (EngineCore pid=207) File "/usr/lib/python3.12/multiprocessing/process.py", line 314, in _bootstrap (EngineCore pid=207) self.run() (EngineCore pid=207) File "/usr/lib/python3.12/multiprocessing/process.py", line 108, in run (EngineCore pid=207) self._target(*self._args, **self._kwargs) (EngineCore pid=207) File "/usr/local/lib/python3.12/dist-packages/vllm/v1/engine/core.py", line 1103, in run_engine_core (EngineCore pid=207) raise e (EngineCore pid=207) File "/usr/local/lib/python3.12/dist-packages/vllm/v1/engine/core.py", line 1073, in run_engine_core (EngineCore pid=207) engine_core = EngineCoreProc(*args, engine_index=dp_rank, **kwargs) (EngineCore pid=207) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ (EngineCore pid=207) File "/usr/local/lib/python3.12/dist-packages/vllm/tracing/otel.py", line 178, in sync_wrapper (EngineCore pid=207) return func(*args, **kwargs) (EngineCore pid=207) ^^^^^^^^^^^^^^^^^^^^^ (EngineCore pid=207) File "/usr/local/lib/python3.12/dist-packages/vllm/v1/engine/core.py", line 839, in init (EngineCore pid=207) super().init( (EngineCore pid=207) File "/usr/local/lib/python3.12/dist-packages/vllm/v1/engine/core.py", line 122, in init (EngineCore pid=207) kv_cache_config = self._initialize_kv_caches(vllm_config) (EngineCore pid=207) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ (EngineCore pid=207) File "/usr/local/lib/python3.12/dist-packages/vllm/tracing/otel.py", line 178, in sync_wrapper (EngineCore pid=207) return func(*args, **kwargs) (EngineCore pid=207) ^^^^^^^^^^^^^^^^^^^^^ (EngineCore pid=207) File "/usr/local/lib/python3.12/dist-packages/vllm/v1/engine/core.py", line 245, in _initialize_kv_caches (EngineCore pid=207) available_gpu_memory = self.model_executor.determine_available_memory() (EngineCore pid=207) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ (EngineCore pid=207) File "/usr/local/lib/python3.12/dist-packages/vllm/v1/executor/abstract.py", line 136, in determine_available_memory (EngineCore pid=207) return self.collective_rpc("determine_available_memory") (EngineCore pid=207) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ (EngineCore pid=207) File "/usr/local/lib/python3.12/dist-packages/vllm/v1/executor/uniproc_executor.py", line 78, in collective_rpc (EngineCore pid=207) result = run_method(self.driver_worker, method, args, kwargs) (EngineCore pid=207) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ (EngineCore pid=207) File "/usr/local/lib/python3.12/dist-packages/vllm/v1/serial_utils.py", line 459, in run_method (EngineCore pid=207) return func(*args, **kwargs) (EngineCore pid=207) ^^^^^^^^^^^^^^^^^^^^^ (EngineCore pid=207) File "/usr/local/lib/python3.12/dist-packages/torch/utils/_contextlib.py", line 124, in decorate_context (EngineCore pid=207) return func(*args, **kwargs) (EngineCore pid=207) ^^^^^^^^^^^^^^^^^^^^^ (EngineCore pid=207) File "/usr/local/lib/python3.12/dist-packages/vllm/v1/worker/gpu_worker.py", line 397, in determine_available_memory (EngineCore pid=207) cudagraph_memory_estimate = self.model_runner.profile_cudagraph_memory() (EngineCore pid=207) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ (EngineCore pid=207) File "/usr/local/lib/python3.12/dist-packages/torch/utils/_contextlib.py", line 124, in decorate_context (EngineCore pid=207) return func(*args, **kwargs) (EngineCore pid=207) ^^^^^^^^^^^^^^^^^^^^^ (EngineCore pid=207) File "/usr/local/lib/python3.12/dist-packages/vllm/v1/worker/gpu_model_runner.py", line 5595, in profile_cudagraph_memory (EngineCore pid=207) self._init_minimal_kv_cache_for_profiling() (EngineCore pid=207) File "/usr/local/lib/python3.12/dist-packages/vllm/v1/worker/gpu_model_runner.py", line 5549, in _init_minimal_kv_cache_for_profiling (EngineCore pid=207) self.initialize_kv_cache(minimal_config) (EngineCore pid=207) File "/usr/local/lib/python3.12/dist-packages/vllm/v1/worker/gpu_model_runner.py", line 6487, in initialize_kv_cache (EngineCore pid=207) block_sizes=[placeholder_block_size], (EngineCore pid=207) ^^^^^^^^^^^^^^^^^^^^^^ (EngineCore pid=207) NameError: name 'placeholder_block_size' is not defined [rank0]:[W317 22:55:17.937545770 ProcessGroupNCCL.cpp:1553] Warning: WARNING: destroy_process_group() was not called before program exit, which can leak resources. For more info, please see https://pytorch.org/docs/stable/distributed.html#shutdown (function operator()) (APIServer pid=1) Traceback (most recent call last): (APIServer pid=1) File "/usr/local/bin/vllm", line 10, in <module> (APIServer pid=1) sys.exit(main()) (APIServer pid=1) ^^^^^^ (APIServer pid=1) File "/usr/local/lib/python3.12/dist-packages/vllm/entrypoints/cli/main.py", line 75, in main (APIServer pid=1) args.dispatch_function(args) (APIServer pid=1) File "/usr/local/lib/python3.12/dist-packages/vllm/entrypoints/cli/serve.py", line 118, in cmd (APIServer pid=1) uvloop.run(run_server(args)) (APIServer pid=1) File "/usr/local/lib/python3.12/dist-packages/uvloop/init.py", line 96, in run (APIServer pid=1) return __asyncio.run( (APIServer pid=1) ^^^^^^^^^^^^^^ (APIServer pid=1) File "/usr/lib/python3.12/asyncio/runners.py", line 195, in run (APIServer pid=1) return runner.run(main) (APIServer pid=1) ^^^^^^^^^^^^^^^^ (APIServer pid=1) File "/usr/lib/python3.12/asyncio/runners.py", line 118, in run (APIServer pid=1) return self._loop.run_until_complete(task) (APIServer pid=1) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ (APIServer pid=1) File "uvloop/loop.pyx", line 1518, in uvloop.loop.Loop.run_until_complete (APIServer pid=1) File "/usr/local/lib/python3.12/dist-packages/uvloop/init.py", line 48, in wrapper (APIServer pid=1) return await main (APIServer pid=1) ^^^^^^^^^^ (APIServer pid=1) File "/usr/local/lib/python3.12/dist-packages/vllm/entrypoints/openai/api_server.py", line 675, in run_server (APIServer pid=1) await run_server_worker(listen_address, sock, args, **uvicorn_kwargs) (APIServer pid=1) File "/usr/local/lib/python3.12/dist-packages/vllm/entrypoints/openai/api_server.py", line 689, in run_server_worker (APIServer pid=1) async with build_async_engine_client( (APIServer pid=1) ^^^^^^^^^^^^^^^^^^^^^^^^^^ (APIServer pid=1) File "/usr/lib/python3.12/contextlib.py", line 210, in aenter (APIServer pid=1) return await anext(self.gen) (APIServer pid=1) ^^^^^^^^^^^^^^^^^^^^^ (APIServer pid=1) File "/usr/local/lib/python3.12/dist-packages/vllm/entrypoints/openai/api_server.py", line 104, in build_async_engine_client (APIServer pid=1) async with build_async_engine_client_from_engine_args( (APIServer pid=1) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ (APIServer pid=1) File "/usr/lib/python3.12/contextlib.py", line 210, in aenter (APIServer pid=1) return await anext(self.gen) (APIServer pid=1) ^^^^^^^^^^^^^^^^^^^^^ (APIServer pid=1) File "/usr/local/lib/python3.12/dist-packages/vllm/entrypoints/openai/api_server.py", line 145, in build_async_engine_client_from_engine_args (APIServer pid=1) async_llm = AsyncLLM.from_vllm_config( (APIServer pid=1) ^^^^^^^^^^^^^^^^^^^^^^^^^^ (APIServer pid=1) File "/usr/local/lib/python3.12/dist-packages/vllm/v1/engine/async_llm.py", line 225, in from_vllm_config (APIServer pid=1) return cls( (APIServer pid=1) ^^^^ (APIServer pid=1) File "/usr/local/lib/python3.12/dist-packages/vllm/v1/engine/async_llm.py", line 154, in init (APIServer pid=1) self.engine_core = EngineCoreClient.make_async_mp_client( (APIServer pid=1) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ (APIServer pid=1) File "/usr/local/lib/python3.12/dist-packages/vllm/tracing/otel.py", line 178, in sync_wrapper (APIServer pid=1) return func(*args, **kwargs) (APIServer pid=1) ^^^^^^^^^^^^^^^^^^^^^ (APIServer pid=1) File "/usr/local/lib/python3.12/dist-packages/vllm/v1/engine/core_client.py", line 128, in make_async_mp_client (APIServer pid=1) return AsyncMPClient(*client_args) (APIServer pid=1) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ (APIServer pid=1) File "/usr/local/lib/python3.12/dist-packages/vllm/tracing/otel.py", line 178, in sync_wrapper (APIServer pid=1) return func(*args, **kwargs) (APIServer pid=1) ^^^^^^^^^^^^^^^^^^^^^ (APIServer pid=1) File "/usr/local/lib/python3.12/dist-packages/vllm/v1/engine/core_client.py", line 924, in init (APIServer pid=1) super().init( (APIServer pid=1) File "/usr/local/lib/python3.12/dist-packages/vllm/v1/engine/core_client.py", line 583, in init (APIServer pid=1) with launch_core_engines( (APIServer pid=1) ^^^^^^^^^^^^^^^^^^^^ (APIServer pid=1) File "/usr/lib/python3.12/contextlib.py", line 144, in exit (APIServer pid=1) next(self.gen) (APIServer pid=1) File "/usr/local/lib/python3.12/dist-packages/vllm/v1/engine/utils.py", line 972, in launch_core_engines (APIServer pid=1) wait_for_engine_startup( (APIServer pid=1) File "/usr/local/lib/python3.12/dist-packages/vllm/v1/engine/utils.py", line 1031, in wait_for_engine_startup (APIServer pid=1) raise RuntimeError( (APIServer pid=1) RuntimeError: Engine core initialization failed. See root cause above. Failed core proc(s): {}

Root Cause

Error msg:

(EngineCore pid=207) DEBUG 03-17 22:55:01 [model_executor/models/qwen3_next.py:776] GDN prefill kernel warmup (T=64) completed for layer language_model.model.layers.38.linear_attn
(EngineCore pid=207) INFO 03-17 22:55:01 [compilation/monitor.py:76] Initial profiling/warmup run took 158.40 s
(APIServer pid=1) DEBUG 03-17 22:55:05 [v1/engine/utils.py:1021] Waiting for 1 local, 0 remote core engine proc(s) to start.
(APIServer pid=1) DEBUG 03-17 22:55:15 [v1/engine/utils.py:1021] Waiting for 1 local, 0 remote core engine proc(s) to start.
(EngineCore pid=207) INFO 03-17 22:55:16 [v1/core/kv_cache_utils.py:826] Overriding num_gpu_blocks=0 with num_gpu_blocks_override=512
(EngineCore pid=207) ERROR 03-17 22:55:16 [v1/engine/core.py:1099] EngineCore failed to start.
(EngineCore pid=207) ERROR 03-17 22:55:16 [v1/engine/core.py:1099] Traceback (most recent call last):
(EngineCore pid=207) ERROR 03-17 22:55:16 [v1/engine/core.py:1099]   File "/usr/local/lib/python3.12/dist-packages/vllm/v1/engine/core.py", line 1073, in run_engine_core
(EngineCore pid=207) ERROR 03-17 22:55:16 [v1/engine/core.py:1099]     engine_core = EngineCoreProc(*args, engine_index=dp_rank, **kwargs)
(EngineCore pid=207) ERROR 03-17 22:55:16 [v1/engine/core.py:1099]                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
(EngineCore pid=207) ERROR 03-17 22:55:16 [v1/engine/core.py:1099]   File "/usr/local/lib/python3.12/dist-packages/vllm/tracing/otel.py", line 178, in sync_wrapper
(EngineCore pid=207) ERROR 03-17 22:55:16 [v1/engine/core.py:1099]     return func(*args, **kwargs)
(EngineCore pid=207) ERROR 03-17 22:55:16 [v1/engine/core.py:1099]            ^^^^^^^^^^^^^^^^^^^^^
(EngineCore pid=207) ERROR 03-17 22:55:16 [v1/engine/core.py:1099]   File "/usr/local/lib/python3.12/dist-packages/vllm/v1/engine/core.py", line 839, in __init__
(EngineCore pid=207) ERROR 03-17 22:55:16 [v1/engine/core.py:1099]     super().__init__(
(EngineCore pid=207) ERROR 03-17 22:55:16 [v1/engine/core.py:1099]   File "/usr/local/lib/python3.12/dist-packages/vllm/v1/engine/core.py", line 122, in __init__
(EngineCore pid=207) ERROR 03-17 22:55:16 [v1/engine/core.py:1099]     kv_cache_config = self._initialize_kv_caches(vllm_config)
(EngineCore pid=207) ERROR 03-17 22:55:16 [v1/engine/core.py:1099]                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
(EngineCore pid=207) ERROR 03-17 22:55:16 [v1/engine/core.py:1099]   File "/usr/local/lib/python3.12/dist-packages/vllm/tracing/otel.py", line 178, in sync_wrapper
(EngineCore pid=207) ERROR 03-17 22:55:16 [v1/engine/core.py:1099]     return func(*args, **kwargs)
(EngineCore pid=207) ERROR 03-17 22:55:16 [v1/engine/core.py:1099]            ^^^^^^^^^^^^^^^^^^^^^
(EngineCore pid=207) ERROR 03-17 22:55:16 [v1/engine/core.py:1099]   File "/usr/local/lib/python3.12/dist-packages/vllm/v1/engine/core.py", line 245, in _initialize_kv_caches
(EngineCore pid=207) ERROR 03-17 22:55:16 [v1/engine/core.py:1099]     available_gpu_memory = self.model_executor.determine_available_memory()
(EngineCore pid=207) ERROR 03-17 22:55:16 [v1/engine/core.py:1099]                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
(EngineCore pid=207) ERROR 03-17 22:55:16 [v1/engine/core.py:1099]   File "/usr/local/lib/python3.12/dist-packages/vllm/v1/executor/abstract.py", line 136, in determine_available_memory
(EngineCore pid=207) ERROR 03-17 22:55:16 [v1/engine/core.py:1099]     return self.collective_rpc("determine_available_memory")
(EngineCore pid=207) ERROR 03-17 22:55:16 [v1/engine/core.py:1099]            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
(EngineCore pid=207) ERROR 03-17 22:55:16 [v1/engine/core.py:1099]   File "/usr/local/lib/python3.12/dist-packages/vllm/v1/executor/uniproc_executor.py", line 78, in collective_rpc
(EngineCore pid=207) ERROR 03-17 22:55:16 [v1/engine/core.py:1099]     result = run_method(self.driver_worker, method, args, kwargs)
(EngineCore pid=207) ERROR 03-17 22:55:16 [v1/engine/core.py:1099]              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
(EngineCore pid=207) ERROR 03-17 22:55:16 [v1/engine/core.py:1099]   File "/usr/local/lib/python3.12/dist-packages/vllm/v1/serial_utils.py", line 459, in run_method
(EngineCore pid=207) ERROR 03-17 22:55:16 [v1/engine/core.py:1099]     return func(*args, **kwargs)
(EngineCore pid=207) ERROR 03-17 22:55:16 [v1/engine/core.py:1099]            ^^^^^^^^^^^^^^^^^^^^^
(EngineCore pid=207) ERROR 03-17 22:55:16 [v1/engine/core.py:1099]   File "/usr/local/lib/python3.12/dist-packages/torch/utils/_contextlib.py", line 124, in decorate_context
(EngineCore pid=207) ERROR 03-17 22:55:16 [v1/engine/core.py:1099]     return func(*args, **kwargs)
(EngineCore pid=207) ERROR 03-17 22:55:16 [v1/engine/core.py:1099]            ^^^^^^^^^^^^^^^^^^^^^
(EngineCore pid=207) ERROR 03-17 22:55:16 [v1/engine/core.py:1099]   File "/usr/local/lib/python3.12/dist-packages/vllm/v1/worker/gpu_worker.py", line 397, in determine_available_memory
(EngineCore pid=207) ERROR 03-17 22:55:16 [v1/engine/core.py:1099]     cudagraph_memory_estimate = self.model_runner.profile_cudagraph_memory()
(EngineCore pid=207) ERROR 03-17 22:55:16 [v1/engine/core.py:1099]                                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
(EngineCore pid=207) ERROR 03-17 22:55:16 [v1/engine/core.py:1099]   File "/usr/local/lib/python3.12/dist-packages/torch/utils/_contextlib.py", line 124, in decorate_context
(EngineCore pid=207) ERROR 03-17 22:55:16 [v1/engine/core.py:1099]     return func(*args, **kwargs)
(EngineCore pid=207) ERROR 03-17 22:55:16 [v1/engine/core.py:1099]            ^^^^^^^^^^^^^^^^^^^^^
(EngineCore pid=207) ERROR 03-17 22:55:16 [v1/engine/core.py:1099]   File "/usr/local/lib/python3.12/dist-packages/vllm/v1/worker/gpu_model_runner.py", line 5595, in profile_cudagraph_memory
(EngineCore pid=207) ERROR 03-17 22:55:16 [v1/engine/core.py:1099]     self._init_minimal_kv_cache_for_profiling()
(EngineCore pid=207) ERROR 03-17 22:55:16 [v1/engine/core.py:1099]   File "/usr/local/lib/python3.12/dist-packages/vllm/v1/worker/gpu_model_runner.py", line 5549, in _init_minimal_kv_cache_for_profiling
(EngineCore pid=207) ERROR 03-17 22:55:16 [v1/engine/core.py:1099]     self.initialize_kv_cache(minimal_config)
(EngineCore pid=207) ERROR 03-17 22:55:16 [v1/engine/core.py:1099]   File "/usr/local/lib/python3.12/dist-packages/vllm/v1/worker/gpu_model_runner.py", line 6487, in initialize_kv_cache
(EngineCore pid=207) ERROR 03-17 22:55:16 [v1/engine/core.py:1099]     block_sizes=[placeholder_block_size],
(EngineCore pid=207) ERROR 03-17 22:55:16 [v1/engine/core.py:1099]                  ^^^^^^^^^^^^^^^^^^^^^^
(EngineCore pid=207) ERROR 03-17 22:55:16 [v1/engine/core.py:1099] NameError: name 'placeholder_block_size' is not defined
(EngineCore pid=207) Process EngineCore:
(EngineCore pid=207) Traceback (most recent call last):
(EngineCore pid=207)   File "/usr/lib/python3.12/multiprocessing/process.py", line 314, in _bootstrap
(EngineCore pid=207)     self.run()
(EngineCore pid=207)   File "/usr/lib/python3.12/multiprocessing/process.py", line 108, in run
(EngineCore pid=207)     self._target(*self._args, **self._kwargs)
(EngineCore pid=207)   File "/usr/local/lib/python3.12/dist-packages/vllm/v1/engine/core.py", line 1103, in run_engine_core
(EngineCore pid=207)     raise e
(EngineCore pid=207)   File "/usr/local/lib/python3.12/dist-packages/vllm/v1/engine/core.py", line 1073, in run_engine_core
(EngineCore pid=207)     engine_core = EngineCoreProc(*args, engine_index=dp_rank, **kwargs)
(EngineCore pid=207)                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
(EngineCore pid=207)   File "/usr/local/lib/python3.12/dist-packages/vllm/tracing/otel.py", line 178, in sync_wrapper
(EngineCore pid=207)     return func(*args, **kwargs)
(EngineCore pid=207)            ^^^^^^^^^^^^^^^^^^^^^
(EngineCore pid=207)   File "/usr/local/lib/python3.12/dist-packages/vllm/v1/engine/core.py", line 839, in __init__
(EngineCore pid=207)     super().__init__(
(EngineCore pid=207)   File "/usr/local/lib/python3.12/dist-packages/vllm/v1/engine/core.py", line 122, in __init__
(EngineCore pid=207)     kv_cache_config = self._initialize_kv_caches(vllm_config)
(EngineCore pid=207)                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
(EngineCore pid=207)   File "/usr/local/lib/python3.12/dist-packages/vllm/tracing/otel.py", line 178, in sync_wrapper
(EngineCore pid=207)     return func(*args, **kwargs)
(EngineCore pid=207)            ^^^^^^^^^^^^^^^^^^^^^
(EngineCore pid=207)   File "/usr/local/lib/python3.12/dist-packages/vllm/v1/engine/core.py", line 245, in _initialize_kv_caches
(EngineCore pid=207)     available_gpu_memory = self.model_executor.determine_available_memory()
(EngineCore pid=207)                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
(EngineCore pid=207)   File "/usr/local/lib/python3.12/dist-packages/vllm/v1/executor/abstract.py", line 136, in determine_available_memory
(EngineCore pid=207)     return self.collective_rpc("determine_available_memory")
(EngineCore pid=207)            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
(EngineCore pid=207)   File "/usr/local/lib/python3.12/dist-packages/vllm/v1/executor/uniproc_executor.py", line 78, in collective_rpc
(EngineCore pid=207)     result = run_method(self.driver_worker, method, args, kwargs)
(EngineCore pid=207)              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
(EngineCore pid=207)   File "/usr/local/lib/python3.12/dist-packages/vllm/v1/serial_utils.py", line 459, in run_method
(EngineCore pid=207)     return func(*args, **kwargs)
(EngineCore pid=207)            ^^^^^^^^^^^^^^^^^^^^^
(EngineCore pid=207)   File "/usr/local/lib/python3.12/dist-packages/torch/utils/_contextlib.py", line 124, in decorate_context
(EngineCore pid=207)     return func(*args, **kwargs)
(EngineCore pid=207)            ^^^^^^^^^^^^^^^^^^^^^
(EngineCore pid=207)   File "/usr/local/lib/python3.12/dist-packages/vllm/v1/worker/gpu_worker.py", line 397, in determine_available_memory
(EngineCore pid=207)     cudagraph_memory_estimate = self.model_runner.profile_cudagraph_memory()
(EngineCore pid=207)                                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
(EngineCore pid=207)   File "/usr/local/lib/python3.12/dist-packages/torch/utils/_contextlib.py", line 124, in decorate_context
(EngineCore pid=207)     return func(*args, **kwargs)
(EngineCore pid=207)            ^^^^^^^^^^^^^^^^^^^^^
(EngineCore pid=207)   File "/usr/local/lib/python3.12/dist-packages/vllm/v1/worker/gpu_model_runner.py", line 5595, in profile_cudagraph_memory
(EngineCore pid=207)     self._init_minimal_kv_cache_for_profiling()
(EngineCore pid=207)   File "/usr/local/lib/python3.12/dist-packages/vllm/v1/worker/gpu_model_runner.py", line 5549, in _init_minimal_kv_cache_for_profiling
(EngineCore pid=207)     self.initialize_kv_cache(minimal_config)
(EngineCore pid=207)   File "/usr/local/lib/python3.12/dist-packages/vllm/v1/worker/gpu_model_runner.py", line 6487, in initialize_kv_cache
(EngineCore pid=207)     block_sizes=[placeholder_block_size],
(EngineCore pid=207)                  ^^^^^^^^^^^^^^^^^^^^^^
(EngineCore pid=207) NameError: name 'placeholder_block_size' is not defined
[rank0]:[W317 22:55:17.937545770 ProcessGroupNCCL.cpp:1553] Warning: WARNING: destroy_process_group() was not called before program exit, which can leak resources. For more info, please see https://pytorch.org/docs/stable/distributed.html#shutdown (function operator())
(APIServer pid=1) Traceback (most recent call last):
(APIServer pid=1)   File "/usr/local/bin/vllm", line 10, in <module>
(APIServer pid=1)     sys.exit(main())
(APIServer pid=1)              ^^^^^^
(APIServer pid=1)   File "/usr/local/lib/python3.12/dist-packages/vllm/entrypoints/cli/main.py", line 75, in main
(APIServer pid=1)     args.dispatch_function(args)
(APIServer pid=1)   File "/usr/local/lib/python3.12/dist-packages/vllm/entrypoints/cli/serve.py", line 118, in cmd
(APIServer pid=1)     uvloop.run(run_server(args))
(APIServer pid=1)   File "/usr/local/lib/python3.12/dist-packages/uvloop/__init__.py", line 96, in run
(APIServer pid=1)     return __asyncio.run(
(APIServer pid=1)            ^^^^^^^^^^^^^^
(APIServer pid=1)   File "/usr/lib/python3.12/asyncio/runners.py", line 195, in run
(APIServer pid=1)     return runner.run(main)
(APIServer pid=1)            ^^^^^^^^^^^^^^^^
(APIServer pid=1)   File "/usr/lib/python3.12/asyncio/runners.py", line 118, in run
(APIServer pid=1)     return self._loop.run_until_complete(task)
(APIServer pid=1)            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
(APIServer pid=1)   File "uvloop/loop.pyx", line 1518, in uvloop.loop.Loop.run_until_complete
(APIServer pid=1)   File "/usr/local/lib/python3.12/dist-packages/uvloop/__init__.py", line 48, in wrapper
(APIServer pid=1)     return await main
(APIServer pid=1)            ^^^^^^^^^^
(APIServer pid=1)   File "/usr/local/lib/python3.12/dist-packages/vllm/entrypoints/openai/api_server.py", line 675, in run_server
(APIServer pid=1)     await run_server_worker(listen_address, sock, args, **uvicorn_kwargs)
(APIServer pid=1)   File "/usr/local/lib/python3.12/dist-packages/vllm/entrypoints/openai/api_server.py", line 689, in run_server_worker
(APIServer pid=1)     async with build_async_engine_client(
(APIServer pid=1)                ^^^^^^^^^^^^^^^^^^^^^^^^^^
(APIServer pid=1)   File "/usr/lib/python3.12/contextlib.py", line 210, in __aenter__
(APIServer pid=1)     return await anext(self.gen)
(APIServer pid=1)            ^^^^^^^^^^^^^^^^^^^^^
(APIServer pid=1)   File "/usr/local/lib/python3.12/dist-packages/vllm/entrypoints/openai/api_server.py", line 104, in build_async_engine_client
(APIServer pid=1)     async with build_async_engine_client_from_engine_args(
(APIServer pid=1)                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
(APIServer pid=1)   File "/usr/lib/python3.12/contextlib.py", line 210, in __aenter__
(APIServer pid=1)     return await anext(self.gen)
(APIServer pid=1)            ^^^^^^^^^^^^^^^^^^^^^
(APIServer pid=1)   File "/usr/local/lib/python3.12/dist-packages/vllm/entrypoints/openai/api_server.py", line 145, in build_async_engine_client_from_engine_args
(APIServer pid=1)     async_llm = AsyncLLM.from_vllm_config(
(APIServer pid=1)                 ^^^^^^^^^^^^^^^^^^^^^^^^^^
(APIServer pid=1)   File "/usr/local/lib/python3.12/dist-packages/vllm/v1/engine/async_llm.py", line 225, in from_vllm_config
(APIServer pid=1)     return cls(
(APIServer pid=1)            ^^^^
(APIServer pid=1)   File "/usr/local/lib/python3.12/dist-packages/vllm/v1/engine/async_llm.py", line 154, in __init__
(APIServer pid=1)     self.engine_core = EngineCoreClient.make_async_mp_client(
(APIServer pid=1)                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
(APIServer pid=1)   File "/usr/local/lib/python3.12/dist-packages/vllm/tracing/otel.py", line 178, in sync_wrapper
(APIServer pid=1)     return func(*args, **kwargs)
(APIServer pid=1)            ^^^^^^^^^^^^^^^^^^^^^
(APIServer pid=1)   File "/usr/local/lib/python3.12/dist-packages/vllm/v1/engine/core_client.py", line 128, in make_async_mp_client
(APIServer pid=1)     return AsyncMPClient(*client_args)
(APIServer pid=1)            ^^^^^^^^^^^^^^^^^^^^^^^^^^^
(APIServer pid=1)   File "/usr/local/lib/python3.12/dist-packages/vllm/tracing/otel.py", line 178, in sync_wrapper
(APIServer pid=1)     return func(*args, **kwargs)
(APIServer pid=1)            ^^^^^^^^^^^^^^^^^^^^^
(APIServer pid=1)   File "/usr/local/lib/python3.12/dist-packages/vllm/v1/engine/core_client.py", line 924, in __init__
(APIServer pid=1)     super().__init__(
(APIServer pid=1)   File "/usr/local/lib/python3.12/dist-packages/vllm/v1/engine/core_client.py", line 583, in __init__
(APIServer pid=1)     with launch_core_engines(
(APIServer pid=1)          ^^^^^^^^^^^^^^^^^^^^
(APIServer pid=1)   File "/usr/lib/python3.12/contextlib.py", line 144, in __exit__
(APIServer pid=1)     next(self.gen)
(APIServer pid=1)   File "/usr/local/lib/python3.12/dist-packages/vllm/v1/engine/utils.py", line 972, in launch_core_engines
(APIServer pid=1)     wait_for_engine_startup(
(APIServer pid=1)   File "/usr/local/lib/python3.12/dist-packages/vllm/v1/engine/utils.py", line 1031, in wait_for_engine_startup
(APIServer pid=1)     raise RuntimeError(
(APIServer pid=1) RuntimeError: Engine core initialization failed. See root cause above. Failed core proc(s): {}

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 Frequency boost: enabled CPU(s) scaling MHz: 57% CPU max MHz: 5756.4521 CPU min MHz: 624.1940 BogoMIPS: 8599.98 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 amd_lbr_v2 nopl xtopology nonstop_tsc cpuid extd_apicid aperfmperf rapl pni pclmulqdq monitor ssse3 fma cx16 sse4_1 sse4_2 movbe popcnt aes xsave avx f16c rdrand lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs skinit wdt tce topoext perfctr_core perfctr_nb bpext perfctr_llc mwaitx cpuid_fault cpb cat_l3 cdp_l3 hw_pstate ssbd mba perfmon_v2 ibrs ibpb stibp ibrs_enhanced vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid cqm rdt_a avx512f avx512dq adx smap avx512ifma clflushopt clwb avx512cd sha_ni avx512bw avx512vl xsaveopt xsavec xgetbv1 xsaves cqm_llc cqm_occup_llc cqm_mbm_total cqm_mbm_local user_shstk avx_vnni avx512_bf16 clzero irperf xsaveerptr rdpru wbnoinvd cppc arat npt lbrv svm_lock nrip_save tsc_scale vmcb_clean flushbyasid decodeassists pausefilter pfthreshold avic v_vmsave_vmload vgif x2avic v_spec_ctrl vnmi avx512vbmi umip pku ospke avx512_vbmi2 gfni vaes vpclmulqdq avx512_vnni avx512_bitalg avx512_vpopcntdq rdpid bus_lock_detect movdiri movdir64b overflow_recov succor smca fsrm avx512_vp2intersect flush_l1d amd_lbr_pmc_freeze Virtualization: AMD-V L1d cache: 768 KiB (16 instances) L1i cache: 512 KiB (16 instances) L2 cache: 16 MiB (16 instances) L3 cache: 64 MiB (2 instances) NUMA node(s): 1 NUMA node0 CPU(s): 0-31 Vulnerability Gather data sampling: Not affected Vulnerability Ghostwrite: Not affected Vulnerability Indirect target selection: 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 Old microcode: Not affected Vulnerability Reg file data sampling: Not affected Vulnerability Retbleed: Not affected Vulnerability Spec rstack overflow: Mitigation; IBPB on VMEXIT only 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; STIBP always-on; PBRSB-eIBRS Not affected; BHI Not affected Vulnerability Srbds: Not affected Vulnerability Tsa: Not affected Vulnerability Tsx async abort: Not affected Vulnerability Vmscape: Mitigation; IBPB on VMEXIT

Error msg:

(EngineCore pid=207) DEBUG 03-17 22:55:01 [model_executor/models/qwen3_next.py:776] GDN prefill kernel warmup (T=64) completed for layer language_model.model.layers.38.linear_attn
(EngineCore pid=207) INFO 03-17 22:55:01 [compilation/monitor.py:76] Initial profiling/warmup run took 158.40 s
(APIServer pid=1) DEBUG 03-17 22:55:05 [v1/engine/utils.py:1021] Waiting for 1 local, 0 remote core engine proc(s) to start.
(APIServer pid=1) DEBUG 03-17 22:55:15 [v1/engine/utils.py:1021] Waiting for 1 local, 0 remote core engine proc(s) to start.
(EngineCore pid=207) INFO 03-17 22:55:16 [v1/core/kv_cache_utils.py:826] Overriding num_gpu_blocks=0 with num_gpu_blocks_override=512
(EngineCore pid=207) ERROR 03-17 22:55:16 [v1/engine/core.py:1099] EngineCore failed to start.
(EngineCore pid=207) ERROR 03-17 22:55:16 [v1/engine/core.py:1099] Traceback (most recent call last):
(EngineCore pid=207) ERROR 03-17 22:55:16 [v1/engine/core.py:1099]   File "/usr/local/lib/python3.12/dist-packages/vllm/v1/engine/core.py", line 1073, in run_engine_core
(EngineCore pid=207) ERROR 03-17 22:55:16 [v1/engine/core.py:1099]     engine_core = EngineCoreProc(*args, engine_index=dp_rank, **kwargs)
(EngineCore pid=207) ERROR 03-17 22:55:16 [v1/engine/core.py:1099]                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
(EngineCore pid=207) ERROR 03-17 22:55:16 [v1/engine/core.py:1099]   File "/usr/local/lib/python3.12/dist-packages/vllm/tracing/otel.py", line 178, in sync_wrapper
(EngineCore pid=207) ERROR 03-17 22:55:16 [v1/engine/core.py:1099]     return func(*args, **kwargs)
(EngineCore pid=207) ERROR 03-17 22:55:16 [v1/engine/core.py:1099]            ^^^^^^^^^^^^^^^^^^^^^
(EngineCore pid=207) ERROR 03-17 22:55:16 [v1/engine/core.py:1099]   File "/usr/local/lib/python3.12/dist-packages/vllm/v1/engine/core.py", line 839, in __init__
(EngineCore pid=207) ERROR 03-17 22:55:16 [v1/engine/core.py:1099]     super().__init__(
(EngineCore pid=207) ERROR 03-17 22:55:16 [v1/engine/core.py:1099]   File "/usr/local/lib/python3.12/dist-packages/vllm/v1/engine/core.py", line 122, in __init__
(EngineCore pid=207) ERROR 03-17 22:55:16 [v1/engine/core.py:1099]     kv_cache_config = self._initialize_kv_caches(vllm_config)
(EngineCore pid=207) ERROR 03-17 22:55:16 [v1/engine/core.py:1099]                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
(EngineCore pid=207) ERROR 03-17 22:55:16 [v1/engine/core.py:1099]   File "/usr/local/lib/python3.12/dist-packages/vllm/tracing/otel.py", line 178, in sync_wrapper
(EngineCore pid=207) ERROR 03-17 22:55:16 [v1/engine/core.py:1099]     return func(*args, **kwargs)
(EngineCore pid=207) ERROR 03-17 22:55:16 [v1/engine/core.py:1099]            ^^^^^^^^^^^^^^^^^^^^^
(EngineCore pid=207) ERROR 03-17 22:55:16 [v1/engine/core.py:1099]   File "/usr/local/lib/python3.12/dist-packages/vllm/v1/engine/core.py", line 245, in _initialize_kv_caches
(EngineCore pid=207) ERROR 03-17 22:55:16 [v1/engine/core.py:1099]     available_gpu_memory = self.model_executor.determine_available_memory()
(EngineCore pid=207) ERROR 03-17 22:55:16 [v1/engine/core.py:1099]                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
(EngineCore pid=207) ERROR 03-17 22:55:16 [v1/engine/core.py:1099]   File "/usr/local/lib/python3.12/dist-packages/vllm/v1/executor/abstract.py", line 136, in determine_available_memory
(EngineCore pid=207) ERROR 03-17 22:55:16 [v1/engine/core.py:1099]     return self.collective_rpc("determine_available_memory")
(EngineCore pid=207) ERROR 03-17 22:55:16 [v1/engine/core.py:1099]            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
(EngineCore pid=207) ERROR 03-17 22:55:16 [v1/engine/core.py:1099]   File "/usr/local/lib/python3.12/dist-packages/vllm/v1/executor/uniproc_executor.py", line 78, in collective_rpc
(EngineCore pid=207) ERROR 03-17 22:55:16 [v1/engine/core.py:1099]     result = run_method(self.driver_worker, method, args, kwargs)
(EngineCore pid=207) ERROR 03-17 22:55:16 [v1/engine/core.py:1099]              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
(EngineCore pid=207) ERROR 03-17 22:55:16 [v1/engine/core.py:1099]   File "/usr/local/lib/python3.12/dist-packages/vllm/v1/serial_utils.py", line 459, in run_method
(EngineCore pid=207) ERROR 03-17 22:55:16 [v1/engine/core.py:1099]     return func(*args, **kwargs)
(EngineCore pid=207) ERROR 03-17 22:55:16 [v1/engine/core.py:1099]            ^^^^^^^^^^^^^^^^^^^^^
(EngineCore pid=207) ERROR 03-17 22:55:16 [v1/engine/core.py:1099]   File "/usr/local/lib/python3.12/dist-packages/torch/utils/_contextlib.py", line 124, in decorate_context
(EngineCore pid=207) ERROR 03-17 22:55:16 [v1/engine/core.py:1099]     return func(*args, **kwargs)
(EngineCore pid=207) ERROR 03-17 22:55:16 [v1/engine/core.py:1099]            ^^^^^^^^^^^^^^^^^^^^^
(EngineCore pid=207) ERROR 03-17 22:55:16 [v1/engine/core.py:1099]   File "/usr/local/lib/python3.12/dist-packages/vllm/v1/worker/gpu_worker.py", line 397, in determine_available_memory
(EngineCore pid=207) ERROR 03-17 22:55:16 [v1/engine/core.py:1099]     cudagraph_memory_estimate = self.model_runner.profile_cudagraph_memory()
(EngineCore pid=207) ERROR 03-17 22:55:16 [v1/engine/core.py:1099]                                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
(EngineCore pid=207) ERROR 03-17 22:55:16 [v1/engine/core.py:1099]   File "/usr/local/lib/python3.12/dist-packages/torch/utils/_contextlib.py", line 124, in decorate_context
(EngineCore pid=207) ERROR 03-17 22:55:16 [v1/engine/core.py:1099]     return func(*args, **kwargs)
(EngineCore pid=207) ERROR 03-17 22:55:16 [v1/engine/core.py:1099]            ^^^^^^^^^^^^^^^^^^^^^
(EngineCore pid=207) ERROR 03-17 22:55:16 [v1/engine/core.py:1099]   File "/usr/local/lib/python3.12/dist-packages/vllm/v1/worker/gpu_model_runner.py", line 5595, in profile_cudagraph_memory
(EngineCore pid=207) ERROR 03-17 22:55:16 [v1/engine/core.py:1099]     self._init_minimal_kv_cache_for_profiling()
(EngineCore pid=207) ERROR 03-17 22:55:16 [v1/engine/core.py:1099]   File "/usr/local/lib/python3.12/dist-packages/vllm/v1/worker/gpu_model_runner.py", line 5549, in _init_minimal_kv_cache_for_profiling
(EngineCore pid=207) ERROR 03-17 22:55:16 [v1/engine/core.py:1099]     self.initialize_kv_cache(minimal_config)
(EngineCore pid=207) ERROR 03-17 22:55:16 [v1/engine/core.py:1099]   File "/usr/local/lib/python3.12/dist-packages/vllm/v1/worker/gpu_model_runner.py", line 6487, in initialize_kv_cache
(EngineCore pid=207) ERROR 03-17 22:55:16 [v1/engine/core.py:1099]     block_sizes=[placeholder_block_size],
(EngineCore pid=207) ERROR 03-17 22:55:16 [v1/engine/core.py:1099]                  ^^^^^^^^^^^^^^^^^^^^^^
(EngineCore pid=207) ERROR 03-17 22:55:16 [v1/engine/core.py:1099] NameError: name 'placeholder_block_size' is not defined
(EngineCore pid=207) Process EngineCore:
(EngineCore pid=207) Traceback (most recent call last):
(EngineCore pid=207)   File "/usr/lib/python3.12/multiprocessing/process.py", line 314, in _bootstrap
(EngineCore pid=207)     self.run()
(EngineCore pid=207)   File "/usr/lib/python3.12/multiprocessing/process.py", line 108, in run
(EngineCore pid=207)     self._target(*self._args, **self._kwargs)
(EngineCore pid=207)   File "/usr/local/lib/python3.12/dist-packages/vllm/v1/engine/core.py", line 1103, in run_engine_core
(EngineCore pid=207)     raise e
(EngineCore pid=207)   File "/usr/local/lib/python3.12/dist-packages/vllm/v1/engine/core.py", line 1073, in run_engine_core
(EngineCore pid=207)     engine_core = EngineCoreProc(*args, engine_index=dp_rank, **kwargs)
(EngineCore pid=207)                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
(EngineCore pid=207)   File "/usr/local/lib/python3.12/dist-packages/vllm/tracing/otel.py", line 178, in sync_wrapper
(EngineCore pid=207)     return func(*args, **kwargs)
(EngineCore pid=207)            ^^^^^^^^^^^^^^^^^^^^^
(EngineCore pid=207)   File "/usr/local/lib/python3.12/dist-packages/vllm/v1/engine/core.py", line 839, in __init__
(EngineCore pid=207)     super().__init__(
(EngineCore pid=207)   File "/usr/local/lib/python3.12/dist-packages/vllm/v1/engine/core.py", line 122, in __init__
(EngineCore pid=207)     kv_cache_config = self._initialize_kv_caches(vllm_config)
(EngineCore pid=207)                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
(EngineCore pid=207)   File "/usr/local/lib/python3.12/dist-packages/vllm/tracing/otel.py", line 178, in sync_wrapper
(EngineCore pid=207)     return func(*args, **kwargs)
(EngineCore pid=207)            ^^^^^^^^^^^^^^^^^^^^^
(EngineCore pid=207)   File "/usr/local/lib/python3.12/dist-packages/vllm/v1/engine/core.py", line 245, in _initialize_kv_caches
(EngineCore pid=207)     available_gpu_memory = self.model_executor.determine_available_memory()
(EngineCore pid=207)                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
(EngineCore pid=207)   File "/usr/local/lib/python3.12/dist-packages/vllm/v1/executor/abstract.py", line 136, in determine_available_memory
(EngineCore pid=207)     return self.collective_rpc("determine_available_memory")
(EngineCore pid=207)            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
(EngineCore pid=207)   File "/usr/local/lib/python3.12/dist-packages/vllm/v1/executor/uniproc_executor.py", line 78, in collective_rpc
(EngineCore pid=207)     result = run_method(self.driver_worker, method, args, kwargs)
(EngineCore pid=207)              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
(EngineCore pid=207)   File "/usr/local/lib/python3.12/dist-packages/vllm/v1/serial_utils.py", line 459, in run_method
(EngineCore pid=207)     return func(*args, **kwargs)
(EngineCore pid=207)            ^^^^^^^^^^^^^^^^^^^^^
(EngineCore pid=207)   File "/usr/local/lib/python3.12/dist-packages/torch/utils/_contextlib.py", line 124, in decorate_context
(EngineCore pid=207)     return func(*args, **kwargs)
(EngineCore pid=207)            ^^^^^^^^^^^^^^^^^^^^^
(EngineCore pid=207)   File "/usr/local/lib/python3.12/dist-packages/vllm/v1/worker/gpu_worker.py", line 397, in determine_available_memory
(EngineCore pid=207)     cudagraph_memory_estimate = self.model_runner.profile_cudagraph_memory()
(EngineCore pid=207)                                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
(EngineCore pid=207)   File "/usr/local/lib/python3.12/dist-packages/torch/utils/_contextlib.py", line 124, in decorate_context
(EngineCore pid=207)     return func(*args, **kwargs)
(EngineCore pid=207)            ^^^^^^^^^^^^^^^^^^^^^
(EngineCore pid=207)   File "/usr/local/lib/python3.12/dist-packages/vllm/v1/worker/gpu_model_runner.py", line 5595, in profile_cudagraph_memory
(EngineCore pid=207)     self._init_minimal_kv_cache_for_profiling()
(EngineCore pid=207)   File "/usr/local/lib/python3.12/dist-packages/vllm/v1/worker/gpu_model_runner.py", line 5549, in _init_minimal_kv_cache_for_profiling
(EngineCore pid=207)     self.initialize_kv_cache(minimal_config)
(EngineCore pid=207)   File "/usr/local/lib/python3.12/dist-packages/vllm/v1/worker/gpu_model_runner.py", line 6487, in initialize_kv_cache
(EngineCore pid=207)     block_sizes=[placeholder_block_size],
(EngineCore pid=207)                  ^^^^^^^^^^^^^^^^^^^^^^
(EngineCore pid=207) NameError: name 'placeholder_block_size' is not defined
[rank0]:[W317 22:55:17.937545770 ProcessGroupNCCL.cpp:1553] Warning: WARNING: destroy_process_group() was not called before program exit, which can leak resources. For more info, please see https://pytorch.org/docs/stable/distributed.html#shutdown (function operator())
(APIServer pid=1) Traceback (most recent call last):
(APIServer pid=1)   File "/usr/local/bin/vllm", line 10, in <module>
(APIServer pid=1)     sys.exit(main())
(APIServer pid=1)              ^^^^^^
(APIServer pid=1)   File "/usr/local/lib/python3.12/dist-packages/vllm/entrypoints/cli/main.py", line 75, in main
(APIServer pid=1)     args.dispatch_function(args)
(APIServer pid=1)   File "/usr/local/lib/python3.12/dist-packages/vllm/entrypoints/cli/serve.py", line 118, in cmd
(APIServer pid=1)     uvloop.run(run_server(args))
(APIServer pid=1)   File "/usr/local/lib/python3.12/dist-packages/uvloop/__init__.py", line 96, in run
(APIServer pid=1)     return __asyncio.run(
(APIServer pid=1)            ^^^^^^^^^^^^^^
(APIServer pid=1)   File "/usr/lib/python3.12/asyncio/runners.py", line 195, in run
(APIServer pid=1)     return runner.run(main)
(APIServer pid=1)            ^^^^^^^^^^^^^^^^
(APIServer pid=1)   File "/usr/lib/python3.12/asyncio/runners.py", line 118, in run
(APIServer pid=1)     return self._loop.run_until_complete(task)
(APIServer pid=1)            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
(APIServer pid=1)   File "uvloop/loop.pyx", line 1518, in uvloop.loop.Loop.run_until_complete
(APIServer pid=1)   File "/usr/local/lib/python3.12/dist-packages/uvloop/__init__.py", line 48, in wrapper
(APIServer pid=1)     return await main
(APIServer pid=1)            ^^^^^^^^^^
(APIServer pid=1)   File "/usr/local/lib/python3.12/dist-packages/vllm/entrypoints/openai/api_server.py", line 675, in run_server
(APIServer pid=1)     await run_server_worker(listen_address, sock, args, **uvicorn_kwargs)
(APIServer pid=1)   File "/usr/local/lib/python3.12/dist-packages/vllm/entrypoints/openai/api_server.py", line 689, in run_server_worker
(APIServer pid=1)     async with build_async_engine_client(
(APIServer pid=1)                ^^^^^^^^^^^^^^^^^^^^^^^^^^
(APIServer pid=1)   File "/usr/lib/python3.12/contextlib.py", line 210, in __aenter__
(APIServer pid=1)     return await anext(self.gen)
(APIServer pid=1)            ^^^^^^^^^^^^^^^^^^^^^
(APIServer pid=1)   File "/usr/local/lib/python3.12/dist-packages/vllm/entrypoints/openai/api_server.py", line 104, in build_async_engine_client
(APIServer pid=1)     async with build_async_engine_client_from_engine_args(
(APIServer pid=1)                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
(APIServer pid=1)   File "/usr/lib/python3.12/contextlib.py", line 210, in __aenter__
(APIServer pid=1)     return await anext(self.gen)
(APIServer pid=1)            ^^^^^^^^^^^^^^^^^^^^^
(APIServer pid=1)   File "/usr/local/lib/python3.12/dist-packages/vllm/entrypoints/openai/api_server.py", line 145, in build_async_engine_client_from_engine_args
(APIServer pid=1)     async_llm = AsyncLLM.from_vllm_config(
(APIServer pid=1)                 ^^^^^^^^^^^^^^^^^^^^^^^^^^
(APIServer pid=1)   File "/usr/local/lib/python3.12/dist-packages/vllm/v1/engine/async_llm.py", line 225, in from_vllm_config
(APIServer pid=1)     return cls(
(APIServer pid=1)            ^^^^
(APIServer pid=1)   File "/usr/local/lib/python3.12/dist-packages/vllm/v1/engine/async_llm.py", line 154, in __init__
(APIServer pid=1)     self.engine_core = EngineCoreClient.make_async_mp_client(
(APIServer pid=1)                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
(APIServer pid=1)   File "/usr/local/lib/python3.12/dist-packages/vllm/tracing/otel.py", line 178, in sync_wrapper
(APIServer pid=1)     return func(*args, **kwargs)
(APIServer pid=1)            ^^^^^^^^^^^^^^^^^^^^^
(APIServer pid=1)   File "/usr/local/lib/python3.12/dist-packages/vllm/v1/engine/core_client.py", line 128, in make_async_mp_client
(APIServer pid=1)     return AsyncMPClient(*client_args)
(APIServer pid=1)            ^^^^^^^^^^^^^^^^^^^^^^^^^^^
(APIServer pid=1)   File "/usr/local/lib/python3.12/dist-packages/vllm/tracing/otel.py", line 178, in sync_wrapper
(APIServer pid=1)     return func(*args, **kwargs)
(APIServer pid=1)            ^^^^^^^^^^^^^^^^^^^^^
(APIServer pid=1)   File "/usr/local/lib/python3.12/dist-packages/vllm/v1/engine/core_client.py", line 924, in __init__
(APIServer pid=1)     super().__init__(
(APIServer pid=1)   File "/usr/local/lib/python3.12/dist-packages/vllm/v1/engine/core_client.py", line 583, in __init__
(APIServer pid=1)     with launch_core_engines(
(APIServer pid=1)          ^^^^^^^^^^^^^^^^^^^^
(APIServer pid=1)   File "/usr/lib/python3.12/contextlib.py", line 144, in __exit__
(APIServer pid=1)     next(self.gen)
(APIServer pid=1)   File "/usr/local/lib/python3.12/dist-packages/vllm/v1/engine/utils.py", line 972, in launch_core_engines
(APIServer pid=1)     wait_for_engine_startup(
(APIServer pid=1)   File "/usr/local/lib/python3.12/dist-packages/vllm/v1/engine/utils.py", line 1031, in wait_for_engine_startup
(APIServer pid=1)     raise RuntimeError(
(APIServer pid=1) RuntimeError: Engine core initialization failed. See root cause above. Failed core proc(s): {}

PR fix notes

PR #37622: [Bugfix] Fix Step3 pipeline parallel KeyError for residual tensor

Description (problem / solution / changelog)

Summary

This PR fixes a KeyError: 'residual' that occurs when running Step3 models (e.g., Qwen3.5) with pipeline parallel enabled.

Root Cause

The Step3TextModel.make_empty_intermediate_tensors_factory() was only creating tensors for ["hidden_states"], but the forward() method expects both hidden_states and residual in intermediate_tensors for non-first pipeline ranks.

When running with pipeline parallel:

  • First rank: sets residual = None
  • Non-first ranks: tries to access intermediate_tensors["residual"]KeyError

Fix

Added "residual" to the list of keys in make_empty_intermediate_tensors_factory():

# Before
self.make_empty_intermediate_tensors = make_empty_intermediate_tensors_factory(
    ["hidden_states"], config.hidden_size
)

# After  
self.make_empty_intermediate_tensors = make_empty_intermediate_tensors_factory(
    ["hidden_states", "residual"], config.hidden_size
)

Related Issues

  • Fixes #37543

Note on Issue #37350

During investigation, I also checked issue #37350 (placeholder_block_size is not defined). This issue has already been fixed in the current codebase - the variable is properly defined at line 597-612 in vllm/v1/worker/gpu_model_runner.py.

Testing

This fix follows the same pattern used in other models like step1.py which already includes both keys:

# vllm/model_executor/models/step1.py (line 312-315)
self.make_empty_intermediate_tensors = make_empty_intermediate_tensors_factory(
    ["hidden_states", "residual"],
    config.hidden_size,
)

Models with similar pipeline parallel patterns that correctly handle residuals:

  • step1.py: ✅ Already has both keys
  • step3p5.py: ✅ Correctly only uses hidden_states (doesn't use residual in forward)
  • step3_text.py: 🔧 Fixed in this PR

Changed files

  • vllm/model_executor/models/step3_text.py (modified, +1/-1)

Code Example

Collecting environment information...
uv is set
==============================
        System Info
==============================
OS                           : Ubuntu Resolute Raccoon (development branch) (x86_64)
GCC version                  : (Ubuntu 15.2.0-15ubuntu1) 15.2.0
Clang version                : 21.1.8 (4ubuntu2)
CMake version                : version 4.2.3
Libc version                 : glibc-2.42

==============================
       PyTorch Info
==============================
PyTorch version              : 2.10.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.13 (main, Mar  3 2026, 14:59:34) [Clang 21.1.4 ] (64-bit runtime)
Python platform              : Linux-6.19.0-9-generic-x86_64-with-glibc2.42

==============================
       CUDA / GPU Info
==============================
Is CUDA available            : True
CUDA runtime version         : 12.4.131
CUDA_MODULE_LOADING set to   : 
GPU models and configuration : GPU 0: NVIDIA GeForce RTX 5080
Nvidia driver version        : 590.48.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:                           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
Frequency boost:                         enabled
CPU(s) scaling MHz:                      57%
CPU max MHz:                             5756.4521
CPU min MHz:                             624.1940
BogoMIPS:                                8599.98
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 amd_lbr_v2 nopl xtopology nonstop_tsc cpuid extd_apicid aperfmperf rapl pni pclmulqdq monitor ssse3 fma cx16 sse4_1 sse4_2 movbe popcnt aes xsave avx f16c rdrand lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs skinit wdt tce topoext perfctr_core perfctr_nb bpext perfctr_llc mwaitx cpuid_fault cpb cat_l3 cdp_l3 hw_pstate ssbd mba perfmon_v2 ibrs ibpb stibp ibrs_enhanced vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid cqm rdt_a avx512f avx512dq adx smap avx512ifma clflushopt clwb avx512cd sha_ni avx512bw avx512vl xsaveopt xsavec xgetbv1 xsaves cqm_llc cqm_occup_llc cqm_mbm_total cqm_mbm_local user_shstk avx_vnni avx512_bf16 clzero irperf xsaveerptr rdpru wbnoinvd cppc arat npt lbrv svm_lock nrip_save tsc_scale vmcb_clean flushbyasid decodeassists pausefilter pfthreshold avic v_vmsave_vmload vgif x2avic v_spec_ctrl vnmi avx512vbmi umip pku ospke avx512_vbmi2 gfni vaes vpclmulqdq avx512_vnni avx512_bitalg avx512_vpopcntdq rdpid bus_lock_detect movdiri movdir64b overflow_recov succor smca fsrm avx512_vp2intersect flush_l1d amd_lbr_pmc_freeze
Virtualization:                          AMD-V
L1d cache:                               768 KiB (16 instances)
L1i cache:                               512 KiB (16 instances)
L2 cache:                                16 MiB (16 instances)
L3 cache:                                64 MiB (2 instances)
NUMA node(s):                            1
NUMA node0 CPU(s):                       0-31
Vulnerability Gather data sampling:      Not affected
Vulnerability Ghostwrite:                Not affected
Vulnerability Indirect target selection: 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 Old microcode:             Not affected
Vulnerability Reg file data sampling:    Not affected
Vulnerability Retbleed:                  Not affected
Vulnerability Spec rstack overflow:      Mitigation; IBPB on VMEXIT only
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; STIBP always-on; PBRSB-eIBRS Not affected; BHI Not affected
Vulnerability Srbds:                     Not affected
Vulnerability Tsa:                       Not affected
Vulnerability Tsx async abort:           Not affected
Vulnerability Vmscape:                   Mitigation; IBPB on VMEXIT

==============================
Versions of relevant libraries
==============================
[pip3] flashinfer-python==0.6.6
[pip3] numpy==2.2.6
[pip3] nvidia-cublas==13.1.0.3
[pip3] nvidia-cublas-cu12==12.8.4.1
[pip3] nvidia-cuda-cupti==13.0.85
[pip3] nvidia-cuda-cupti-cu12==12.8.90
[pip3] nvidia-cuda-nvrtc==13.0.88
[pip3] nvidia-cuda-nvrtc-cu12==12.8.93
[pip3] nvidia-cuda-runtime==13.0.96
[pip3] nvidia-cuda-runtime-cu12==12.8.90
[pip3] nvidia-cudnn-cu12==9.10.2.21
[pip3] nvidia-cudnn-cu13==9.19.0.56
[pip3] nvidia-cudnn-frontend==1.18.0
[pip3] nvidia-cufft==12.0.0.61
[pip3] nvidia-cufft-cu12==11.3.3.83
[pip3] nvidia-cufile==1.15.1.6
[pip3] nvidia-cufile-cu12==1.13.1.3
[pip3] nvidia-curand==10.4.0.35
[pip3] nvidia-curand-cu12==10.3.9.90
[pip3] nvidia-cusolver==12.0.4.66
[pip3] nvidia-cusolver-cu12==11.7.3.90
[pip3] nvidia-cusparse==12.6.3.3
[pip3] nvidia-cusparse-cu12==12.5.8.93
[pip3] nvidia-cusparselt-cu12==0.7.1
[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.590.48
[pip3] nvidia-nccl-cu12==2.27.5
[pip3] nvidia-nccl-cu13==2.29.3
[pip3] nvidia-nvjitlink==13.0.88
[pip3] nvidia-nvjitlink-cu12==12.8.93
[pip3] nvidia-nvshmem-cu12==3.4.5
[pip3] nvidia-nvshmem-cu13==3.4.5
[pip3] nvidia-nvtx==13.0.85
[pip3] nvidia-nvtx-cu12==12.8.90
[pip3] pyzmq==27.1.0
[pip3] torch==2.10.0
[pip3] torch-c-dlpack-ext==0.1.5
[pip3] torchaudio==2.10.0
[pip3] torchvision==0.25.0
[pip3] transformers==4.57.6
[pip3] triton==3.6.0+git9844da95
[conda] Could not collect

==============================
         vLLM Info
==============================
ROCM Version                 : Could not collect
vLLM Version                 : 0.17.2rc1.dev11+g293f036e6.d20260317 (git sha: 293f036e6, date: 20260317)
vLLM Build Flags:
  CUDA Archs: Not Set; ROCm: Disabled
GPU Topology:
  	GPU0	CPU Affinity	NUMA Affinity	GPU NUMA ID
GPU0	 X 	0-31	0		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
==============================
PYTORCH_NVML_BASED_CUDA_CHECK=1
TORCHINDUCTOR_COMPILE_THREADS=1
TORCHINDUCTOR_CACHE_DIR=/tmp/torchinductor_awm

---

(EngineCore pid=207) DEBUG 03-17 22:55:01 [model_executor/models/qwen3_next.py:776] GDN prefill kernel warmup (T=64) completed for layer language_model.model.layers.38.linear_attn
(EngineCore pid=207) INFO 03-17 22:55:01 [compilation/monitor.py:76] Initial profiling/warmup run took 158.40 s
(APIServer pid=1) DEBUG 03-17 22:55:05 [v1/engine/utils.py:1021] Waiting for 1 local, 0 remote core engine proc(s) to start.
(APIServer pid=1) DEBUG 03-17 22:55:15 [v1/engine/utils.py:1021] Waiting for 1 local, 0 remote core engine proc(s) to start.
(EngineCore pid=207) INFO 03-17 22:55:16 [v1/core/kv_cache_utils.py:826] Overriding num_gpu_blocks=0 with num_gpu_blocks_override=512
(EngineCore pid=207) ERROR 03-17 22:55:16 [v1/engine/core.py:1099] EngineCore failed to start.
(EngineCore pid=207) ERROR 03-17 22:55:16 [v1/engine/core.py:1099] Traceback (most recent call last):
(EngineCore pid=207) ERROR 03-17 22:55:16 [v1/engine/core.py:1099]   File "/usr/local/lib/python3.12/dist-packages/vllm/v1/engine/core.py", line 1073, in run_engine_core
(EngineCore pid=207) ERROR 03-17 22:55:16 [v1/engine/core.py:1099]     engine_core = EngineCoreProc(*args, engine_index=dp_rank, **kwargs)
(EngineCore pid=207) ERROR 03-17 22:55:16 [v1/engine/core.py:1099]                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
(EngineCore pid=207) ERROR 03-17 22:55:16 [v1/engine/core.py:1099]   File "/usr/local/lib/python3.12/dist-packages/vllm/tracing/otel.py", line 178, in sync_wrapper
(EngineCore pid=207) ERROR 03-17 22:55:16 [v1/engine/core.py:1099]     return func(*args, **kwargs)
(EngineCore pid=207) ERROR 03-17 22:55:16 [v1/engine/core.py:1099]            ^^^^^^^^^^^^^^^^^^^^^
(EngineCore pid=207) ERROR 03-17 22:55:16 [v1/engine/core.py:1099]   File "/usr/local/lib/python3.12/dist-packages/vllm/v1/engine/core.py", line 839, in __init__
(EngineCore pid=207) ERROR 03-17 22:55:16 [v1/engine/core.py:1099]     super().__init__(
(EngineCore pid=207) ERROR 03-17 22:55:16 [v1/engine/core.py:1099]   File "/usr/local/lib/python3.12/dist-packages/vllm/v1/engine/core.py", line 122, in __init__
(EngineCore pid=207) ERROR 03-17 22:55:16 [v1/engine/core.py:1099]     kv_cache_config = self._initialize_kv_caches(vllm_config)
(EngineCore pid=207) ERROR 03-17 22:55:16 [v1/engine/core.py:1099]                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
(EngineCore pid=207) ERROR 03-17 22:55:16 [v1/engine/core.py:1099]   File "/usr/local/lib/python3.12/dist-packages/vllm/tracing/otel.py", line 178, in sync_wrapper
(EngineCore pid=207) ERROR 03-17 22:55:16 [v1/engine/core.py:1099]     return func(*args, **kwargs)
(EngineCore pid=207) ERROR 03-17 22:55:16 [v1/engine/core.py:1099]            ^^^^^^^^^^^^^^^^^^^^^
(EngineCore pid=207) ERROR 03-17 22:55:16 [v1/engine/core.py:1099]   File "/usr/local/lib/python3.12/dist-packages/vllm/v1/engine/core.py", line 245, in _initialize_kv_caches
(EngineCore pid=207) ERROR 03-17 22:55:16 [v1/engine/core.py:1099]     available_gpu_memory = self.model_executor.determine_available_memory()
(EngineCore pid=207) ERROR 03-17 22:55:16 [v1/engine/core.py:1099]                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
(EngineCore pid=207) ERROR 03-17 22:55:16 [v1/engine/core.py:1099]   File "/usr/local/lib/python3.12/dist-packages/vllm/v1/executor/abstract.py", line 136, in determine_available_memory
(EngineCore pid=207) ERROR 03-17 22:55:16 [v1/engine/core.py:1099]     return self.collective_rpc("determine_available_memory")
(EngineCore pid=207) ERROR 03-17 22:55:16 [v1/engine/core.py:1099]            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
(EngineCore pid=207) ERROR 03-17 22:55:16 [v1/engine/core.py:1099]   File "/usr/local/lib/python3.12/dist-packages/vllm/v1/executor/uniproc_executor.py", line 78, in collective_rpc
(EngineCore pid=207) ERROR 03-17 22:55:16 [v1/engine/core.py:1099]     result = run_method(self.driver_worker, method, args, kwargs)
(EngineCore pid=207) ERROR 03-17 22:55:16 [v1/engine/core.py:1099]              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
(EngineCore pid=207) ERROR 03-17 22:55:16 [v1/engine/core.py:1099]   File "/usr/local/lib/python3.12/dist-packages/vllm/v1/serial_utils.py", line 459, in run_method
(EngineCore pid=207) ERROR 03-17 22:55:16 [v1/engine/core.py:1099]     return func(*args, **kwargs)
(EngineCore pid=207) ERROR 03-17 22:55:16 [v1/engine/core.py:1099]            ^^^^^^^^^^^^^^^^^^^^^
(EngineCore pid=207) ERROR 03-17 22:55:16 [v1/engine/core.py:1099]   File "/usr/local/lib/python3.12/dist-packages/torch/utils/_contextlib.py", line 124, in decorate_context
(EngineCore pid=207) ERROR 03-17 22:55:16 [v1/engine/core.py:1099]     return func(*args, **kwargs)
(EngineCore pid=207) ERROR 03-17 22:55:16 [v1/engine/core.py:1099]            ^^^^^^^^^^^^^^^^^^^^^
(EngineCore pid=207) ERROR 03-17 22:55:16 [v1/engine/core.py:1099]   File "/usr/local/lib/python3.12/dist-packages/vllm/v1/worker/gpu_worker.py", line 397, in determine_available_memory
(EngineCore pid=207) ERROR 03-17 22:55:16 [v1/engine/core.py:1099]     cudagraph_memory_estimate = self.model_runner.profile_cudagraph_memory()
(EngineCore pid=207) ERROR 03-17 22:55:16 [v1/engine/core.py:1099]                                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
(EngineCore pid=207) ERROR 03-17 22:55:16 [v1/engine/core.py:1099]   File "/usr/local/lib/python3.12/dist-packages/torch/utils/_contextlib.py", line 124, in decorate_context
(EngineCore pid=207) ERROR 03-17 22:55:16 [v1/engine/core.py:1099]     return func(*args, **kwargs)
(EngineCore pid=207) ERROR 03-17 22:55:16 [v1/engine/core.py:1099]            ^^^^^^^^^^^^^^^^^^^^^
(EngineCore pid=207) ERROR 03-17 22:55:16 [v1/engine/core.py:1099]   File "/usr/local/lib/python3.12/dist-packages/vllm/v1/worker/gpu_model_runner.py", line 5595, in profile_cudagraph_memory
(EngineCore pid=207) ERROR 03-17 22:55:16 [v1/engine/core.py:1099]     self._init_minimal_kv_cache_for_profiling()
(EngineCore pid=207) ERROR 03-17 22:55:16 [v1/engine/core.py:1099]   File "/usr/local/lib/python3.12/dist-packages/vllm/v1/worker/gpu_model_runner.py", line 5549, in _init_minimal_kv_cache_for_profiling
(EngineCore pid=207) ERROR 03-17 22:55:16 [v1/engine/core.py:1099]     self.initialize_kv_cache(minimal_config)
(EngineCore pid=207) ERROR 03-17 22:55:16 [v1/engine/core.py:1099]   File "/usr/local/lib/python3.12/dist-packages/vllm/v1/worker/gpu_model_runner.py", line 6487, in initialize_kv_cache
(EngineCore pid=207) ERROR 03-17 22:55:16 [v1/engine/core.py:1099]     block_sizes=[placeholder_block_size],
(EngineCore pid=207) ERROR 03-17 22:55:16 [v1/engine/core.py:1099]                  ^^^^^^^^^^^^^^^^^^^^^^
(EngineCore pid=207) ERROR 03-17 22:55:16 [v1/engine/core.py:1099] NameError: name 'placeholder_block_size' is not defined
(EngineCore pid=207) Process EngineCore:
(EngineCore pid=207) Traceback (most recent call last):
(EngineCore pid=207)   File "/usr/lib/python3.12/multiprocessing/process.py", line 314, in _bootstrap
(EngineCore pid=207)     self.run()
(EngineCore pid=207)   File "/usr/lib/python3.12/multiprocessing/process.py", line 108, in run
(EngineCore pid=207)     self._target(*self._args, **self._kwargs)
(EngineCore pid=207)   File "/usr/local/lib/python3.12/dist-packages/vllm/v1/engine/core.py", line 1103, in run_engine_core
(EngineCore pid=207)     raise e
(EngineCore pid=207)   File "/usr/local/lib/python3.12/dist-packages/vllm/v1/engine/core.py", line 1073, in run_engine_core
(EngineCore pid=207)     engine_core = EngineCoreProc(*args, engine_index=dp_rank, **kwargs)
(EngineCore pid=207)                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
(EngineCore pid=207)   File "/usr/local/lib/python3.12/dist-packages/vllm/tracing/otel.py", line 178, in sync_wrapper
(EngineCore pid=207)     return func(*args, **kwargs)
(EngineCore pid=207)            ^^^^^^^^^^^^^^^^^^^^^
(EngineCore pid=207)   File "/usr/local/lib/python3.12/dist-packages/vllm/v1/engine/core.py", line 839, in __init__
(EngineCore pid=207)     super().__init__(
(EngineCore pid=207)   File "/usr/local/lib/python3.12/dist-packages/vllm/v1/engine/core.py", line 122, in __init__
(EngineCore pid=207)     kv_cache_config = self._initialize_kv_caches(vllm_config)
(EngineCore pid=207)                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
(EngineCore pid=207)   File "/usr/local/lib/python3.12/dist-packages/vllm/tracing/otel.py", line 178, in sync_wrapper
(EngineCore pid=207)     return func(*args, **kwargs)
(EngineCore pid=207)            ^^^^^^^^^^^^^^^^^^^^^
(EngineCore pid=207)   File "/usr/local/lib/python3.12/dist-packages/vllm/v1/engine/core.py", line 245, in _initialize_kv_caches
(EngineCore pid=207)     available_gpu_memory = self.model_executor.determine_available_memory()
(EngineCore pid=207)                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
(EngineCore pid=207)   File "/usr/local/lib/python3.12/dist-packages/vllm/v1/executor/abstract.py", line 136, in determine_available_memory
(EngineCore pid=207)     return self.collective_rpc("determine_available_memory")
(EngineCore pid=207)            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
(EngineCore pid=207)   File "/usr/local/lib/python3.12/dist-packages/vllm/v1/executor/uniproc_executor.py", line 78, in collective_rpc
(EngineCore pid=207)     result = run_method(self.driver_worker, method, args, kwargs)
(EngineCore pid=207)              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
(EngineCore pid=207)   File "/usr/local/lib/python3.12/dist-packages/vllm/v1/serial_utils.py", line 459, in run_method
(EngineCore pid=207)     return func(*args, **kwargs)
(EngineCore pid=207)            ^^^^^^^^^^^^^^^^^^^^^
(EngineCore pid=207)   File "/usr/local/lib/python3.12/dist-packages/torch/utils/_contextlib.py", line 124, in decorate_context
(EngineCore pid=207)     return func(*args, **kwargs)
(EngineCore pid=207)            ^^^^^^^^^^^^^^^^^^^^^
(EngineCore pid=207)   File "/usr/local/lib/python3.12/dist-packages/vllm/v1/worker/gpu_worker.py", line 397, in determine_available_memory
(EngineCore pid=207)     cudagraph_memory_estimate = self.model_runner.profile_cudagraph_memory()
(EngineCore pid=207)                                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
(EngineCore pid=207)   File "/usr/local/lib/python3.12/dist-packages/torch/utils/_contextlib.py", line 124, in decorate_context
(EngineCore pid=207)     return func(*args, **kwargs)
(EngineCore pid=207)            ^^^^^^^^^^^^^^^^^^^^^
(EngineCore pid=207)   File "/usr/local/lib/python3.12/dist-packages/vllm/v1/worker/gpu_model_runner.py", line 5595, in profile_cudagraph_memory
(EngineCore pid=207)     self._init_minimal_kv_cache_for_profiling()
(EngineCore pid=207)   File "/usr/local/lib/python3.12/dist-packages/vllm/v1/worker/gpu_model_runner.py", line 5549, in _init_minimal_kv_cache_for_profiling
(EngineCore pid=207)     self.initialize_kv_cache(minimal_config)
(EngineCore pid=207)   File "/usr/local/lib/python3.12/dist-packages/vllm/v1/worker/gpu_model_runner.py", line 6487, in initialize_kv_cache
(EngineCore pid=207)     block_sizes=[placeholder_block_size],
(EngineCore pid=207)                  ^^^^^^^^^^^^^^^^^^^^^^
(EngineCore pid=207) NameError: name 'placeholder_block_size' is not defined
[rank0]:[W317 22:55:17.937545770 ProcessGroupNCCL.cpp:1553] Warning: WARNING: destroy_process_group() was not called before program exit, which can leak resources. For more info, please see https://pytorch.org/docs/stable/distributed.html#shutdown (function operator())
(APIServer pid=1) Traceback (most recent call last):
(APIServer pid=1)   File "/usr/local/bin/vllm", line 10, in <module>
(APIServer pid=1)     sys.exit(main())
(APIServer pid=1)              ^^^^^^
(APIServer pid=1)   File "/usr/local/lib/python3.12/dist-packages/vllm/entrypoints/cli/main.py", line 75, in main
(APIServer pid=1)     args.dispatch_function(args)
(APIServer pid=1)   File "/usr/local/lib/python3.12/dist-packages/vllm/entrypoints/cli/serve.py", line 118, in cmd
(APIServer pid=1)     uvloop.run(run_server(args))
(APIServer pid=1)   File "/usr/local/lib/python3.12/dist-packages/uvloop/__init__.py", line 96, in run
(APIServer pid=1)     return __asyncio.run(
(APIServer pid=1)            ^^^^^^^^^^^^^^
(APIServer pid=1)   File "/usr/lib/python3.12/asyncio/runners.py", line 195, in run
(APIServer pid=1)     return runner.run(main)
(APIServer pid=1)            ^^^^^^^^^^^^^^^^
(APIServer pid=1)   File "/usr/lib/python3.12/asyncio/runners.py", line 118, in run
(APIServer pid=1)     return self._loop.run_until_complete(task)
(APIServer pid=1)            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
(APIServer pid=1)   File "uvloop/loop.pyx", line 1518, in uvloop.loop.Loop.run_until_complete
(APIServer pid=1)   File "/usr/local/lib/python3.12/dist-packages/uvloop/__init__.py", line 48, in wrapper
(APIServer pid=1)     return await main
(APIServer pid=1)            ^^^^^^^^^^
(APIServer pid=1)   File "/usr/local/lib/python3.12/dist-packages/vllm/entrypoints/openai/api_server.py", line 675, in run_server
(APIServer pid=1)     await run_server_worker(listen_address, sock, args, **uvicorn_kwargs)
(APIServer pid=1)   File "/usr/local/lib/python3.12/dist-packages/vllm/entrypoints/openai/api_server.py", line 689, in run_server_worker
(APIServer pid=1)     async with build_async_engine_client(
(APIServer pid=1)                ^^^^^^^^^^^^^^^^^^^^^^^^^^
(APIServer pid=1)   File "/usr/lib/python3.12/contextlib.py", line 210, in __aenter__
(APIServer pid=1)     return await anext(self.gen)
(APIServer pid=1)            ^^^^^^^^^^^^^^^^^^^^^
(APIServer pid=1)   File "/usr/local/lib/python3.12/dist-packages/vllm/entrypoints/openai/api_server.py", line 104, in build_async_engine_client
(APIServer pid=1)     async with build_async_engine_client_from_engine_args(
(APIServer pid=1)                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
(APIServer pid=1)   File "/usr/lib/python3.12/contextlib.py", line 210, in __aenter__
(APIServer pid=1)     return await anext(self.gen)
(APIServer pid=1)            ^^^^^^^^^^^^^^^^^^^^^
(APIServer pid=1)   File "/usr/local/lib/python3.12/dist-packages/vllm/entrypoints/openai/api_server.py", line 145, in build_async_engine_client_from_engine_args
(APIServer pid=1)     async_llm = AsyncLLM.from_vllm_config(
(APIServer pid=1)                 ^^^^^^^^^^^^^^^^^^^^^^^^^^
(APIServer pid=1)   File "/usr/local/lib/python3.12/dist-packages/vllm/v1/engine/async_llm.py", line 225, in from_vllm_config
(APIServer pid=1)     return cls(
(APIServer pid=1)            ^^^^
(APIServer pid=1)   File "/usr/local/lib/python3.12/dist-packages/vllm/v1/engine/async_llm.py", line 154, in __init__
(APIServer pid=1)     self.engine_core = EngineCoreClient.make_async_mp_client(
(APIServer pid=1)                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
(APIServer pid=1)   File "/usr/local/lib/python3.12/dist-packages/vllm/tracing/otel.py", line 178, in sync_wrapper
(APIServer pid=1)     return func(*args, **kwargs)
(APIServer pid=1)            ^^^^^^^^^^^^^^^^^^^^^
(APIServer pid=1)   File "/usr/local/lib/python3.12/dist-packages/vllm/v1/engine/core_client.py", line 128, in make_async_mp_client
(APIServer pid=1)     return AsyncMPClient(*client_args)
(APIServer pid=1)            ^^^^^^^^^^^^^^^^^^^^^^^^^^^
(APIServer pid=1)   File "/usr/local/lib/python3.12/dist-packages/vllm/tracing/otel.py", line 178, in sync_wrapper
(APIServer pid=1)     return func(*args, **kwargs)
(APIServer pid=1)            ^^^^^^^^^^^^^^^^^^^^^
(APIServer pid=1)   File "/usr/local/lib/python3.12/dist-packages/vllm/v1/engine/core_client.py", line 924, in __init__
(APIServer pid=1)     super().__init__(
(APIServer pid=1)   File "/usr/local/lib/python3.12/dist-packages/vllm/v1/engine/core_client.py", line 583, in __init__
(APIServer pid=1)     with launch_core_engines(
(APIServer pid=1)          ^^^^^^^^^^^^^^^^^^^^
(APIServer pid=1)   File "/usr/lib/python3.12/contextlib.py", line 144, in __exit__
(APIServer pid=1)     next(self.gen)
(APIServer pid=1)   File "/usr/local/lib/python3.12/dist-packages/vllm/v1/engine/utils.py", line 972, in launch_core_engines
(APIServer pid=1)     wait_for_engine_startup(
(APIServer pid=1)   File "/usr/local/lib/python3.12/dist-packages/vllm/v1/engine/utils.py", line 1031, in wait_for_engine_startup
(APIServer pid=1)     raise RuntimeError(
(APIServer pid=1) RuntimeError: Engine core initialization failed. See root cause above. Failed core proc(s): {}

---

git clone https://github.com/vllm-project/vllm/
cd vllm

podman build --build-arg CUDA_VERSION=13.0.1 --build-arg BUILD_BASE_IMAGE=nvidia/cuda:13.0.1-devel-ubuntu22.04 --build-arg max_jobs=8 --build-arg nvcc_threads=2 --build-arg RUN_WHEEL_CHECK=false --build-arg torch_cuda_arch_list='9.0 10.0+PTX' --tag vllm/vllm-openai --target vllm-openai -f docker/Dockerfile .

podman run -e "VLLM_LOGGING_LEVEL=DEBUG" -e "VLLM_TRACE_FUNCTION=1" --device nvidia.com/gpu=all -v ~/.cache/huggingface:/root/.cache/huggingface -p 8080:8000 --ipc=host vllm/vllm-openai --model Qwen/Qwen3.5-35B-A3B-GPTQ-Int4 --dtype auto --api-key token-coiano --cpu-offload-gb 56 --gpu-memory-utilization 0.97 --tensor-parallel-size 1
RAW_BUFFERClick to expand / collapse

Your current environment

<details> <summary>The output of <code>python collect_env.py</code></summary>
Collecting environment information...
uv is set
==============================
        System Info
==============================
OS                           : Ubuntu Resolute Raccoon (development branch) (x86_64)
GCC version                  : (Ubuntu 15.2.0-15ubuntu1) 15.2.0
Clang version                : 21.1.8 (4ubuntu2)
CMake version                : version 4.2.3
Libc version                 : glibc-2.42

==============================
       PyTorch Info
==============================
PyTorch version              : 2.10.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.13 (main, Mar  3 2026, 14:59:34) [Clang 21.1.4 ] (64-bit runtime)
Python platform              : Linux-6.19.0-9-generic-x86_64-with-glibc2.42

==============================
       CUDA / GPU Info
==============================
Is CUDA available            : True
CUDA runtime version         : 12.4.131
CUDA_MODULE_LOADING set to   : 
GPU models and configuration : GPU 0: NVIDIA GeForce RTX 5080
Nvidia driver version        : 590.48.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:                           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
Frequency boost:                         enabled
CPU(s) scaling MHz:                      57%
CPU max MHz:                             5756.4521
CPU min MHz:                             624.1940
BogoMIPS:                                8599.98
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 amd_lbr_v2 nopl xtopology nonstop_tsc cpuid extd_apicid aperfmperf rapl pni pclmulqdq monitor ssse3 fma cx16 sse4_1 sse4_2 movbe popcnt aes xsave avx f16c rdrand lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs skinit wdt tce topoext perfctr_core perfctr_nb bpext perfctr_llc mwaitx cpuid_fault cpb cat_l3 cdp_l3 hw_pstate ssbd mba perfmon_v2 ibrs ibpb stibp ibrs_enhanced vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid cqm rdt_a avx512f avx512dq adx smap avx512ifma clflushopt clwb avx512cd sha_ni avx512bw avx512vl xsaveopt xsavec xgetbv1 xsaves cqm_llc cqm_occup_llc cqm_mbm_total cqm_mbm_local user_shstk avx_vnni avx512_bf16 clzero irperf xsaveerptr rdpru wbnoinvd cppc arat npt lbrv svm_lock nrip_save tsc_scale vmcb_clean flushbyasid decodeassists pausefilter pfthreshold avic v_vmsave_vmload vgif x2avic v_spec_ctrl vnmi avx512vbmi umip pku ospke avx512_vbmi2 gfni vaes vpclmulqdq avx512_vnni avx512_bitalg avx512_vpopcntdq rdpid bus_lock_detect movdiri movdir64b overflow_recov succor smca fsrm avx512_vp2intersect flush_l1d amd_lbr_pmc_freeze
Virtualization:                          AMD-V
L1d cache:                               768 KiB (16 instances)
L1i cache:                               512 KiB (16 instances)
L2 cache:                                16 MiB (16 instances)
L3 cache:                                64 MiB (2 instances)
NUMA node(s):                            1
NUMA node0 CPU(s):                       0-31
Vulnerability Gather data sampling:      Not affected
Vulnerability Ghostwrite:                Not affected
Vulnerability Indirect target selection: 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 Old microcode:             Not affected
Vulnerability Reg file data sampling:    Not affected
Vulnerability Retbleed:                  Not affected
Vulnerability Spec rstack overflow:      Mitigation; IBPB on VMEXIT only
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; STIBP always-on; PBRSB-eIBRS Not affected; BHI Not affected
Vulnerability Srbds:                     Not affected
Vulnerability Tsa:                       Not affected
Vulnerability Tsx async abort:           Not affected
Vulnerability Vmscape:                   Mitigation; IBPB on VMEXIT

==============================
Versions of relevant libraries
==============================
[pip3] flashinfer-python==0.6.6
[pip3] numpy==2.2.6
[pip3] nvidia-cublas==13.1.0.3
[pip3] nvidia-cublas-cu12==12.8.4.1
[pip3] nvidia-cuda-cupti==13.0.85
[pip3] nvidia-cuda-cupti-cu12==12.8.90
[pip3] nvidia-cuda-nvrtc==13.0.88
[pip3] nvidia-cuda-nvrtc-cu12==12.8.93
[pip3] nvidia-cuda-runtime==13.0.96
[pip3] nvidia-cuda-runtime-cu12==12.8.90
[pip3] nvidia-cudnn-cu12==9.10.2.21
[pip3] nvidia-cudnn-cu13==9.19.0.56
[pip3] nvidia-cudnn-frontend==1.18.0
[pip3] nvidia-cufft==12.0.0.61
[pip3] nvidia-cufft-cu12==11.3.3.83
[pip3] nvidia-cufile==1.15.1.6
[pip3] nvidia-cufile-cu12==1.13.1.3
[pip3] nvidia-curand==10.4.0.35
[pip3] nvidia-curand-cu12==10.3.9.90
[pip3] nvidia-cusolver==12.0.4.66
[pip3] nvidia-cusolver-cu12==11.7.3.90
[pip3] nvidia-cusparse==12.6.3.3
[pip3] nvidia-cusparse-cu12==12.5.8.93
[pip3] nvidia-cusparselt-cu12==0.7.1
[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.590.48
[pip3] nvidia-nccl-cu12==2.27.5
[pip3] nvidia-nccl-cu13==2.29.3
[pip3] nvidia-nvjitlink==13.0.88
[pip3] nvidia-nvjitlink-cu12==12.8.93
[pip3] nvidia-nvshmem-cu12==3.4.5
[pip3] nvidia-nvshmem-cu13==3.4.5
[pip3] nvidia-nvtx==13.0.85
[pip3] nvidia-nvtx-cu12==12.8.90
[pip3] pyzmq==27.1.0
[pip3] torch==2.10.0
[pip3] torch-c-dlpack-ext==0.1.5
[pip3] torchaudio==2.10.0
[pip3] torchvision==0.25.0
[pip3] transformers==4.57.6
[pip3] triton==3.6.0+git9844da95
[conda] Could not collect

==============================
         vLLM Info
==============================
ROCM Version                 : Could not collect
vLLM Version                 : 0.17.2rc1.dev11+g293f036e6.d20260317 (git sha: 293f036e6, date: 20260317)
vLLM Build Flags:
  CUDA Archs: Not Set; ROCm: Disabled
GPU Topology:
  	GPU0	CPU Affinity	NUMA Affinity	GPU NUMA ID
GPU0	 X 	0-31	0		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
==============================
PYTORCH_NVML_BASED_CUDA_CHECK=1
TORCHINDUCTOR_COMPILE_THREADS=1
TORCHINDUCTOR_CACHE_DIR=/tmp/torchinductor_awm
</details>

🐛 Describe the bug

Error msg:

(EngineCore pid=207) DEBUG 03-17 22:55:01 [model_executor/models/qwen3_next.py:776] GDN prefill kernel warmup (T=64) completed for layer language_model.model.layers.38.linear_attn
(EngineCore pid=207) INFO 03-17 22:55:01 [compilation/monitor.py:76] Initial profiling/warmup run took 158.40 s
(APIServer pid=1) DEBUG 03-17 22:55:05 [v1/engine/utils.py:1021] Waiting for 1 local, 0 remote core engine proc(s) to start.
(APIServer pid=1) DEBUG 03-17 22:55:15 [v1/engine/utils.py:1021] Waiting for 1 local, 0 remote core engine proc(s) to start.
(EngineCore pid=207) INFO 03-17 22:55:16 [v1/core/kv_cache_utils.py:826] Overriding num_gpu_blocks=0 with num_gpu_blocks_override=512
(EngineCore pid=207) ERROR 03-17 22:55:16 [v1/engine/core.py:1099] EngineCore failed to start.
(EngineCore pid=207) ERROR 03-17 22:55:16 [v1/engine/core.py:1099] Traceback (most recent call last):
(EngineCore pid=207) ERROR 03-17 22:55:16 [v1/engine/core.py:1099]   File "/usr/local/lib/python3.12/dist-packages/vllm/v1/engine/core.py", line 1073, in run_engine_core
(EngineCore pid=207) ERROR 03-17 22:55:16 [v1/engine/core.py:1099]     engine_core = EngineCoreProc(*args, engine_index=dp_rank, **kwargs)
(EngineCore pid=207) ERROR 03-17 22:55:16 [v1/engine/core.py:1099]                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
(EngineCore pid=207) ERROR 03-17 22:55:16 [v1/engine/core.py:1099]   File "/usr/local/lib/python3.12/dist-packages/vllm/tracing/otel.py", line 178, in sync_wrapper
(EngineCore pid=207) ERROR 03-17 22:55:16 [v1/engine/core.py:1099]     return func(*args, **kwargs)
(EngineCore pid=207) ERROR 03-17 22:55:16 [v1/engine/core.py:1099]            ^^^^^^^^^^^^^^^^^^^^^
(EngineCore pid=207) ERROR 03-17 22:55:16 [v1/engine/core.py:1099]   File "/usr/local/lib/python3.12/dist-packages/vllm/v1/engine/core.py", line 839, in __init__
(EngineCore pid=207) ERROR 03-17 22:55:16 [v1/engine/core.py:1099]     super().__init__(
(EngineCore pid=207) ERROR 03-17 22:55:16 [v1/engine/core.py:1099]   File "/usr/local/lib/python3.12/dist-packages/vllm/v1/engine/core.py", line 122, in __init__
(EngineCore pid=207) ERROR 03-17 22:55:16 [v1/engine/core.py:1099]     kv_cache_config = self._initialize_kv_caches(vllm_config)
(EngineCore pid=207) ERROR 03-17 22:55:16 [v1/engine/core.py:1099]                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
(EngineCore pid=207) ERROR 03-17 22:55:16 [v1/engine/core.py:1099]   File "/usr/local/lib/python3.12/dist-packages/vllm/tracing/otel.py", line 178, in sync_wrapper
(EngineCore pid=207) ERROR 03-17 22:55:16 [v1/engine/core.py:1099]     return func(*args, **kwargs)
(EngineCore pid=207) ERROR 03-17 22:55:16 [v1/engine/core.py:1099]            ^^^^^^^^^^^^^^^^^^^^^
(EngineCore pid=207) ERROR 03-17 22:55:16 [v1/engine/core.py:1099]   File "/usr/local/lib/python3.12/dist-packages/vllm/v1/engine/core.py", line 245, in _initialize_kv_caches
(EngineCore pid=207) ERROR 03-17 22:55:16 [v1/engine/core.py:1099]     available_gpu_memory = self.model_executor.determine_available_memory()
(EngineCore pid=207) ERROR 03-17 22:55:16 [v1/engine/core.py:1099]                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
(EngineCore pid=207) ERROR 03-17 22:55:16 [v1/engine/core.py:1099]   File "/usr/local/lib/python3.12/dist-packages/vllm/v1/executor/abstract.py", line 136, in determine_available_memory
(EngineCore pid=207) ERROR 03-17 22:55:16 [v1/engine/core.py:1099]     return self.collective_rpc("determine_available_memory")
(EngineCore pid=207) ERROR 03-17 22:55:16 [v1/engine/core.py:1099]            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
(EngineCore pid=207) ERROR 03-17 22:55:16 [v1/engine/core.py:1099]   File "/usr/local/lib/python3.12/dist-packages/vllm/v1/executor/uniproc_executor.py", line 78, in collective_rpc
(EngineCore pid=207) ERROR 03-17 22:55:16 [v1/engine/core.py:1099]     result = run_method(self.driver_worker, method, args, kwargs)
(EngineCore pid=207) ERROR 03-17 22:55:16 [v1/engine/core.py:1099]              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
(EngineCore pid=207) ERROR 03-17 22:55:16 [v1/engine/core.py:1099]   File "/usr/local/lib/python3.12/dist-packages/vllm/v1/serial_utils.py", line 459, in run_method
(EngineCore pid=207) ERROR 03-17 22:55:16 [v1/engine/core.py:1099]     return func(*args, **kwargs)
(EngineCore pid=207) ERROR 03-17 22:55:16 [v1/engine/core.py:1099]            ^^^^^^^^^^^^^^^^^^^^^
(EngineCore pid=207) ERROR 03-17 22:55:16 [v1/engine/core.py:1099]   File "/usr/local/lib/python3.12/dist-packages/torch/utils/_contextlib.py", line 124, in decorate_context
(EngineCore pid=207) ERROR 03-17 22:55:16 [v1/engine/core.py:1099]     return func(*args, **kwargs)
(EngineCore pid=207) ERROR 03-17 22:55:16 [v1/engine/core.py:1099]            ^^^^^^^^^^^^^^^^^^^^^
(EngineCore pid=207) ERROR 03-17 22:55:16 [v1/engine/core.py:1099]   File "/usr/local/lib/python3.12/dist-packages/vllm/v1/worker/gpu_worker.py", line 397, in determine_available_memory
(EngineCore pid=207) ERROR 03-17 22:55:16 [v1/engine/core.py:1099]     cudagraph_memory_estimate = self.model_runner.profile_cudagraph_memory()
(EngineCore pid=207) ERROR 03-17 22:55:16 [v1/engine/core.py:1099]                                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
(EngineCore pid=207) ERROR 03-17 22:55:16 [v1/engine/core.py:1099]   File "/usr/local/lib/python3.12/dist-packages/torch/utils/_contextlib.py", line 124, in decorate_context
(EngineCore pid=207) ERROR 03-17 22:55:16 [v1/engine/core.py:1099]     return func(*args, **kwargs)
(EngineCore pid=207) ERROR 03-17 22:55:16 [v1/engine/core.py:1099]            ^^^^^^^^^^^^^^^^^^^^^
(EngineCore pid=207) ERROR 03-17 22:55:16 [v1/engine/core.py:1099]   File "/usr/local/lib/python3.12/dist-packages/vllm/v1/worker/gpu_model_runner.py", line 5595, in profile_cudagraph_memory
(EngineCore pid=207) ERROR 03-17 22:55:16 [v1/engine/core.py:1099]     self._init_minimal_kv_cache_for_profiling()
(EngineCore pid=207) ERROR 03-17 22:55:16 [v1/engine/core.py:1099]   File "/usr/local/lib/python3.12/dist-packages/vllm/v1/worker/gpu_model_runner.py", line 5549, in _init_minimal_kv_cache_for_profiling
(EngineCore pid=207) ERROR 03-17 22:55:16 [v1/engine/core.py:1099]     self.initialize_kv_cache(minimal_config)
(EngineCore pid=207) ERROR 03-17 22:55:16 [v1/engine/core.py:1099]   File "/usr/local/lib/python3.12/dist-packages/vllm/v1/worker/gpu_model_runner.py", line 6487, in initialize_kv_cache
(EngineCore pid=207) ERROR 03-17 22:55:16 [v1/engine/core.py:1099]     block_sizes=[placeholder_block_size],
(EngineCore pid=207) ERROR 03-17 22:55:16 [v1/engine/core.py:1099]                  ^^^^^^^^^^^^^^^^^^^^^^
(EngineCore pid=207) ERROR 03-17 22:55:16 [v1/engine/core.py:1099] NameError: name 'placeholder_block_size' is not defined
(EngineCore pid=207) Process EngineCore:
(EngineCore pid=207) Traceback (most recent call last):
(EngineCore pid=207)   File "/usr/lib/python3.12/multiprocessing/process.py", line 314, in _bootstrap
(EngineCore pid=207)     self.run()
(EngineCore pid=207)   File "/usr/lib/python3.12/multiprocessing/process.py", line 108, in run
(EngineCore pid=207)     self._target(*self._args, **self._kwargs)
(EngineCore pid=207)   File "/usr/local/lib/python3.12/dist-packages/vllm/v1/engine/core.py", line 1103, in run_engine_core
(EngineCore pid=207)     raise e
(EngineCore pid=207)   File "/usr/local/lib/python3.12/dist-packages/vllm/v1/engine/core.py", line 1073, in run_engine_core
(EngineCore pid=207)     engine_core = EngineCoreProc(*args, engine_index=dp_rank, **kwargs)
(EngineCore pid=207)                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
(EngineCore pid=207)   File "/usr/local/lib/python3.12/dist-packages/vllm/tracing/otel.py", line 178, in sync_wrapper
(EngineCore pid=207)     return func(*args, **kwargs)
(EngineCore pid=207)            ^^^^^^^^^^^^^^^^^^^^^
(EngineCore pid=207)   File "/usr/local/lib/python3.12/dist-packages/vllm/v1/engine/core.py", line 839, in __init__
(EngineCore pid=207)     super().__init__(
(EngineCore pid=207)   File "/usr/local/lib/python3.12/dist-packages/vllm/v1/engine/core.py", line 122, in __init__
(EngineCore pid=207)     kv_cache_config = self._initialize_kv_caches(vllm_config)
(EngineCore pid=207)                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
(EngineCore pid=207)   File "/usr/local/lib/python3.12/dist-packages/vllm/tracing/otel.py", line 178, in sync_wrapper
(EngineCore pid=207)     return func(*args, **kwargs)
(EngineCore pid=207)            ^^^^^^^^^^^^^^^^^^^^^
(EngineCore pid=207)   File "/usr/local/lib/python3.12/dist-packages/vllm/v1/engine/core.py", line 245, in _initialize_kv_caches
(EngineCore pid=207)     available_gpu_memory = self.model_executor.determine_available_memory()
(EngineCore pid=207)                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
(EngineCore pid=207)   File "/usr/local/lib/python3.12/dist-packages/vllm/v1/executor/abstract.py", line 136, in determine_available_memory
(EngineCore pid=207)     return self.collective_rpc("determine_available_memory")
(EngineCore pid=207)            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
(EngineCore pid=207)   File "/usr/local/lib/python3.12/dist-packages/vllm/v1/executor/uniproc_executor.py", line 78, in collective_rpc
(EngineCore pid=207)     result = run_method(self.driver_worker, method, args, kwargs)
(EngineCore pid=207)              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
(EngineCore pid=207)   File "/usr/local/lib/python3.12/dist-packages/vllm/v1/serial_utils.py", line 459, in run_method
(EngineCore pid=207)     return func(*args, **kwargs)
(EngineCore pid=207)            ^^^^^^^^^^^^^^^^^^^^^
(EngineCore pid=207)   File "/usr/local/lib/python3.12/dist-packages/torch/utils/_contextlib.py", line 124, in decorate_context
(EngineCore pid=207)     return func(*args, **kwargs)
(EngineCore pid=207)            ^^^^^^^^^^^^^^^^^^^^^
(EngineCore pid=207)   File "/usr/local/lib/python3.12/dist-packages/vllm/v1/worker/gpu_worker.py", line 397, in determine_available_memory
(EngineCore pid=207)     cudagraph_memory_estimate = self.model_runner.profile_cudagraph_memory()
(EngineCore pid=207)                                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
(EngineCore pid=207)   File "/usr/local/lib/python3.12/dist-packages/torch/utils/_contextlib.py", line 124, in decorate_context
(EngineCore pid=207)     return func(*args, **kwargs)
(EngineCore pid=207)            ^^^^^^^^^^^^^^^^^^^^^
(EngineCore pid=207)   File "/usr/local/lib/python3.12/dist-packages/vllm/v1/worker/gpu_model_runner.py", line 5595, in profile_cudagraph_memory
(EngineCore pid=207)     self._init_minimal_kv_cache_for_profiling()
(EngineCore pid=207)   File "/usr/local/lib/python3.12/dist-packages/vllm/v1/worker/gpu_model_runner.py", line 5549, in _init_minimal_kv_cache_for_profiling
(EngineCore pid=207)     self.initialize_kv_cache(minimal_config)
(EngineCore pid=207)   File "/usr/local/lib/python3.12/dist-packages/vllm/v1/worker/gpu_model_runner.py", line 6487, in initialize_kv_cache
(EngineCore pid=207)     block_sizes=[placeholder_block_size],
(EngineCore pid=207)                  ^^^^^^^^^^^^^^^^^^^^^^
(EngineCore pid=207) NameError: name 'placeholder_block_size' is not defined
[rank0]:[W317 22:55:17.937545770 ProcessGroupNCCL.cpp:1553] Warning: WARNING: destroy_process_group() was not called before program exit, which can leak resources. For more info, please see https://pytorch.org/docs/stable/distributed.html#shutdown (function operator())
(APIServer pid=1) Traceback (most recent call last):
(APIServer pid=1)   File "/usr/local/bin/vllm", line 10, in <module>
(APIServer pid=1)     sys.exit(main())
(APIServer pid=1)              ^^^^^^
(APIServer pid=1)   File "/usr/local/lib/python3.12/dist-packages/vllm/entrypoints/cli/main.py", line 75, in main
(APIServer pid=1)     args.dispatch_function(args)
(APIServer pid=1)   File "/usr/local/lib/python3.12/dist-packages/vllm/entrypoints/cli/serve.py", line 118, in cmd
(APIServer pid=1)     uvloop.run(run_server(args))
(APIServer pid=1)   File "/usr/local/lib/python3.12/dist-packages/uvloop/__init__.py", line 96, in run
(APIServer pid=1)     return __asyncio.run(
(APIServer pid=1)            ^^^^^^^^^^^^^^
(APIServer pid=1)   File "/usr/lib/python3.12/asyncio/runners.py", line 195, in run
(APIServer pid=1)     return runner.run(main)
(APIServer pid=1)            ^^^^^^^^^^^^^^^^
(APIServer pid=1)   File "/usr/lib/python3.12/asyncio/runners.py", line 118, in run
(APIServer pid=1)     return self._loop.run_until_complete(task)
(APIServer pid=1)            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
(APIServer pid=1)   File "uvloop/loop.pyx", line 1518, in uvloop.loop.Loop.run_until_complete
(APIServer pid=1)   File "/usr/local/lib/python3.12/dist-packages/uvloop/__init__.py", line 48, in wrapper
(APIServer pid=1)     return await main
(APIServer pid=1)            ^^^^^^^^^^
(APIServer pid=1)   File "/usr/local/lib/python3.12/dist-packages/vllm/entrypoints/openai/api_server.py", line 675, in run_server
(APIServer pid=1)     await run_server_worker(listen_address, sock, args, **uvicorn_kwargs)
(APIServer pid=1)   File "/usr/local/lib/python3.12/dist-packages/vllm/entrypoints/openai/api_server.py", line 689, in run_server_worker
(APIServer pid=1)     async with build_async_engine_client(
(APIServer pid=1)                ^^^^^^^^^^^^^^^^^^^^^^^^^^
(APIServer pid=1)   File "/usr/lib/python3.12/contextlib.py", line 210, in __aenter__
(APIServer pid=1)     return await anext(self.gen)
(APIServer pid=1)            ^^^^^^^^^^^^^^^^^^^^^
(APIServer pid=1)   File "/usr/local/lib/python3.12/dist-packages/vllm/entrypoints/openai/api_server.py", line 104, in build_async_engine_client
(APIServer pid=1)     async with build_async_engine_client_from_engine_args(
(APIServer pid=1)                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
(APIServer pid=1)   File "/usr/lib/python3.12/contextlib.py", line 210, in __aenter__
(APIServer pid=1)     return await anext(self.gen)
(APIServer pid=1)            ^^^^^^^^^^^^^^^^^^^^^
(APIServer pid=1)   File "/usr/local/lib/python3.12/dist-packages/vllm/entrypoints/openai/api_server.py", line 145, in build_async_engine_client_from_engine_args
(APIServer pid=1)     async_llm = AsyncLLM.from_vllm_config(
(APIServer pid=1)                 ^^^^^^^^^^^^^^^^^^^^^^^^^^
(APIServer pid=1)   File "/usr/local/lib/python3.12/dist-packages/vllm/v1/engine/async_llm.py", line 225, in from_vllm_config
(APIServer pid=1)     return cls(
(APIServer pid=1)            ^^^^
(APIServer pid=1)   File "/usr/local/lib/python3.12/dist-packages/vllm/v1/engine/async_llm.py", line 154, in __init__
(APIServer pid=1)     self.engine_core = EngineCoreClient.make_async_mp_client(
(APIServer pid=1)                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
(APIServer pid=1)   File "/usr/local/lib/python3.12/dist-packages/vllm/tracing/otel.py", line 178, in sync_wrapper
(APIServer pid=1)     return func(*args, **kwargs)
(APIServer pid=1)            ^^^^^^^^^^^^^^^^^^^^^
(APIServer pid=1)   File "/usr/local/lib/python3.12/dist-packages/vllm/v1/engine/core_client.py", line 128, in make_async_mp_client
(APIServer pid=1)     return AsyncMPClient(*client_args)
(APIServer pid=1)            ^^^^^^^^^^^^^^^^^^^^^^^^^^^
(APIServer pid=1)   File "/usr/local/lib/python3.12/dist-packages/vllm/tracing/otel.py", line 178, in sync_wrapper
(APIServer pid=1)     return func(*args, **kwargs)
(APIServer pid=1)            ^^^^^^^^^^^^^^^^^^^^^
(APIServer pid=1)   File "/usr/local/lib/python3.12/dist-packages/vllm/v1/engine/core_client.py", line 924, in __init__
(APIServer pid=1)     super().__init__(
(APIServer pid=1)   File "/usr/local/lib/python3.12/dist-packages/vllm/v1/engine/core_client.py", line 583, in __init__
(APIServer pid=1)     with launch_core_engines(
(APIServer pid=1)          ^^^^^^^^^^^^^^^^^^^^
(APIServer pid=1)   File "/usr/lib/python3.12/contextlib.py", line 144, in __exit__
(APIServer pid=1)     next(self.gen)
(APIServer pid=1)   File "/usr/local/lib/python3.12/dist-packages/vllm/v1/engine/utils.py", line 972, in launch_core_engines
(APIServer pid=1)     wait_for_engine_startup(
(APIServer pid=1)   File "/usr/local/lib/python3.12/dist-packages/vllm/v1/engine/utils.py", line 1031, in wait_for_engine_startup
(APIServer pid=1)     raise RuntimeError(
(APIServer pid=1) RuntimeError: Engine core initialization failed. See root cause above. Failed core proc(s): {}

Steps to reproduce:

git clone https://github.com/vllm-project/vllm/
cd vllm

podman build --build-arg CUDA_VERSION=13.0.1 --build-arg BUILD_BASE_IMAGE=nvidia/cuda:13.0.1-devel-ubuntu22.04 --build-arg max_jobs=8 --build-arg nvcc_threads=2 --build-arg RUN_WHEEL_CHECK=false --build-arg torch_cuda_arch_list='9.0 10.0+PTX' --tag vllm/vllm-openai --target vllm-openai -f docker/Dockerfile .

podman run -e "VLLM_LOGGING_LEVEL=DEBUG" -e "VLLM_TRACE_FUNCTION=1" --device nvidia.com/gpu=all -v ~/.cache/huggingface:/root/.cache/huggingface -p 8080:8000 --ipc=host vllm/vllm-openai --model Qwen/Qwen3.5-35B-A3B-GPTQ-Int4 --dtype auto --api-key token-coiano --cpu-offload-gb 56 --gpu-memory-utilization 0.97 --tensor-parallel-size 1

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

Fix Plan

The error message indicates a NameError due to the undefined variable placeholder_block_size. To fix this issue, we need to define this variable before using it.

Here are the steps to fix the issue:

  • Identify the file where the error occurs: gpu_model_runner.py
  • Locate the line where the error happens: block_sizes=[placeholder_block_size],
  • Define the placeholder_block_size variable before using it. The value of this variable depends on the specific requirements of your application.

Example code:

# Define the placeholder_block_size variable
placeholder_block_size = 102

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]: 'placeholder_block_size' is not defined [1 pull requests, 1 participants]