1> vllm bench throughput --model namgyu-youn/Qwen3-8B-W8A8-INT --input-len 256 --output-len 256 --num-prompts 100
2/home/elicer/ao/.venv/lib/python3.10/site-packages/transformers/utils/hub.py:110: FutureWarning: Using `TRANSFORMERS_CACHE` is deprecated and will be removed in v5 of Transformers. Use `HF_HOME` instead.
3 warnings.warn(
4When dataset path is not set, it will default to random dataset
5INFO 12-18 16:07:49 [datasets.py:613] Sampling input_len from [256, 256] and output_len from [256, 256]
6INFO 12-18 16:07:49 [utils.py:253] non-default args: {'tokenizer': 'namgyu-youn/Qwen3-8B-W8A8-INT', 'enable_lora': None, 'reasoning_parser_plugin': '', 'model': 'namgyu-youn/Qwen3-8B-W8A8-INT'}
7INFO 12-18 16:07:51 [model.py:637] Resolved architecture: Qwen3ForCausalLM
8INFO 12-18 16:07:51 [model.py:1750] Using max model len 40960
9INFO 12-18 16:07:51 [scheduler.py:228] Chunked prefill is enabled with max_num_batched_tokens=8192.
10/home/elicer/ao/.venv/lib/python3.10/site-packages/transformers/utils/hub.py:110: FutureWarning: Using `TRANSFORMERS_CACHE` is deprecated and will be removed in v5 of Transformers. Use `HF_HOME` instead.
11 warnings.warn(
12(EngineCore_DP0 pid=40856) INFO 12-18 16:08:01 [core.py:93] Initializing a V1 LLM engine (v0.12.0) with config: model='namgyu-youn/Qwen3-8B-W8A8-INT', speculative_config=None, tokenizer='namgyu-youn/Qwen3-8B-W8A8-INT', skip_tokenizer_init=False, tokenizer_mode=auto, revision=None, tokenizer_revision=None, trust_remote_code=False, dtype=torch.bfloat16, max_seq_len=40960, download_dir=None, load_format=auto, tensor_parallel_size=1, pipeline_parallel_size=1, data_parallel_size=1, disable_custom_all_reduce=False, quantization=torchao, enforce_eager=False, kv_cache_dtype=auto, device_config=cuda, structured_outputs_config=StructuredOutputsConfig(backend='auto', disable_fallback=False, disable_any_whitespace=False, disable_additional_properties=False, reasoning_parser='', 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), seed=0, served_model_name=namgyu-youn/Qwen3-8B-W8A8-INT, enable_prefix_caching=True, enable_chunked_prefill=True, pooler_config=None, compilation_config={'level': None, 'mode': <CompilationMode.VLLM_COMPILE: 3>, 'debug_dump_path': None, 'cache_dir': '', 'compile_cache_save_format': 'binary', 'backend': 'inductor', 'custom_ops': ['none'], 'splitting_ops': ['vllm::unified_attention', 'vllm::unified_attention_with_output', 'vllm::unified_mla_attention', 'vllm::unified_mla_attention_with_output', 'vllm::mamba_mixer2', 'vllm::mamba_mixer', 'vllm::short_conv', 'vllm::linear_attention', 'vllm::plamo2_mamba_mixer', 'vllm::gdn_attention_core', 'vllm::kda_attention', 'vllm::sparse_attn_indexer'], 'compile_mm_encoder': False, 'compile_sizes': [], 'inductor_compile_config': {'enable_auto_functionalized_v2': False, 'combo_kernels': True, 'benchmark_combo_kernel': True}, 'inductor_passes': {}, 'cudagraph_mode': <CUDAGraphMode.FULL_AND_PIECEWISE: (2, 1)>, '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': False, 'fuse_act_quant': False, 'fuse_attn_quant': False, 'eliminate_noops': True, 'enable_sp': False, 'fuse_gemm_comms': False, 'fuse_allreduce_rms': False}, 'max_cudagraph_capture_size': 512, 'dynamic_shapes_config': {'type': <DynamicShapesType.BACKED: 'backed'>}, 'local_cache_dir': None}
13(EngineCore_DP0 pid=40856) INFO 12-18 16:08:01 [parallel_state.py:1200] world_size=1 rank=0 local_rank=0 distributed_init_method=tcp://10.0.2.100:41745 backend=nccl
14(EngineCore_DP0 pid=40856) INFO 12-18 16:08:01 [parallel_state.py:1408] rank 0 in world size 1 is assigned as DP rank 0, PP rank 0, PCP rank 0, TP rank 0, EP rank 0
15(EngineCore_DP0 pid=40856) INFO 12-18 16:08:01 [gpu_model_runner.py:3467] Starting to load model namgyu-youn/Qwen3-8B-W8A8-INT...
16(EngineCore_DP0 pid=40856) /home/elicer/ao/.venv/lib/python3.10/site-packages/torch/__init__.py:1617: UserWarning: Please use the new API settings to control TF32 behavior, such as torch.backends.cudnn.conv.fp32_precision = 'tf32' or torch.backends.cuda.matmul.fp32_precision = 'ieee'. Old settings, e.g, torch.backends.cuda.matmul.allow_tf32 = True, torch.backends.cudnn.allow_tf32 = True, allowTF32CuDNN() and allowTF32CuBLAS() will be deprecated after Pytorch 2.9. Please see https://pytorch.org/docs/main/notes/cuda.html#tensorfloat-32-tf32-on-ampere-and-later-devices (Triggered internally at /pytorch/aten/src/ATen/Context.cpp:80.)
17(EngineCore_DP0 pid=40856) _C._set_float32_matmul_precision(precision)
18(EngineCore_DP0 pid=40856) INFO 12-18 16:08:02 [cuda.py:411] Using FLASH_ATTN attention backend out of potential backends: ['FLASH_ATTN', 'FLASHINFER', 'TRITON_ATTN', 'FLEX_ATTENTION']
19Loading pt checkpoint shards: 0% Completed | 0/2 [00:00<?, ?it/s]
20Loading pt checkpoint shards: 50% Completed | 1/2 [00:03<00:03, 3.57s/it]
21Loading pt checkpoint shards: 100% Completed | 2/2 [00:06<00:00, 3.44s/it]
22Loading pt checkpoint shards: 100% Completed | 2/2 [00:06<00:00, 3.46s/it]
23(EngineCore_DP0 pid=40856)
24(EngineCore_DP0 pid=40856) INFO 12-18 16:08:11 [default_loader.py:308] Loading weights took 6.91 seconds
25(EngineCore_DP0 pid=40856) INFO 12-18 16:08:11 [gpu_model_runner.py:3549] Model loading took 8.8021 GiB memory and 9.104030 seconds
26(EngineCore_DP0 pid=40856) INFO 12-18 16:08:25 [backends.py:655] Using cache directory: /home/elicer/.cache/vllm/torch_compile_cache/d343df497c/rank_0_0/backbone for vLLM's torch.compile
27(EngineCore_DP0 pid=40856) INFO 12-18 16:08:25 [backends.py:715] Dynamo bytecode transform time: 13.34 s
28(EngineCore_DP0 pid=40856) INFO 12-18 16:08:52 [backends.py:216] Directly load the compiled graph(s) for dynamic shape from the cache, took 26.647 s
29(EngineCore_DP0 pid=40856) INFO 12-18 16:09:29 [monitor.py:34] torch.compile takes 39.98 s in total
30(EngineCore_DP0 pid=40856) INFO 12-18 16:09:30 [gpu_worker.py:359] Available KV cache memory: 7.24 GiB
31(EngineCore_DP0 pid=40856) INFO 12-18 16:09:31 [kv_cache_utils.py:1286] GPU KV cache size: 52,736 tokens
32(EngineCore_DP0 pid=40856) INFO 12-18 16:09:31 [kv_cache_utils.py:1291] Maximum concurrency for 40,960 tokens per request: 1.29x
33Capturing CUDA graphs (mixed prefill-decode, PIECEWISE): 90%|█████████████████████████████████████████████████████████████████████████████████████████████████████████████████████▎ | 46/51 [00:03<00:00, 12.78it/s]
34(EngineCore_DP0 pid=40856) ERROR 12-18 16:09:35 [core.py:843] EngineCore failed to start.
35(EngineCore_DP0 pid=40856) ERROR 12-18 16:09:35 [core.py:843] Traceback (most recent call last):
36(EngineCore_DP0 pid=40856) ERROR 12-18 16:09:35 [core.py:843] File "/home/elicer/ao/.venv/lib/python3.10/site-packages/vllm/v1/engine/core.py", line 834, in run_engine_core
37(EngineCore_DP0 pid=40856) ERROR 12-18 16:09:35 [core.py:843] engine_core = EngineCoreProc(*args, **kwargs)
38(EngineCore_DP0 pid=40856) ERROR 12-18 16:09:35 [core.py:843] File "/home/elicer/ao/.venv/lib/python3.10/site-packages/vllm/v1/engine/core.py", line 610, in __init__
39(EngineCore_DP0 pid=40856) ERROR 12-18 16:09:35 [core.py:843] super().__init__(
40(EngineCore_DP0 pid=40856) ERROR 12-18 16:09:35 [core.py:843] File "/home/elicer/ao/.venv/lib/python3.10/site-packages/vllm/v1/engine/core.py", line 109, in __init__
41(EngineCore_DP0 pid=40856) ERROR 12-18 16:09:35 [core.py:843] num_gpu_blocks, num_cpu_blocks, kv_cache_config = self._initialize_kv_caches(
42(EngineCore_DP0 pid=40856) ERROR 12-18 16:09:35 [core.py:843] File "/home/elicer/ao/.venv/lib/python3.10/site-packages/vllm/v1/engine/core.py", line 251, in _initialize_kv_caches
43(EngineCore_DP0 pid=40856) ERROR 12-18 16:09:35 [core.py:843] self.model_executor.initialize_from_config(kv_cache_configs)
44(EngineCore_DP0 pid=40856) ERROR 12-18 16:09:35 [core.py:843] File "/home/elicer/ao/.venv/lib/python3.10/site-packages/vllm/v1/executor/abstract.py", line 116, in initialize_from_config
45(EngineCore_DP0 pid=40856) ERROR 12-18 16:09:35 [core.py:843] self.collective_rpc("compile_or_warm_up_model")
46(EngineCore_DP0 pid=40856) ERROR 12-18 16:09:35 [core.py:843] File "/home/elicer/ao/.venv/lib/python3.10/site-packages/vllm/v1/executor/uniproc_executor.py", line 75, in collective_rpc
47(EngineCore_DP0 pid=40856) ERROR 12-18 16:09:35 [core.py:843] result = run_method(self.driver_worker, method, args, kwargs)
48(EngineCore_DP0 pid=40856) ERROR 12-18 16:09:35 [core.py:843] File "/home/elicer/ao/.venv/lib/python3.10/site-packages/vllm/v1/serial_utils.py", line 479, in run_method
49(EngineCore_DP0 pid=40856) ERROR 12-18 16:09:35 [core.py:843] return func(*args, **kwargs)
50(EngineCore_DP0 pid=40856) ERROR 12-18 16:09:35 [core.py:843] File "/home/elicer/ao/.venv/lib/python3.10/site-packages/vllm/v1/worker/gpu_worker.py", line 427, in compile_or_warm_up_model
51(EngineCore_DP0 pid=40856) ERROR 12-18 16:09:35 [core.py:843] cuda_graph_memory_bytes = self.model_runner.capture_model()
52(EngineCore_DP0 pid=40856) ERROR 12-18 16:09:35 [core.py:843] File "/home/elicer/ao/.venv/lib/python3.10/site-packages/vllm/v1/worker/gpu_model_runner.py", line 4423, in capture_model
53(EngineCore_DP0 pid=40856) ERROR 12-18 16:09:35 [core.py:843] self._capture_cudagraphs(
54(EngineCore_DP0 pid=40856) ERROR 12-18 16:09:35 [core.py:843] File "/home/elicer/ao/.venv/lib/python3.10/site-packages/vllm/v1/worker/gpu_model_runner.py", line 4520, in _capture_cudagraphs
55(EngineCore_DP0 pid=40856) ERROR 12-18 16:09:35 [core.py:843] self._dummy_run(
56(EngineCore_DP0 pid=40856) ERROR 12-18 16:09:35 [core.py:843] File "/home/elicer/ao/.venv/lib/python3.10/site-packages/torch/utils/_contextlib.py", line 120, in decorate_context
57(EngineCore_DP0 pid=40856) ERROR 12-18 16:09:35 [core.py:843] return func(*args, **kwargs)
58(EngineCore_DP0 pid=40856) ERROR 12-18 16:09:35 [core.py:843] File "/home/elicer/ao/.venv/lib/python3.10/site-packages/vllm/v1/worker/gpu_model_runner.py", line 4071, in _dummy_run
59(EngineCore_DP0 pid=40856) ERROR 12-18 16:09:35 [core.py:843] outputs = self.model(
60(EngineCore_DP0 pid=40856) ERROR 12-18 16:09:35 [core.py:843] File "/home/elicer/ao/.venv/lib/python3.10/site-packages/vllm/compilation/cuda_graph.py", line 126, in __call__
61(EngineCore_DP0 pid=40856) ERROR 12-18 16:09:35 [core.py:843] return self.runnable(*args, **kwargs)
62(EngineCore_DP0 pid=40856) ERROR 12-18 16:09:35 [core.py:843] File "/home/elicer/ao/.venv/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1775, in _wrapped_call_impl
63(EngineCore_DP0 pid=40856) ERROR 12-18 16:09:35 [core.py:843] return self._call_impl(*args, **kwargs)
64(EngineCore_DP0 pid=40856) ERROR 12-18 16:09:35 [core.py:843] File "/home/elicer/ao/.venv/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1786, in _call_impl
65(EngineCore_DP0 pid=40856) ERROR 12-18 16:09:35 [core.py:843] return forward_call(*args, **kwargs)
66(EngineCore_DP0 pid=40856) ERROR 12-18 16:09:35 [core.py:843] File "/home/elicer/ao/.venv/lib/python3.10/site-packages/vllm/model_executor/models/qwen3.py", line 315, in forward
67(EngineCore_DP0 pid=40856) ERROR 12-18 16:09:35 [core.py:843] hidden_states = self.model(
68(EngineCore_DP0 pid=40856) ERROR 12-18 16:09:35 [core.py:843] File "/home/elicer/ao/.venv/lib/python3.10/site-packages/vllm/compilation/decorators.py", line 433, in __call__
69(EngineCore_DP0 pid=40856) ERROR 12-18 16:09:35 [core.py:843] return TorchCompileWithNoGuardsWrapper.__call__(self, *args, **kwargs)
70(EngineCore_DP0 pid=40856) ERROR 12-18 16:09:35 [core.py:843] File "/home/elicer/ao/.venv/lib/python3.10/site-packages/vllm/compilation/wrapper.py", line 174, in __call__
71(EngineCore_DP0 pid=40856) ERROR 12-18 16:09:35 [core.py:843] return self.forward(*args, **kwargs)
72(EngineCore_DP0 pid=40856) ERROR 12-18 16:09:35 [core.py:843] File "/home/elicer/ao/.venv/lib/python3.10/site-packages/vllm/model_executor/models/qwen2.py", line 389, in forward
73(EngineCore_DP0 pid=40856) ERROR 12-18 16:09:35 [core.py:843] def forward(
74(EngineCore_DP0 pid=40856) ERROR 12-18 16:09:35 [core.py:843] File "/home/elicer/ao/.venv/lib/python3.10/site-packages/torch/_dynamo/eval_frame.py", line 1044, in _fn
75(EngineCore_DP0 pid=40856) ERROR 12-18 16:09:35 [core.py:843] return fn(*args, **kwargs)
76(EngineCore_DP0 pid=40856) ERROR 12-18 16:09:35 [core.py:843] File "/home/elicer/ao/.venv/lib/python3.10/site-packages/vllm/compilation/caching.py", line 54, in __call__
77(EngineCore_DP0 pid=40856) ERROR 12-18 16:09:35 [core.py:843] return self.optimized_call(*args, **kwargs)
78(EngineCore_DP0 pid=40856) ERROR 12-18 16:09:35 [core.py:843] File "/home/elicer/ao/.venv/lib/python3.10/site-packages/torch/fx/graph_module.py", line 837, in call_wrapped
79(EngineCore_DP0 pid=40856) ERROR 12-18 16:09:35 [core.py:843] return self._wrapped_call(self, *args, **kwargs)
80(EngineCore_DP0 pid=40856) ERROR 12-18 16:09:35 [core.py:843] File "/home/elicer/ao/.venv/lib/python3.10/site-packages/torch/fx/graph_module.py", line 413, in __call__
81(EngineCore_DP0 pid=40856) ERROR 12-18 16:09:35 [core.py:843] raise e
82(EngineCore_DP0 pid=40856) ERROR 12-18 16:09:35 [core.py:843] File "/home/elicer/ao/.venv/lib/python3.10/site-packages/torch/fx/graph_module.py", line 400, in __call__
83(EngineCore_DP0 pid=40856) ERROR 12-18 16:09:35 [core.py:843] return super(self.cls, obj).__call__(*args, **kwargs) # type: ignore[misc]
84(EngineCore_DP0 pid=40856) ERROR 12-18 16:09:35 [core.py:843] File "/home/elicer/ao/.venv/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1775, in _wrapped_call_impl
85(EngineCore_DP0 pid=40856) ERROR 12-18 16:09:35 [core.py:843] return self._call_impl(*args, **kwargs)
86(EngineCore_DP0 pid=40856) ERROR 12-18 16:09:35 [core.py:843] File "/home/elicer/ao/.venv/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1786, in _call_impl
87(EngineCore_DP0 pid=40856) ERROR 12-18 16:09:35 [core.py:843] return forward_call(*args, **kwargs)
88(EngineCore_DP0 pid=40856) ERROR 12-18 16:09:35 [core.py:843] File "<eval_with_key>.74", line 298, in forward
89(EngineCore_DP0 pid=40856) ERROR 12-18 16:09:35 [core.py:843] submod_0 = self.submod_0(l_input_ids_, s72, l_self_modules_embed_tokens_parameters_weight_, l_self_modules_layers_modules_0_modules_input_layernorm_parameters_weight_, l_self_modules_layers_modules_0_modules_self_attn_modules_qkv_proj_parameters_weight_, l_self_modules_layers_modules_0_modules_self_attn_modules_q_norm_parameters_weight_, l_self_modules_layers_modules_0_modules_self_attn_modules_k_norm_parameters_weight_, l_positions_, l_self_modules_layers_modules_0_modules_self_attn_modules_rotary_emb_buffers_cos_sin_cache_); l_input_ids_ = l_self_modules_embed_tokens_parameters_weight_ = l_self_modules_layers_modules_0_modules_input_layernorm_parameters_weight_ = l_self_modules_layers_modules_0_modules_self_attn_modules_qkv_proj_parameters_weight_ = l_self_modules_layers_modules_0_modules_self_attn_modules_q_norm_parameters_weight_ = l_self_modules_layers_modules_0_modules_self_attn_modules_k_norm_parameters_weight_ = None
90(EngineCore_DP0 pid=40856) ERROR 12-18 16:09:35 [core.py:843] File "/home/elicer/ao/.venv/lib/python3.10/site-packages/vllm/compilation/cuda_graph.py", line 126, in __call__
91(EngineCore_DP0 pid=40856) ERROR 12-18 16:09:35 [core.py:843] return self.runnable(*args, **kwargs)
92(EngineCore_DP0 pid=40856) ERROR 12-18 16:09:35 [core.py:843] File "/home/elicer/ao/.venv/lib/python3.10/site-packages/vllm/compilation/piecewise_backend.py", line 99, in __call__
93(EngineCore_DP0 pid=40856) ERROR 12-18 16:09:35 [core.py:843] return self.compiled_graph_for_general_shape(*args)
94(EngineCore_DP0 pid=40856) ERROR 12-18 16:09:35 [core.py:843] File "/home/elicer/ao/.venv/lib/python3.10/site-packages/vllm/compilation/compiler_interface.py", line 268, in compiled_graph_wrapper
95(EngineCore_DP0 pid=40856) ERROR 12-18 16:09:35 [core.py:843] graph_output = inductor_compiled_graph(*args)
96(EngineCore_DP0 pid=40856) ERROR 12-18 16:09:35 [core.py:843] File "/home/elicer/ao/.venv/lib/python3.10/site-packages/torch/_inductor/standalone_compile.py", line 63, in __call__
97(EngineCore_DP0 pid=40856) ERROR 12-18 16:09:35 [core.py:843] return self._compiled_fn(*args)
98(EngineCore_DP0 pid=40856) ERROR 12-18 16:09:35 [core.py:843] File "/home/elicer/ao/.venv/lib/python3.10/site-packages/torch/_inductor/standalone_compile.py", line 184, in <lambda>
99(EngineCore_DP0 pid=40856) ERROR 12-18 16:09:35 [core.py:843] return CompiledArtifact(lambda *args: compiled_fn(list(args)), None)
100(EngineCore_DP0 pid=40856) ERROR 12-18 16:09:35 [core.py:843] File "/home/elicer/ao/.venv/lib/python3.10/site-packages/torch/_functorch/_aot_autograd/runtime_wrappers.py", line 353, in runtime_wrapper
101(EngineCore_DP0 pid=40856) ERROR 12-18 16:09:35 [core.py:843] all_outs = call_func_at_runtime_with_args(
102(EngineCore_DP0 pid=40856) ERROR 12-18 16:09:35 [core.py:843] File "/home/elicer/ao/.venv/lib/python3.10/site-packages/torch/_functorch/_aot_autograd/utils.py", line 129, in call_func_at_runtime_with_args
103(EngineCore_DP0 pid=40856) ERROR 12-18 16:09:35 [core.py:843] out = normalize_as_list(f(args))
104(EngineCore_DP0 pid=40856) ERROR 12-18 16:09:35 [core.py:843] File "/home/elicer/ao/.venv/lib/python3.10/site-packages/torch/_functorch/_aot_autograd/runtime_wrappers.py", line 526, in wrapper
105(EngineCore_DP0 pid=40856) ERROR 12-18 16:09:35 [core.py:843] return compiled_fn(runtime_args)
106(EngineCore_DP0 pid=40856) ERROR 12-18 16:09:35 [core.py:843] File "/home/elicer/ao/.venv/lib/python3.10/site-packages/torch/_functorch/_aot_autograd/runtime_wrappers.py", line 690, in inner_fn
107(EngineCore_DP0 pid=40856) ERROR 12-18 16:09:35 [core.py:843] unwrapped_outs = compiled_fn(unwrapped_args)
108(EngineCore_DP0 pid=40856) ERROR 12-18 16:09:35 [core.py:843] File "/home/elicer/ao/.venv/lib/python3.10/site-packages/torch/_inductor/output_code.py", line 613, in __call__
109(EngineCore_DP0 pid=40856) ERROR 12-18 16:09:35 [core.py:843] return self.current_callable(inputs)
110(EngineCore_DP0 pid=40856) ERROR 12-18 16:09:35 [core.py:843] File "/home/elicer/ao/.venv/lib/python3.10/site-packages/torch/_inductor/utils.py", line 2962, in run
111(EngineCore_DP0 pid=40856) ERROR 12-18 16:09:35 [core.py:843] out = model(new_inputs)
112(EngineCore_DP0 pid=40856) ERROR 12-18 16:09:35 [core.py:843] File "/tmp/torchinductor_elicer/ky/cky2jjvg4btm7jgfrxinkkypay46uehobqgihwloy7ibr7dpw2kp.py", line 1385, in call
113(EngineCore_DP0 pid=40856) ERROR 12-18 16:09:35 [core.py:843] extern_kernels._int_mm(buf5, reinterpret_tensor(arg4_1, (4096, 6144), (1, 4096), 0), out=buf6)
114(EngineCore_DP0 pid=40856) ERROR 12-18 16:09:35 [core.py:843] RuntimeError: self.size(0) needs to be greater than 16, but got 16
115(EngineCore_DP0 pid=40856) Process EngineCore_DP0:
116(EngineCore_DP0 pid=40856) Traceback (most recent call last):
117(EngineCore_DP0 pid=40856) File "/usr/local/lib/python3.10/multiprocessing/process.py", line 314, in _bootstrap
118(EngineCore_DP0 pid=40856) self.run()
119(EngineCore_DP0 pid=40856) File "/usr/local/lib/python3.10/multiprocessing/process.py", line 108, in run
120(EngineCore_DP0 pid=40856) self._target(*self._args, **self._kwargs)
121(EngineCore_DP0 pid=40856) File "/home/elicer/ao/.venv/lib/python3.10/site-packages/vllm/v1/engine/core.py", line 847, in run_engine_core
122(EngineCore_DP0 pid=40856) raise e
123(EngineCore_DP0 pid=40856) File "/home/elicer/ao/.venv/lib/python3.10/site-packages/vllm/v1/engine/core.py", line 834, in run_engine_core
124(EngineCore_DP0 pid=40856) engine_core = EngineCoreProc(*args, **kwargs)
125(EngineCore_DP0 pid=40856) File "/home/elicer/ao/.venv/lib/python3.10/site-packages/vllm/v1/engine/core.py", line 610, in __init__
126(EngineCore_DP0 pid=40856) super().__init__(
127(EngineCore_DP0 pid=40856) File "/home/elicer/ao/.venv/lib/python3.10/site-packages/vllm/v1/engine/core.py", line 109, in __init__
128(EngineCore_DP0 pid=40856) num_gpu_blocks, num_cpu_blocks, kv_cache_config = self._initialize_kv_caches(
129(EngineCore_DP0 pid=40856) File "/home/elicer/ao/.venv/lib/python3.10/site-packages/vllm/v1/engine/core.py", line 251, in _initialize_kv_caches
130(EngineCore_DP0 pid=40856) self.model_executor.initialize_from_config(kv_cache_configs)
131(EngineCore_DP0 pid=40856) File "/home/elicer/ao/.venv/lib/python3.10/site-packages/vllm/v1/executor/abstract.py", line 116, in initialize_from_config
132(EngineCore_DP0 pid=40856) self.collective_rpc("compile_or_warm_up_model")
133(EngineCore_DP0 pid=40856) File "/home/elicer/ao/.venv/lib/python3.10/site-packages/vllm/v1/executor/uniproc_executor.py", line 75, in collective_rpc
134(EngineCore_DP0 pid=40856) result = run_method(self.driver_worker, method, args, kwargs)
135(EngineCore_DP0 pid=40856) File "/home/elicer/ao/.venv/lib/python3.10/site-packages/vllm/v1/serial_utils.py", line 479, in run_method
136(EngineCore_DP0 pid=40856) return func(*args, **kwargs)
137(EngineCore_DP0 pid=40856) File "/home/elicer/ao/.venv/lib/python3.10/site-packages/vllm/v1/worker/gpu_worker.py", line 427, in compile_or_warm_up_model
138(EngineCore_DP0 pid=40856) cuda_graph_memory_bytes = self.model_runner.capture_model()
139(EngineCore_DP0 pid=40856) File "/home/elicer/ao/.venv/lib/python3.10/site-packages/vllm/v1/worker/gpu_model_runner.py", line 4423, in capture_model
140(EngineCore_DP0 pid=40856) self._capture_cudagraphs(
141(EngineCore_DP0 pid=40856) File "/home/elicer/ao/.venv/lib/python3.10/site-packages/vllm/v1/worker/gpu_model_runner.py", line 4520, in _capture_cudagraphs
142(EngineCore_DP0 pid=40856) self._dummy_run(
143(EngineCore_DP0 pid=40856) File "/home/elicer/ao/.venv/lib/python3.10/site-packages/torch/utils/_contextlib.py", line 120, in decorate_context
144(EngineCore_DP0 pid=40856) return func(*args, **kwargs)
145(EngineCore_DP0 pid=40856) File "/home/elicer/ao/.venv/lib/python3.10/site-packages/vllm/v1/worker/gpu_model_runner.py", line 4071, in _dummy_run
146(EngineCore_DP0 pid=40856) outputs = self.model(
147(EngineCore_DP0 pid=40856) File "/home/elicer/ao/.venv/lib/python3.10/site-packages/vllm/compilation/cuda_graph.py", line 126, in __call__
148(EngineCore_DP0 pid=40856) return self.runnable(*args, **kwargs)
149(EngineCore_DP0 pid=40856) File "/home/elicer/ao/.venv/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1775, in _wrapped_call_impl
150(EngineCore_DP0 pid=40856) return self._call_impl(*args, **kwargs)
151(EngineCore_DP0 pid=40856) File "/home/elicer/ao/.venv/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1786, in _call_impl
152(EngineCore_DP0 pid=40856) return forward_call(*args, **kwargs)
153(EngineCore_DP0 pid=40856) File "/home/elicer/ao/.venv/lib/python3.10/site-packages/vllm/model_executor/models/qwen3.py", line 315, in forward
154(EngineCore_DP0 pid=40856) hidden_states = self.model(
155(EngineCore_DP0 pid=40856) File "/home/elicer/ao/.venv/lib/python3.10/site-packages/vllm/compilation/decorators.py", line 433, in __call__
156(EngineCore_DP0 pid=40856) return TorchCompileWithNoGuardsWrapper.__call__(self, *args, **kwargs)
157(EngineCore_DP0 pid=40856) File "/home/elicer/ao/.venv/lib/python3.10/site-packages/vllm/compilation/wrapper.py", line 174, in __call__
158(EngineCore_DP0 pid=40856) return self.forward(*args, **kwargs)
159(EngineCore_DP0 pid=40856) File "/home/elicer/ao/.venv/lib/python3.10/site-packages/vllm/model_executor/models/qwen2.py", line 389, in forward
160(EngineCore_DP0 pid=40856) def forward(
161(EngineCore_DP0 pid=40856) File "/home/elicer/ao/.venv/lib/python3.10/site-packages/torch/_dynamo/eval_frame.py", line 1044, in _fn
162(EngineCore_DP0 pid=40856) return fn(*args, **kwargs)
163(EngineCore_DP0 pid=40856) File "/home/elicer/ao/.venv/lib/python3.10/site-packages/vllm/compilation/caching.py", line 54, in __call__
164(EngineCore_DP0 pid=40856) return self.optimized_call(*args, **kwargs)
165(EngineCore_DP0 pid=40856) File "/home/elicer/ao/.venv/lib/python3.10/site-packages/torch/fx/graph_module.py", line 837, in call_wrapped
166(EngineCore_DP0 pid=40856) return self._wrapped_call(self, *args, **kwargs)
167(EngineCore_DP0 pid=40856) File "/home/elicer/ao/.venv/lib/python3.10/site-packages/torch/fx/graph_module.py", line 413, in __call__
168(EngineCore_DP0 pid=40856) raise e
169(EngineCore_DP0 pid=40856) File "/home/elicer/ao/.venv/lib/python3.10/site-packages/torch/fx/graph_module.py", line 400, in __call__
170(EngineCore_DP0 pid=40856) return super(self.cls, obj).__call__(*args, **kwargs) # type: ignore[misc]
171(EngineCore_DP0 pid=40856) File "/home/elicer/ao/.venv/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1775, in _wrapped_call_impl
172(EngineCore_DP0 pid=40856) return self._call_impl(*args, **kwargs)
173(EngineCore_DP0 pid=40856) File "/home/elicer/ao/.venv/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1786, in _call_impl
174(EngineCore_DP0 pid=40856) return forward_call(*args, **kwargs)
175(EngineCore_DP0 pid=40856) File "<eval_with_key>.74", line 298, in forward
176(EngineCore_DP0 pid=40856) submod_0 = self.submod_0(l_input_ids_, s72, l_self_modules_embed_tokens_parameters_weight_, l_self_modules_layers_modules_0_modules_input_layernorm_parameters_weight_, l_self_modules_layers_modules_0_modules_self_attn_modules_qkv_proj_parameters_weight_, l_self_modules_layers_modules_0_modules_self_attn_modules_q_norm_parameters_weight_, l_self_modules_layers_modules_0_modules_self_attn_modules_k_norm_parameters_weight_, l_positions_, l_self_modules_layers_modules_0_modules_self_attn_modules_rotary_emb_buffers_cos_sin_cache_); l_input_ids_ = l_self_modules_embed_tokens_parameters_weight_ = l_self_modules_layers_modules_0_modules_input_layernorm_parameters_weight_ = l_self_modules_layers_modules_0_modules_self_attn_modules_qkv_proj_parameters_weight_ = l_self_modules_layers_modules_0_modules_self_attn_modules_q_norm_parameters_weight_ = l_self_modules_layers_modules_0_modules_self_attn_modules_k_norm_parameters_weight_ = None
177(EngineCore_DP0 pid=40856) File "/home/elicer/ao/.venv/lib/python3.10/site-packages/vllm/compilation/cuda_graph.py", line 126, in __call__
178(EngineCore_DP0 pid=40856) return self.runnable(*args, **kwargs)
179(EngineCore_DP0 pid=40856) File "/home/elicer/ao/.venv/lib/python3.10/site-packages/vllm/compilation/piecewise_backend.py", line 99, in __call__
180(EngineCore_DP0 pid=40856) return self.compiled_graph_for_general_shape(*args)
181(EngineCore_DP0 pid=40856) File "/home/elicer/ao/.venv/lib/python3.10/site-packages/vllm/compilation/compiler_interface.py", line 268, in compiled_graph_wrapper
182(EngineCore_DP0 pid=40856) graph_output = inductor_compiled_graph(*args)
183(EngineCore_DP0 pid=40856) File "/home/elicer/ao/.venv/lib/python3.10/site-packages/torch/_inductor/standalone_compile.py", line 63, in __call__
184(EngineCore_DP0 pid=40856) return self._compiled_fn(*args)
185(EngineCore_DP0 pid=40856) File "/home/elicer/ao/.venv/lib/python3.10/site-packages/torch/_inductor/standalone_compile.py", line 184, in <lambda>
186(EngineCore_DP0 pid=40856) return CompiledArtifact(lambda *args: compiled_fn(list(args)), None)
187(EngineCore_DP0 pid=40856) File "/home/elicer/ao/.venv/lib/python3.10/site-packages/torch/_functorch/_aot_autograd/runtime_wrappers.py", line 353, in runtime_wrapper
188(EngineCore_DP0 pid=40856) all_outs = call_func_at_runtime_with_args(
189(EngineCore_DP0 pid=40856) File "/home/elicer/ao/.venv/lib/python3.10/site-packages/torch/_functorch/_aot_autograd/utils.py", line 129, in call_func_at_runtime_with_args
190(EngineCore_DP0 pid=40856) out = normalize_as_list(f(args))
191(EngineCore_DP0 pid=40856) File "/home/elicer/ao/.venv/lib/python3.10/site-packages/torch/_functorch/_aot_autograd/runtime_wrappers.py", line 526, in wrapper
192(EngineCore_DP0 pid=40856) return compiled_fn(runtime_args)
193(EngineCore_DP0 pid=40856) File "/home/elicer/ao/.venv/lib/python3.10/site-packages/torch/_functorch/_aot_autograd/runtime_wrappers.py", line 690, in inner_fn
194(EngineCore_DP0 pid=40856) unwrapped_outs = compiled_fn(unwrapped_args)
195(EngineCore_DP0 pid=40856) File "/home/elicer/ao/.venv/lib/python3.10/site-packages/torch/_inductor/output_code.py", line 613, in __call__
196(EngineCore_DP0 pid=40856) return self.current_callable(inputs)
197(EngineCore_DP0 pid=40856) File "/home/elicer/ao/.venv/lib/python3.10/site-packages/torch/_inductor/utils.py", line 2962, in run
198(EngineCore_DP0 pid=40856) out = model(new_inputs)
199(EngineCore_DP0 pid=40856) File "/tmp/torchinductor_elicer/ky/cky2jjvg4btm7jgfrxinkkypay46uehobqgihwloy7ibr7dpw2kp.py", line 1385, in call
200(EngineCore_DP0 pid=40856) extern_kernels._int_mm(buf5, reinterpret_tensor(arg4_1, (4096, 6144), (1, 4096), 0), out=buf6)
201(EngineCore_DP0 pid=40856) RuntimeError: self.size(0) needs to be greater than 16, but got 16
202[rank0]:[W1218 16:09:36.180598790 ProcessGroupNCCL.cpp:1524] 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())
203Traceback (most recent call last):
204 File "/home/elicer/ao/.venv/bin/vllm", line 10, in <module>
205 sys.exit(main())
206 File "/home/elicer/ao/.venv/lib/python3.10/site-packages/vllm/entrypoints/cli/main.py", line 73, in main
207 args.dispatch_function(args)
208 File "/home/elicer/ao/.venv/lib/python3.10/site-packages/vllm/entrypoints/cli/benchmark/throughput.py", line 21, in cmd
209 main(args)
210 File "/home/elicer/ao/.venv/lib/python3.10/site-packages/vllm/benchmarks/throughput.py", line 721, in main
211 elapsed_time, request_outputs = run_vllm(
212 File "/home/elicer/ao/.venv/lib/python3.10/site-packages/vllm/benchmarks/throughput.py", line 50, in run_vllm
213 llm = LLM(**dataclasses.asdict(engine_args))
214 File "/home/elicer/ao/.venv/lib/python3.10/site-packages/vllm/entrypoints/llm.py", line 334, in __init__
215 self.llm_engine = LLMEngine.from_engine_args(
216 File "/home/elicer/ao/.venv/lib/python3.10/site-packages/vllm/v1/engine/llm_engine.py", line 183, in from_engine_args
217 return cls(
218 File "/home/elicer/ao/.venv/lib/python3.10/site-packages/vllm/v1/engine/llm_engine.py", line 109, in __init__
219 self.engine_core = EngineCoreClient.make_client(
220 File "/home/elicer/ao/.venv/lib/python3.10/site-packages/vllm/v1/engine/core_client.py", line 93, in make_client
221 return SyncMPClient(vllm_config, executor_class, log_stats)
222 File "/home/elicer/ao/.venv/lib/python3.10/site-packages/vllm/v1/engine/core_client.py", line 642, in __init__
223 super().__init__(
224 File "/home/elicer/ao/.venv/lib/python3.10/site-packages/vllm/v1/engine/core_client.py", line 471, in __init__
225 with launch_core_engines(vllm_config, executor_class, log_stats) as (
226 File "/usr/local/lib/python3.10/contextlib.py", line 142, in __exit__
227 next(self.gen)
228 File "/home/elicer/ao/.venv/lib/python3.10/site-packages/vllm/v1/engine/utils.py", line 903, in launch_core_engines
229 wait_for_engine_startup(
230 File "/home/elicer/ao/.venv/lib/python3.10/site-packages/vllm/v1/engine/utils.py", line 960, in wait_for_engine_startup
231 raise RuntimeError(
232RuntimeError: Engine core initialization failed. See root cause above. Failed core proc(s): {}