vllm - 💡(How to fix) Fix [Bug]: h200 deepseekv4 pro mtp [1 comments, 1 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

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

GitHub issue graph ai analysis

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

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

Helpful · Quick feedback

Loading…
GitHub stats
vllm-project/vllm#41483Fetched 2026-05-02 05:27:53
View on GitHub
Comments
1
Participants
1
Timeline
2
Reactions
0
Participants
Timeline (top)
commented ×1labeled ×1

Error Message

(EngineCore_DP4 pid=3824136) ERROR 05-01 20:57:41 [dump_input.py:72] Dumping input data for V1 LLM engine (v0.20.0) with config: model='deepseek-ai/DeepSeek-V4-Pro', speculative_config=SpeculativeConfig(method='mtp', model='deepseek-ai/DeepSeek-V4-Pro', num_spec_tokens=1), tokenizer='deepseek-ai/DeepSeek-V4-Pro', skip_tokenizer_init=False, tokenizer_mode=deepseek_v4, revision=None, tokenizer_revision=None, trust_remote_code=True, dtype=torch.bfloat16, max_seq_len=9472, download_dir=None, load_format=auto, tensor_parallel_size=1, pipeline_parallel_size=1, data_parallel_size=8, decode_context_parallel_size=1, dcp_comm_backend=ag_rs, disable_custom_all_reduce=False, quantization=deepseek_v4_fp8, quantization_config=None, enforce_eager=False, enable_return_routed_experts=False, kv_cache_dtype=fp8, device_config=cuda, structured_outputs_config=StructuredOutputsConfig(backend='auto', disable_any_whitespace=False, disable_additional_properties=False, reasoning_parser='deepseek_v4', reasoning_parser_plugin='', enable_in_reasoning=False), observability_config=ObservabilityConfig(show_hidden_metrics_for_version=None, otlp_traces_endpoint=None, collect_detailed_traces=None, kv_cache_metrics=False, kv_cache_metrics_sample=0.01, cudagraph_metrics=False, enable_layerwise_nvtx_tracing=False, enable_mfu_metrics=False, enable_mm_processor_stats=False, enable_logging_iteration_details=False), seed=0, served_model_name=deepseek-ai/DeepSeek-V4-Pro, enable_prefix_caching=False, enable_chunked_prefill=True, pooler_config=None, compilation_config={'mode': <CompilationMode.NONE: 0>, 'debug_dump_path': None, 'cache_dir': '', 'compile_cache_save_format': 'binary', 'backend': 'inductor', 'custom_ops': ['+quant_fp8', 'all', '+quant_fp8', '+quant_fp8', '+quant_fp8'], 'ir_enable_torch_wrap': False, 'splitting_ops': [], 'compile_mm_encoder': False, 'cudagraph_mm_encoder': False, 'encoder_cudagraph_token_budgets': [], 'encoder_cudagraph_max_vision_items_per_batch': 0, 'encoder_cudagraph_max_frames_per_batch': None, 'compile_sizes': [], 'compile_ranges_endpoints': [512], 'inductor_compile_config': {'enable_auto_functionalized_v2': False, 'size_asserts': False, 'alignment_asserts': False, 'scalar_asserts': False, 'combo_kernels': True, 'benchmark_combo_kernel': True}, 'inductor_passes': {}, 'cudagraph_mode': <CUDAGraphMode.FULL_DECODE_ONLY: (2, 0)>, 'cudagraph_num_of_warmups': 1, 'cudagraph_capture_sizes': [1, 2, 4, 8, 16, 24, 32, 40, 48, 56, 64, 72, 80, 88, 96, 104, 112, 120, 128, 136, 144, 152, 160, 168, 176, 184, 192, 200, 208, 216, 224, 232, 240, 248, 256, 272, 288, 304, 320, 336, 352, 368, 384, 400, 416, 432, 448, 464, 480, 496, 512], 'cudagraph_copy_inputs': False, 'cudagraph_specialize_lora': True, 'use_inductor_graph_partition': False, 'pass_config': {'fuse_norm_quant': True, 'fuse_act_quant': True, 'fuse_attn_quant': False, 'enable_sp': False, 'fuse_gemm_comms': False, 'fuse_allreduce_rms': False}, 'max_cudagraph_capture_size': 512, 'dynamic_shapes_config': {'type': <DynamicShapesType.BACKED: 'backed'>, 'evaluate_guards': False, 'assume_32_bit_indexing': False}, 'local_cache_dir': None, 'fast_moe_cold_start': False, 'static_all_moe_layers': []}, kernel_config=KernelConfig(ir_op_priority=IrOpPriorityConfig(rms_norm=['vllm_c', 'native']), enable_flashinfer_autotune=False, moe_backend='auto'), (ApiServer_0 pid=3824140) ERROR 05-01 20:57:41 [async_llm.py:699] AsyncLLM output_handler failed. (ApiServer_0 pid=3824140) ERROR 05-01 20:57:41 [async_llm.py:699] Traceback (most recent call last): (ApiServer_0 pid=3824140) ERROR 05-01 20:57:41 [async_llm.py:699] File "/usr/local/lib/python3.12/dist-packages/vllm/v1/engine/async_llm.py", line 655, in output_handler (ApiServer_0 pid=3824140) ERROR 05-01 20:57:41 [async_llm.py:699] outputs = await engine_core.get_output_async() (ApiServer_0 pid=3824140) ERROR 05-01 20:57:41 [async_llm.py:699] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ (ApiServer_0 pid=3824140) ERROR 05-01 20:57:41 [async_llm.py:699] File "/usr/local/lib/python3.12/dist-packages/vllm/v1/engine/core_client.py", line 998, in get_output_async (ApiServer_0 pid=3824140) ERROR 05-01 20:57:41 [async_llm.py:699] raise self._format_exception(outputs) from None (ApiServer_0 pid=3824140) ERROR 05-01 20:57:41 [async_llm.py:699] vllm.v1.engine.exceptions.EngineDeadError: EngineCore encountered an issue. See stack trace (above) for the root cause. (ApiServer_4 pid=3824144) ERROR 05-01 20:57:41 [async_llm.py:699] AsyncLLM output_handler failed. (ApiServer_4 pid=3824144) ERROR 05-01 20:57:41 [async_llm.py:699] Traceback (most recent call last): (ApiServer_4 pid=3824144) ERROR 05-01 20:57:41 [async_llm.py:699] File "/usr/local/lib/python3.12/dist-packages/vllm/v1/engine/async_llm.py", line 655, in output_handler (ApiServer_4 pid=3824144) ERROR 05-01 20:57:41 [async_llm.py:699] outputs = await engine_core.get_output_async() (ApiServer_4 pid=3824144) ERROR 05-01 20:57:41 [async_llm.py:699] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ (ApiServer_4 pid=3824144) ERROR 05-01 20:57:41 [async_llm.py:699] File "/usr/local/lib/python3.12/dist-packages/vllm/v1/engine/core_client.py", line 998, in get_output_async (ApiServer_4 pid=3824144) ERROR 05-01 20:57:41 [async_llm.py:699] raise self._format_exception(outputs) from None (ApiServer_4 pid=3824144) ERROR 05-01 20:57:41 [async_llm.py:699] vllm.v1.engine.exceptions.EngineDeadError: EngineCore encountered an issue. See stack trace (above) for the root cause. (ApiServer_7 pid=3824147) ERROR 05-01 20:57:41 [async_llm.py:699] AsyncLLM output_handler failed. (ApiServer_7 pid=3824147) ERROR 05-01 20:57:41 [async_llm.py:699] Traceback (most recent call last): (ApiServer_7 pid=3824147) ERROR 05-01 20:57:41 [async_llm.py:699] File "/usr/local/lib/python3.12/dist-packages/vllm/v1/engine/async_llm.py", line 655, in output_handler (ApiServer_7 pid=3824147) ERROR 05-01 20:57:41 [async_llm.py:699] outputs = await engine_core.get_output_async() (ApiServer_7 pid=3824147) ERROR 05-01 20:57:41 [async_llm.py:699] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ (ApiServer_7 pid=3824147) ERROR 05-01 20:57:41 [async_llm.py:699] File "/usr/local/lib/python3.12/dist-packages/vllm/v1/engine/core_client.py", line 998, in get_output_async (ApiServer_7 pid=3824147) ERROR 05-01 20:57:41 [async_llm.py:699] raise self._format_exception(outputs) from None (ApiServer_7 pid=3824147) ERROR 05-01 20:57:41 [async_llm.py:699] vllm.v1.engine.exceptions.EngineDeadError: EngineCore encountered an issue. See stack trace (above) for the root cause.

Root Cause

(EngineCore_DP4 pid=3824136) ERROR 05-01 20:57:41 [dump_input.py:72] Dumping input data for V1 LLM engine (v0.20.0) with config: model='deepseek-ai/DeepSeek-V4-Pro', speculative_config=SpeculativeConfig(method='mtp', model='deepseek-ai/DeepSeek-V4-Pro', num_spec_tokens=1), tokenizer='deepseek-ai/DeepSeek-V4-Pro', skip_tokenizer_init=False, tokenizer_mode=deepseek_v4, revision=None, tokenizer_revision=None, trust_remote_code=True, dtype=torch.bfloat16, max_seq_len=9472, download_dir=None, load_format=auto, tensor_parallel_size=1, pipeline_parallel_size=1, data_parallel_size=8, decode_context_parallel_size=1, dcp_comm_backend=ag_rs, disable_custom_all_reduce=False, quantization=deepseek_v4_fp8, quantization_config=None, enforce_eager=False, enable_return_routed_experts=False, kv_cache_dtype=fp8, device_config=cuda, structured_outputs_config=StructuredOutputsConfig(backend='auto', disable_any_whitespace=False, disable_additional_properties=False, reasoning_parser='deepseek_v4', reasoning_parser_plugin='', enable_in_reasoning=False), observability_config=ObservabilityConfig(show_hidden_metrics_for_version=None, otlp_traces_endpoint=None, collect_detailed_traces=None, kv_cache_metrics=False, kv_cache_metrics_sample=0.01, cudagraph_metrics=False, enable_layerwise_nvtx_tracing=False, enable_mfu_metrics=False, enable_mm_processor_stats=False, enable_logging_iteration_details=False), seed=0, served_model_name=deepseek-ai/DeepSeek-V4-Pro, enable_prefix_caching=False, enable_chunked_prefill=True, pooler_config=None, compilation_config={'mode': <CompilationMode.NONE: 0>, 'debug_dump_path': None, 'cache_dir': '', 'compile_cache_save_format': 'binary', 'backend': 'inductor', 'custom_ops': ['+quant_fp8', 'all', '+quant_fp8', '+quant_fp8', '+quant_fp8'], 'ir_enable_torch_wrap': False, 'splitting_ops': [], 'compile_mm_encoder': False, 'cudagraph_mm_encoder': False, 'encoder_cudagraph_token_budgets': [], 'encoder_cudagraph_max_vision_items_per_batch': 0, 'encoder_cudagraph_max_frames_per_batch': None, 'compile_sizes': [], 'compile_ranges_endpoints': [512], 'inductor_compile_config': {'enable_auto_functionalized_v2': False, 'size_asserts': False, 'alignment_asserts': False, 'scalar_asserts': False, 'combo_kernels': True, 'benchmark_combo_kernel': True}, 'inductor_passes': {}, 'cudagraph_mode': <CUDAGraphMode.FULL_DECODE_ONLY: (2, 0)>, 'cudagraph_num_of_warmups': 1, 'cudagraph_capture_sizes': [1, 2, 4, 8, 16, 24, 32, 40, 48, 56, 64, 72, 80, 88, 96, 104, 112, 120, 128, 136, 144, 152, 160, 168, 176, 184, 192, 200, 208, 216, 224, 232, 240, 248, 256, 272, 288, 304, 320, 336, 352, 368, 384, 400, 416, 432, 448, 464, 480, 496, 512], 'cudagraph_copy_inputs': False, 'cudagraph_specialize_lora': True, 'use_inductor_graph_partition': False, 'pass_config': {'fuse_norm_quant': True, 'fuse_act_quant': True, 'fuse_attn_quant': False, 'enable_sp': False, 'fuse_gemm_comms': False, 'fuse_allreduce_rms': False}, 'max_cudagraph_capture_size': 512, 'dynamic_shapes_config': {'type': <DynamicShapesType.BACKED: 'backed'>, 'evaluate_guards': False, 'assume_32_bit_indexing': False}, 'local_cache_dir': None, 'fast_moe_cold_start': False, 'static_all_moe_layers': []}, kernel_config=KernelConfig(ir_op_priority=IrOpPriorityConfig(rms_norm=['vllm_c', 'native']), enable_flashinfer_autotune=False, moe_backend='auto'), 
(ApiServer_0 pid=3824140) ERROR 05-01 20:57:41 [async_llm.py:699] AsyncLLM output_handler failed.
(ApiServer_0 pid=3824140) ERROR 05-01 20:57:41 [async_llm.py:699] Traceback (most recent call last):
(ApiServer_0 pid=3824140) ERROR 05-01 20:57:41 [async_llm.py:699]   File "/usr/local/lib/python3.12/dist-packages/vllm/v1/engine/async_llm.py", line 655, in output_handler
(ApiServer_0 pid=3824140) ERROR 05-01 20:57:41 [async_llm.py:699]     outputs = await engine_core.get_output_async()
(ApiServer_0 pid=3824140) ERROR 05-01 20:57:41 [async_llm.py:699]               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
(ApiServer_0 pid=3824140) ERROR 05-01 20:57:41 [async_llm.py:699]   File "/usr/local/lib/python3.12/dist-packages/vllm/v1/engine/core_client.py", line 998, in get_output_async
(ApiServer_0 pid=3824140) ERROR 05-01 20:57:41 [async_llm.py:699]     raise self._format_exception(outputs) from None
(ApiServer_0 pid=3824140) ERROR 05-01 20:57:41 [async_llm.py:699] vllm.v1.engine.exceptions.EngineDeadError: EngineCore encountered an issue. See stack trace (above) for the root cause.
(ApiServer_4 pid=3824144) ERROR 05-01 20:57:41 [async_llm.py:699] AsyncLLM output_handler failed.
(ApiServer_4 pid=3824144) ERROR 05-01 20:57:41 [async_llm.py:699] Traceback (most recent call last):
(ApiServer_4 pid=3824144) ERROR 05-01 20:57:41 [async_llm.py:699]   File "/usr/local/lib/python3.12/dist-packages/vllm/v1/engine/async_llm.py", line 655, in output_handler
(ApiServer_4 pid=3824144) ERROR 05-01 20:57:41 [async_llm.py:699]     outputs = await engine_core.get_output_async()
(ApiServer_4 pid=3824144) ERROR 05-01 20:57:41 [async_llm.py:699]               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
(ApiServer_4 pid=3824144) ERROR 05-01 20:57:41 [async_llm.py:699]   File "/usr/local/lib/python3.12/dist-packages/vllm/v1/engine/core_client.py", line 998, in get_output_async
(ApiServer_4 pid=3824144) ERROR 05-01 20:57:41 [async_llm.py:699]     raise self._format_exception(outputs) from None
(ApiServer_4 pid=3824144) ERROR 05-01 20:57:41 [async_llm.py:699] vllm.v1.engine.exceptions.EngineDeadError: EngineCore encountered an issue. See stack trace (above) for the root cause.
(ApiServer_7 pid=3824147) ERROR 05-01 20:57:41 [async_llm.py:699] AsyncLLM output_handler failed.
(ApiServer_7 pid=3824147) ERROR 05-01 20:57:41 [async_llm.py:699] Traceback (most recent call last):
(ApiServer_7 pid=3824147) ERROR 05-01 20:57:41 [async_llm.py:699]   File "/usr/local/lib/python3.12/dist-packages/vllm/v1/engine/async_llm.py", line 655, in output_handler
(ApiServer_7 pid=3824147) ERROR 05-01 20:57:41 [async_llm.py:699]     outputs = await engine_core.get_output_async()
(ApiServer_7 pid=3824147) ERROR 05-01 20:57:41 [async_llm.py:699]               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
(ApiServer_7 pid=3824147) ERROR 05-01 20:57:41 [async_llm.py:699]   File "/usr/local/lib/python3.12/dist-packages/vllm/v1/engine/core_client.py", line 998, in get_output_async
(ApiServer_7 pid=3824147) ERROR 05-01 20:57:41 [async_llm.py:699]     raise self._format_exception(outputs) from None
(ApiServer_7 pid=3824147) ERROR 05-01 20:57:41 [async_llm.py:699] vllm.v1.engine.exceptions.EngineDeadError: EngineCore encountered an issue. See stack trace (above) for the root cause.

Code Example

export VLLM_ENGINE_READY_TIMEOUT_S=3600
export VLLM_MEMORY_PROFILER_ESTIMATE_CUDAGRAPHS=0

# Per the recipe, run with EP + DP=8 (no --tensor-parallel-size flag). TP
# from the search space is used only for GPU allocation by the runner and
# as the DP size.
set -x
vllm serve $MODEL --host 0.0.0.0 --port $PORT \
--trust-remote-code \
--kv-cache-dtype fp8 \
--block-size 256 \
--no-enable-prefix-caching \
--enable-expert-parallel \
--data-parallel-size 8 \
 --max-model-len 9472 \
--gpu-memory-utilization 0.95 \
--max-num-seqs 512 \
--max-num-batched-tokens 512 \
--no-enable-flashinfer-autotune \
--compilation-config '{"mode":0,"cudagraph_mode":"FULL_DECODE_ONLY"}' \
--speculative-config '{"method":"mtp","num_speculative_tokens":1}' \
--tokenizer-mode deepseek_v4 \
--tool-call-parser deepseek_v4 \
--enable-auto-tool-choice \
--reasoning-parser deepseek_v4

---

(ApiServer_5 pid=1194372) INFO:     Waiting for application startup.
(ApiServer_3 pid=1194370) INFO:     Application startup complete.
(ApiServer_4 pid=1194371) INFO:     Application startup complete.
(ApiServer_0 pid=1194367) INFO:     Application startup complete.
(ApiServer_7 pid=1194374) INFO:     Application startup complete.
(ApiServer_2 pid=1194369) INFO:     Application startup complete.
(ApiServer_6 pid=1194373) INFO:     Application startup complete.
(ApiServer_1 pid=1194368) INFO:     Application startup complete.
(ApiServer_5 pid=1194372) INFO:     Application startup complete.
+ [[ -n '' ]]

---

(EngineCore_DP4 pid=3824136) ERROR 05-01 20:57:41 [dump_input.py:72] Dumping input data for V1 LLM engine (v0.20.0) with config: model='deepseek-ai/DeepSeek-V4-Pro', speculative_config=SpeculativeConfig(method='mtp', model='deepseek-ai/DeepSeek-V4-Pro', num_spec_tokens=1), tokenizer='deepseek-ai/DeepSeek-V4-Pro', skip_tokenizer_init=False, tokenizer_mode=deepseek_v4, revision=None, tokenizer_revision=None, trust_remote_code=True, dtype=torch.bfloat16, max_seq_len=9472, download_dir=None, load_format=auto, tensor_parallel_size=1, pipeline_parallel_size=1, data_parallel_size=8, decode_context_parallel_size=1, dcp_comm_backend=ag_rs, disable_custom_all_reduce=False, quantization=deepseek_v4_fp8, quantization_config=None, enforce_eager=False, enable_return_routed_experts=False, kv_cache_dtype=fp8, device_config=cuda, structured_outputs_config=StructuredOutputsConfig(backend='auto', disable_any_whitespace=False, disable_additional_properties=False, reasoning_parser='deepseek_v4', reasoning_parser_plugin='', enable_in_reasoning=False), observability_config=ObservabilityConfig(show_hidden_metrics_for_version=None, otlp_traces_endpoint=None, collect_detailed_traces=None, kv_cache_metrics=False, kv_cache_metrics_sample=0.01, cudagraph_metrics=False, enable_layerwise_nvtx_tracing=False, enable_mfu_metrics=False, enable_mm_processor_stats=False, enable_logging_iteration_details=False), seed=0, served_model_name=deepseek-ai/DeepSeek-V4-Pro, enable_prefix_caching=False, enable_chunked_prefill=True, pooler_config=None, compilation_config={'mode': <CompilationMode.NONE: 0>, 'debug_dump_path': None, 'cache_dir': '', 'compile_cache_save_format': 'binary', 'backend': 'inductor', 'custom_ops': ['+quant_fp8', 'all', '+quant_fp8', '+quant_fp8', '+quant_fp8'], 'ir_enable_torch_wrap': False, 'splitting_ops': [], 'compile_mm_encoder': False, 'cudagraph_mm_encoder': False, 'encoder_cudagraph_token_budgets': [], 'encoder_cudagraph_max_vision_items_per_batch': 0, 'encoder_cudagraph_max_frames_per_batch': None, 'compile_sizes': [], 'compile_ranges_endpoints': [512], 'inductor_compile_config': {'enable_auto_functionalized_v2': False, 'size_asserts': False, 'alignment_asserts': False, 'scalar_asserts': False, 'combo_kernels': True, 'benchmark_combo_kernel': True}, 'inductor_passes': {}, 'cudagraph_mode': <CUDAGraphMode.FULL_DECODE_ONLY: (2, 0)>, 'cudagraph_num_of_warmups': 1, 'cudagraph_capture_sizes': [1, 2, 4, 8, 16, 24, 32, 40, 48, 56, 64, 72, 80, 88, 96, 104, 112, 120, 128, 136, 144, 152, 160, 168, 176, 184, 192, 200, 208, 216, 224, 232, 240, 248, 256, 272, 288, 304, 320, 336, 352, 368, 384, 400, 416, 432, 448, 464, 480, 496, 512], 'cudagraph_copy_inputs': False, 'cudagraph_specialize_lora': True, 'use_inductor_graph_partition': False, 'pass_config': {'fuse_norm_quant': True, 'fuse_act_quant': True, 'fuse_attn_quant': False, 'enable_sp': False, 'fuse_gemm_comms': False, 'fuse_allreduce_rms': False}, 'max_cudagraph_capture_size': 512, 'dynamic_shapes_config': {'type': <DynamicShapesType.BACKED: 'backed'>, 'evaluate_guards': False, 'assume_32_bit_indexing': False}, 'local_cache_dir': None, 'fast_moe_cold_start': False, 'static_all_moe_layers': []}, kernel_config=KernelConfig(ir_op_priority=IrOpPriorityConfig(rms_norm=['vllm_c', 'native']), enable_flashinfer_autotune=False, moe_backend='auto'), 
(ApiServer_0 pid=3824140) ERROR 05-01 20:57:41 [async_llm.py:699] AsyncLLM output_handler failed.
(ApiServer_0 pid=3824140) ERROR 05-01 20:57:41 [async_llm.py:699] Traceback (most recent call last):
(ApiServer_0 pid=3824140) ERROR 05-01 20:57:41 [async_llm.py:699]   File "/usr/local/lib/python3.12/dist-packages/vllm/v1/engine/async_llm.py", line 655, in output_handler
(ApiServer_0 pid=3824140) ERROR 05-01 20:57:41 [async_llm.py:699]     outputs = await engine_core.get_output_async()
(ApiServer_0 pid=3824140) ERROR 05-01 20:57:41 [async_llm.py:699]               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
(ApiServer_0 pid=3824140) ERROR 05-01 20:57:41 [async_llm.py:699]   File "/usr/local/lib/python3.12/dist-packages/vllm/v1/engine/core_client.py", line 998, in get_output_async
(ApiServer_0 pid=3824140) ERROR 05-01 20:57:41 [async_llm.py:699]     raise self._format_exception(outputs) from None
(ApiServer_0 pid=3824140) ERROR 05-01 20:57:41 [async_llm.py:699] vllm.v1.engine.exceptions.EngineDeadError: EngineCore encountered an issue. See stack trace (above) for the root cause.
(ApiServer_4 pid=3824144) ERROR 05-01 20:57:41 [async_llm.py:699] AsyncLLM output_handler failed.
(ApiServer_4 pid=3824144) ERROR 05-01 20:57:41 [async_llm.py:699] Traceback (most recent call last):
(ApiServer_4 pid=3824144) ERROR 05-01 20:57:41 [async_llm.py:699]   File "/usr/local/lib/python3.12/dist-packages/vllm/v1/engine/async_llm.py", line 655, in output_handler
(ApiServer_4 pid=3824144) ERROR 05-01 20:57:41 [async_llm.py:699]     outputs = await engine_core.get_output_async()
(ApiServer_4 pid=3824144) ERROR 05-01 20:57:41 [async_llm.py:699]               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
(ApiServer_4 pid=3824144) ERROR 05-01 20:57:41 [async_llm.py:699]   File "/usr/local/lib/python3.12/dist-packages/vllm/v1/engine/core_client.py", line 998, in get_output_async
(ApiServer_4 pid=3824144) ERROR 05-01 20:57:41 [async_llm.py:699]     raise self._format_exception(outputs) from None
(ApiServer_4 pid=3824144) ERROR 05-01 20:57:41 [async_llm.py:699] vllm.v1.engine.exceptions.EngineDeadError: EngineCore encountered an issue. See stack trace (above) for the root cause.
(ApiServer_7 pid=3824147) ERROR 05-01 20:57:41 [async_llm.py:699] AsyncLLM output_handler failed.
(ApiServer_7 pid=3824147) ERROR 05-01 20:57:41 [async_llm.py:699] Traceback (most recent call last):
(ApiServer_7 pid=3824147) ERROR 05-01 20:57:41 [async_llm.py:699]   File "/usr/local/lib/python3.12/dist-packages/vllm/v1/engine/async_llm.py", line 655, in output_handler
(ApiServer_7 pid=3824147) ERROR 05-01 20:57:41 [async_llm.py:699]     outputs = await engine_core.get_output_async()
(ApiServer_7 pid=3824147) ERROR 05-01 20:57:41 [async_llm.py:699]               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
(ApiServer_7 pid=3824147) ERROR 05-01 20:57:41 [async_llm.py:699]   File "/usr/local/lib/python3.12/dist-packages/vllm/v1/engine/core_client.py", line 998, in get_output_async
(ApiServer_7 pid=3824147) ERROR 05-01 20:57:41 [async_llm.py:699]     raise self._format_exception(outputs) from None
(ApiServer_7 pid=3824147) ERROR 05-01 20:57:41 [async_llm.py:699] vllm.v1.engine.exceptions.EngineDeadError: EngineCore encountered an issue. See stack trace (above) for the root cause.
RAW_BUFFERClick to expand / collapse

Your current environment

<details> <summary>The output of <code>python collect_env.py</code></summary>

vllm/vllm-openai:v0.20.0-cu130 deepseek-ai/DeepSeek-V4-Pro

H200 SXM docker

</details>

🐛 Describe the bug

server command

full command here https://github.com/SemiAnalysisAI/InferenceX/pull/1222/changes

closely following official vllm recipes https://recipes.vllm.ai/deepseek-ai/DeepSeek-V4-Pro?features=tool_calling%2Creasoning%2Cspec_decoding&hardware=h200

export VLLM_ENGINE_READY_TIMEOUT_S=3600
export VLLM_MEMORY_PROFILER_ESTIMATE_CUDAGRAPHS=0

# Per the recipe, run with EP + DP=8 (no --tensor-parallel-size flag). TP
# from the search space is used only for GPU allocation by the runner and
# as the DP size.
set -x
vllm serve $MODEL --host 0.0.0.0 --port $PORT \
--trust-remote-code \
--kv-cache-dtype fp8 \
--block-size 256 \
--no-enable-prefix-caching \
--enable-expert-parallel \
--data-parallel-size 8 \
 --max-model-len 9472 \
--gpu-memory-utilization 0.95 \
--max-num-seqs 512 \
--max-num-batched-tokens 512 \
--no-enable-flashinfer-autotune \
--compilation-config '{"mode":0,"cudagraph_mode":"FULL_DECODE_ONLY"}' \
--speculative-config '{"method":"mtp","num_speculative_tokens":1}' \
--tokenizer-mode deepseek_v4 \
--tool-call-parser deepseek_v4 \
--enable-auto-tool-choice \
--reasoning-parser deepseek_v4

vllm recipes

<img width="595" height="414" alt="Image" src="https://github.com/user-attachments/assets/050fe140-3790-4bbe-bf98-ccdb901f7f8d" />

the server starts up & is ready but then on first request, it dumps this error trace

server says it is ready

https://github.com/SemiAnalysisAI/InferenceX/actions/runs/25231983987/job/73989492318

(ApiServer_5 pid=1194372) INFO:     Waiting for application startup.
(ApiServer_3 pid=1194370) INFO:     Application startup complete.
(ApiServer_4 pid=1194371) INFO:     Application startup complete.
(ApiServer_0 pid=1194367) INFO:     Application startup complete.
(ApiServer_7 pid=1194374) INFO:     Application startup complete.
(ApiServer_2 pid=1194369) INFO:     Application startup complete.
(ApiServer_6 pid=1194373) INFO:     Application startup complete.
(ApiServer_1 pid=1194368) INFO:     Application startup complete.
(ApiServer_5 pid=1194372) INFO:     Application startup complete.
+ [[ -n '' ]]

error log (full error log attached as file below)

server 6.log

(EngineCore_DP4 pid=3824136) ERROR 05-01 20:57:41 [dump_input.py:72] Dumping input data for V1 LLM engine (v0.20.0) with config: model='deepseek-ai/DeepSeek-V4-Pro', speculative_config=SpeculativeConfig(method='mtp', model='deepseek-ai/DeepSeek-V4-Pro', num_spec_tokens=1), tokenizer='deepseek-ai/DeepSeek-V4-Pro', skip_tokenizer_init=False, tokenizer_mode=deepseek_v4, revision=None, tokenizer_revision=None, trust_remote_code=True, dtype=torch.bfloat16, max_seq_len=9472, download_dir=None, load_format=auto, tensor_parallel_size=1, pipeline_parallel_size=1, data_parallel_size=8, decode_context_parallel_size=1, dcp_comm_backend=ag_rs, disable_custom_all_reduce=False, quantization=deepseek_v4_fp8, quantization_config=None, enforce_eager=False, enable_return_routed_experts=False, kv_cache_dtype=fp8, device_config=cuda, structured_outputs_config=StructuredOutputsConfig(backend='auto', disable_any_whitespace=False, disable_additional_properties=False, reasoning_parser='deepseek_v4', reasoning_parser_plugin='', enable_in_reasoning=False), observability_config=ObservabilityConfig(show_hidden_metrics_for_version=None, otlp_traces_endpoint=None, collect_detailed_traces=None, kv_cache_metrics=False, kv_cache_metrics_sample=0.01, cudagraph_metrics=False, enable_layerwise_nvtx_tracing=False, enable_mfu_metrics=False, enable_mm_processor_stats=False, enable_logging_iteration_details=False), seed=0, served_model_name=deepseek-ai/DeepSeek-V4-Pro, enable_prefix_caching=False, enable_chunked_prefill=True, pooler_config=None, compilation_config={'mode': <CompilationMode.NONE: 0>, 'debug_dump_path': None, 'cache_dir': '', 'compile_cache_save_format': 'binary', 'backend': 'inductor', 'custom_ops': ['+quant_fp8', 'all', '+quant_fp8', '+quant_fp8', '+quant_fp8'], 'ir_enable_torch_wrap': False, 'splitting_ops': [], 'compile_mm_encoder': False, 'cudagraph_mm_encoder': False, 'encoder_cudagraph_token_budgets': [], 'encoder_cudagraph_max_vision_items_per_batch': 0, 'encoder_cudagraph_max_frames_per_batch': None, 'compile_sizes': [], 'compile_ranges_endpoints': [512], 'inductor_compile_config': {'enable_auto_functionalized_v2': False, 'size_asserts': False, 'alignment_asserts': False, 'scalar_asserts': False, 'combo_kernels': True, 'benchmark_combo_kernel': True}, 'inductor_passes': {}, 'cudagraph_mode': <CUDAGraphMode.FULL_DECODE_ONLY: (2, 0)>, 'cudagraph_num_of_warmups': 1, 'cudagraph_capture_sizes': [1, 2, 4, 8, 16, 24, 32, 40, 48, 56, 64, 72, 80, 88, 96, 104, 112, 120, 128, 136, 144, 152, 160, 168, 176, 184, 192, 200, 208, 216, 224, 232, 240, 248, 256, 272, 288, 304, 320, 336, 352, 368, 384, 400, 416, 432, 448, 464, 480, 496, 512], 'cudagraph_copy_inputs': False, 'cudagraph_specialize_lora': True, 'use_inductor_graph_partition': False, 'pass_config': {'fuse_norm_quant': True, 'fuse_act_quant': True, 'fuse_attn_quant': False, 'enable_sp': False, 'fuse_gemm_comms': False, 'fuse_allreduce_rms': False}, 'max_cudagraph_capture_size': 512, 'dynamic_shapes_config': {'type': <DynamicShapesType.BACKED: 'backed'>, 'evaluate_guards': False, 'assume_32_bit_indexing': False}, 'local_cache_dir': None, 'fast_moe_cold_start': False, 'static_all_moe_layers': []}, kernel_config=KernelConfig(ir_op_priority=IrOpPriorityConfig(rms_norm=['vllm_c', 'native']), enable_flashinfer_autotune=False, moe_backend='auto'), 
(ApiServer_0 pid=3824140) ERROR 05-01 20:57:41 [async_llm.py:699] AsyncLLM output_handler failed.
(ApiServer_0 pid=3824140) ERROR 05-01 20:57:41 [async_llm.py:699] Traceback (most recent call last):
(ApiServer_0 pid=3824140) ERROR 05-01 20:57:41 [async_llm.py:699]   File "/usr/local/lib/python3.12/dist-packages/vllm/v1/engine/async_llm.py", line 655, in output_handler
(ApiServer_0 pid=3824140) ERROR 05-01 20:57:41 [async_llm.py:699]     outputs = await engine_core.get_output_async()
(ApiServer_0 pid=3824140) ERROR 05-01 20:57:41 [async_llm.py:699]               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
(ApiServer_0 pid=3824140) ERROR 05-01 20:57:41 [async_llm.py:699]   File "/usr/local/lib/python3.12/dist-packages/vllm/v1/engine/core_client.py", line 998, in get_output_async
(ApiServer_0 pid=3824140) ERROR 05-01 20:57:41 [async_llm.py:699]     raise self._format_exception(outputs) from None
(ApiServer_0 pid=3824140) ERROR 05-01 20:57:41 [async_llm.py:699] vllm.v1.engine.exceptions.EngineDeadError: EngineCore encountered an issue. See stack trace (above) for the root cause.
(ApiServer_4 pid=3824144) ERROR 05-01 20:57:41 [async_llm.py:699] AsyncLLM output_handler failed.
(ApiServer_4 pid=3824144) ERROR 05-01 20:57:41 [async_llm.py:699] Traceback (most recent call last):
(ApiServer_4 pid=3824144) ERROR 05-01 20:57:41 [async_llm.py:699]   File "/usr/local/lib/python3.12/dist-packages/vllm/v1/engine/async_llm.py", line 655, in output_handler
(ApiServer_4 pid=3824144) ERROR 05-01 20:57:41 [async_llm.py:699]     outputs = await engine_core.get_output_async()
(ApiServer_4 pid=3824144) ERROR 05-01 20:57:41 [async_llm.py:699]               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
(ApiServer_4 pid=3824144) ERROR 05-01 20:57:41 [async_llm.py:699]   File "/usr/local/lib/python3.12/dist-packages/vllm/v1/engine/core_client.py", line 998, in get_output_async
(ApiServer_4 pid=3824144) ERROR 05-01 20:57:41 [async_llm.py:699]     raise self._format_exception(outputs) from None
(ApiServer_4 pid=3824144) ERROR 05-01 20:57:41 [async_llm.py:699] vllm.v1.engine.exceptions.EngineDeadError: EngineCore encountered an issue. See stack trace (above) for the root cause.
(ApiServer_7 pid=3824147) ERROR 05-01 20:57:41 [async_llm.py:699] AsyncLLM output_handler failed.
(ApiServer_7 pid=3824147) ERROR 05-01 20:57:41 [async_llm.py:699] Traceback (most recent call last):
(ApiServer_7 pid=3824147) ERROR 05-01 20:57:41 [async_llm.py:699]   File "/usr/local/lib/python3.12/dist-packages/vllm/v1/engine/async_llm.py", line 655, in output_handler
(ApiServer_7 pid=3824147) ERROR 05-01 20:57:41 [async_llm.py:699]     outputs = await engine_core.get_output_async()
(ApiServer_7 pid=3824147) ERROR 05-01 20:57:41 [async_llm.py:699]               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
(ApiServer_7 pid=3824147) ERROR 05-01 20:57:41 [async_llm.py:699]   File "/usr/local/lib/python3.12/dist-packages/vllm/v1/engine/core_client.py", line 998, in get_output_async
(ApiServer_7 pid=3824147) ERROR 05-01 20:57:41 [async_llm.py:699]     raise self._format_exception(outputs) from None
(ApiServer_7 pid=3824147) ERROR 05-01 20:57:41 [async_llm.py:699] vllm.v1.engine.exceptions.EngineDeadError: EngineCore encountered an issue. See stack trace (above) for the root cause.

Before submitting a new issue...

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

extent analysis

TL;DR

The issue is likely caused by an EngineCore error, and a potential fix could be to adjust the --gpu-memory-utilization parameter or check the compilation_config settings.

Guidance

  • Review the compilation_config settings, specifically the cudagraph_mode and cudagraph_capture_sizes, to ensure they are compatible with the model and hardware.
  • Adjust the --gpu-memory-utilization parameter to a lower value to prevent GPU memory overload.
  • Verify that the model is correctly configured and compatible with the VLLM engine.
  • Check the error log for any additional information that may indicate the root cause of the issue.

Example

No code snippet is provided as the issue seems to be related to configuration and model compatibility rather than code.

Notes

The issue may be specific to the DeepSeek-V4-Pro model or the VLLM engine version (v0.20.0). Further investigation into the model and engine configuration is necessary to determine the root cause.

Recommendation

Apply a workaround by adjusting the --gpu-memory-utilization parameter or reviewing the compilation_config settings, as these are potential causes of the EngineCore error.

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