Skip to content

[Bug]:0.74 dev ,the error occurred in the gptq_marlin_gemm function call #14887

@su400

Description

@su400

Your current environment

PyTorch version: 2.6.0+cu124
Is debug build: False
CUDA used to build PyTorch: 12.4
ROCM used to build PyTorch: N/A

OS: Ubuntu 22.04.5 LTS (x86_64)
GCC version: (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0
Clang version: Could not collect
CMake version: version 3.22.1
Libc version: glibc-2.35

Python version: 3.12.9 | packaged by Anaconda, Inc. | (main, Feb 6 2025, 18:56:27) [GCC 11.2.0] (64-bit runtime)
Python platform: Linux-6.8.0-52-generic-x86_64-with-glibc2.35
Is CUDA available: True
CUDA runtime version: 12.6.85
CUDA_MODULE_LOADING set to: LAZY
GPU models and configuration:
GPU 0: NVIDIA L40S
GPU 1: NVIDIA L40S
GPU 2: NVIDIA L40S
GPU 3: NVIDIA L40S
GPU 4: NVIDIA L40S
GPU 5: NVIDIA L40S
GPU 6: NVIDIA L40S
GPU 7: NVIDIA L40S

Nvidia driver version: 565.57.01
cuDNN version: Could not collect
HIP runtime version: N/A
MIOpen runtime version: N/A
Is XNNPACK available: True

CPU:
架构: x86_64
CPU 运行模式: 32-bit, 64-bit
Address sizes: 52 bits physical, 57 bits virtual
字节序: Little Endian
CPU: 64
在线 CPU 列表: 0-63
厂商 ID: GenuineIntel
型号名称: INTEL(R) XEON(R) GOLD 6530
CPU 系列: 6
型号: 207
每个核的线程数: 1
每个座的核数: 32
座: 2
步进: 2
CPU 最大 MHz: 4000.0000
CPU 最小 MHz: 800.0000
BogoMIPS: 4200.00
标记: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf tsc_known_freq pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb cat_l3 cat_l2 cdp_l3 intel_ppin cdp_l2 ssbd mba ibrs ibpb stibp ibrs_enhanced tpr_shadow flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid cqm rdt_a avx512f avx512dq rdseed adx smap avx512ifma clflushopt clwb intel_pt avx512cd sha_ni avx512bw avx512vl xsaveopt xsavec xgetbv1 xsaves cqm_llc cqm_occup_llc cqm_mbm_total cqm_mbm_local split_lock_detect user_shstk avx_vnni avx512_bf16 wbnoinvd dtherm ida arat pln pts hwp hwp_act_window hwp_epp hwp_pkg_req vnmi avx512vbmi umip pku ospke waitpkg avx512_vbmi2 gfni vaes vpclmulqdq avx512_vnni avx512_bitalg tme avx512_vpopcntdq la57 rdpid bus_lock_detect cldemote movdiri movdir64b enqcmd fsrm md_clear serialize tsxldtrk pconfig arch_lbr ibt amx_bf16 avx512_fp16 amx_tile amx_int8 flush_l1d arch_capabilities
虚拟化: VT-x
L1d 缓存: 3 MiB (64 instances)
L1i 缓存: 2 MiB (64 instances)
L2 缓存: 128 MiB (64 instances)
L3 缓存: 320 MiB (2 instances)
NUMA 节点: 4
NUMA 节点0 CPU: 0-15
NUMA 节点1 CPU: 16-31
NUMA 节点2 CPU: 32-47
NUMA 节点3 CPU: 48-63
Vulnerability Gather data sampling: Not affected
Vulnerability Itlb multihit: Not affected
Vulnerability L1tf: Not affected
Vulnerability Mds: Not affected
Vulnerability Meltdown: Not affected
Vulnerability Mmio stale data: Not affected
Vulnerability Reg file data sampling: Not affected
Vulnerability Retbleed: Not affected
Vulnerability Spec rstack overflow: Not affected
Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl
Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization
Vulnerability Spectre v2: Mitigation; Enhanced / Automatic IBRS; IBPB conditional; RSB filling; PBRSB-eIBRS SW sequence; BHI BHI_DIS_S
Vulnerability Srbds: Not affected
Vulnerability Tsx async abort: Not affected

Versions of relevant libraries:
[pip3] numpy==1.26.4
[pip3] nvidia-cublas-cu12==12.4.5.8
[pip3] nvidia-cuda-cupti-cu12==12.4.127
[pip3] nvidia-cuda-nvrtc-cu12==12.4.127
[pip3] nvidia-cuda-runtime-cu12==12.4.127
[pip3] nvidia-cudnn-cu12==9.1.0.70
[pip3] nvidia-cufft-cu12==11.2.1.3
[pip3] nvidia-curand-cu12==10.3.5.147
[pip3] nvidia-cusolver-cu12==11.6.1.9
[pip3] nvidia-cusparse-cu12==12.3.1.170
[pip3] nvidia-cusparselt-cu12==0.6.2
[pip3] nvidia-nccl-cu12==2.26.2
[pip3] nvidia-nvjitlink-cu12==12.4.127
[pip3] nvidia-nvtx-cu12==12.4.127
[pip3] pyzmq==26.3.0
[pip3] torch==2.6.0
[pip3] torchaudio==2.6.0
[pip3] torchvision==0.21.0
[pip3] transformers==4.49.0
[pip3] triton==3.2.0
[conda] numpy 1.26.4 pypi_0 pypi
[conda] nvidia-cublas-cu12 12.4.5.8 pypi_0 pypi
[conda] nvidia-cuda-cupti-cu12 12.4.127 pypi_0 pypi
[conda] nvidia-cuda-nvrtc-cu12 12.4.127 pypi_0 pypi
[conda] nvidia-cuda-runtime-cu12 12.4.127 pypi_0 pypi
[conda] nvidia-cudnn-cu12 9.1.0.70 pypi_0 pypi
[conda] nvidia-cufft-cu12 11.2.1.3 pypi_0 pypi
[conda] nvidia-curand-cu12 10.3.5.147 pypi_0 pypi
[conda] nvidia-cusolver-cu12 11.6.1.9 pypi_0 pypi
[conda] nvidia-cusparse-cu12 12.3.1.170 pypi_0 pypi
[conda] nvidia-cusparselt-cu12 0.6.2 pypi_0 pypi
[conda] nvidia-nccl-cu12 2.26.2 pypi_0 pypi
[conda] nvidia-nvjitlink-cu12 12.4.127 pypi_0 pypi
[conda] nvidia-nvtx-cu12 12.4.127 pypi_0 pypi
[conda] pyzmq 26.3.0 pypi_0 pypi
[conda] torch 2.6.0 pypi_0 pypi
[conda] torchaudio 2.6.0 pypi_0 pypi
[conda] torchvision 0.21.0 pypi_0 pypi
[conda] transformers 4.49.0 pypi_0 pypi
[conda] triton 3.2.0 pypi_0 pypi
ROCM Version: Could not collect
Neuron SDK Version: N/A
vLLM Version: 0.7.4.dev477+g61c6a5a7
vLLM Build Flags:
CUDA Archs: Not Set; ROCm: Disabled; Neuron: Disabled
GPU Topology:
GPU0 GPU1 GPU2 GPU3 GPU4 GPU5 GPU6 GPU7 CPU Affinity NUMA Affinity GPU NUMA ID
GPU0 X PIX NODE NODE SYS SYS SYS SYS 0-15 0 N/A
GPU1 PIX X NODE NODE SYS SYS SYS SYS 0-15 0 N/A
GPU2 NODE NODE X PIX SYS SYS SYS SYS 0-15 0 N/A
GPU3 NODE NODE PIX X SYS SYS SYS SYS 0-15 0 N/A
GPU4 SYS SYS SYS SYS X PIX NODE NODE 32-47 2 N/A
GPU5 SYS SYS SYS SYS PIX X NODE NODE 32-47 2 N/A
GPU6 SYS SYS SYS SYS NODE NODE X PIX 32-47 2 N/A
GPU7 SYS SYS SYS SYS NODE NODE PIX X 32-47 2 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

NCCL_SOCKET_IFNAME=ens31f0np0,ens31f1np1
NCCL_DEBUG=INFO
NCCL_IB_DISABLE=1
LD_LIBRARY_PATH=/home/kkk/miniconda3/envs/vllm1/lib/python3.12/site-packages/cv2/../../lib64:
NCCL_CUMEM_ENABLE=0
TORCHINDUCTOR_COMPILE_THREADS=1
CUDA_MODULE_LOADING=LAZY

🐛 Describe the bug

I have two 8-card L40S nodes and am using the Deepseek r1 AWQ model for inference. Previously, when using version 0.73, it was quite normal with 24 TOKEN per second. Today I upgraded to version 0.74 DEV, and the speed of asking the first question reached 40 TOKENs. However, when asking the second question, an error occurs. According to the logs, the error occurred in the gptq_marlin_gemm function call:
output = ops.gptq_marlin_gemm(reshaped_x, ...)
This indicates that the reshaped_x tensor may not be continuous. Gptq_marlin_gemm is a low-level operation that requires continuity of the input tensor.
(vllm1) kkk@kkk:~/ai/vllm$ RAY_IGNORE_UNHANDLED_ERRORS=1 python -m vllm.entrypoints.openai.api_server
--model /home/kkk/ai/models/DeepSeek-R1-awq
--tensor-parallel-size 8
--pipeline-parallel-size 2
--host 0.0.0.0
--port 9997
--enable-prefix-caching
--served-model-name DeepSeek-R1
--gpu-memory-utilization 0.95
--trust-remote-code
--max-model-len 32768
--enable-chunked-prefill
--quantization moe_wna16
--max-num-batched-tokens 65535
INFO 03-16 20:56:14 [init.py:256] Automatically detected platform cuda.
INFO 03-16 20:56:15 [api_server.py:972] vLLM API server version 0.7.4.dev477+g61c6a5a7
INFO 03-16 20:56:15 [api_server.py:973] args: Namespace(host='0.0.0.0', port=9997, uvicorn_log_level='info', allow_credentials=False, allowed_origins=[''], allowed_methods=[''], allowed_headers=['*'], api_key=None, lora_modules=None, prompt_adapters=None, chat_template=None, chat_template_content_format='auto', response_role='assistant', ssl_keyfile=None, ssl_certfile=None, ssl_ca_certs=None, enable_ssl_refresh=False, ssl_cert_reqs=0, root_path=None, middleware=[], return_tokens_as_token_ids=False, disable_frontend_multiprocessing=False, enable_request_id_headers=False, enable_auto_tool_choice=False, tool_call_parser=None, tool_parser_plugin='', model='/home/kkk/ai/models/DeepSeek-R1-awq', task='auto', tokenizer=None, hf_config_path=None, skip_tokenizer_init=False, revision=None, code_revision=None, tokenizer_revision=None, tokenizer_mode='auto', trust_remote_code=True, allowed_local_media_path=None, download_dir=None, load_format='auto', config_format=<ConfigFormat.AUTO: 'auto'>, dtype='auto', kv_cache_dtype='auto', max_model_len=32768, guided_decoding_backend='xgrammar', logits_processor_pattern=None, model_impl='auto', distributed_executor_backend=None, pipeline_parallel_size=2, tensor_parallel_size=8, enable_expert_parallel=False, max_parallel_loading_workers=None, ray_workers_use_nsight=False, block_size=None, enable_prefix_caching=True, disable_sliding_window=False, use_v2_block_manager=True, num_lookahead_slots=0, seed=None, swap_space=4, cpu_offload_gb=0, gpu_memory_utilization=0.95, num_gpu_blocks_override=None, max_num_batched_tokens=65535, max_num_partial_prefills=1, max_long_partial_prefills=1, long_prefill_token_threshold=0, max_num_seqs=None, max_logprobs=20, disable_log_stats=False, quantization='moe_wna16', rope_scaling=None, rope_theta=None, hf_overrides=None, enforce_eager=False, max_seq_len_to_capture=8192, disable_custom_all_reduce=False, tokenizer_pool_size=0, tokenizer_pool_type='ray', tokenizer_pool_extra_config=None, limit_mm_per_prompt=None, mm_processor_kwargs=None, disable_mm_preprocessor_cache=False, enable_lora=False, enable_lora_bias=False, max_loras=1, max_lora_rank=16, lora_extra_vocab_size=256, lora_dtype='auto', long_lora_scaling_factors=None, max_cpu_loras=None, fully_sharded_loras=False, enable_prompt_adapter=False, max_prompt_adapters=1, max_prompt_adapter_token=0, device='auto', num_scheduler_steps=1, use_tqdm_on_load=True, multi_step_stream_outputs=True, scheduler_delay_factor=0.0, enable_chunked_prefill=True, speculative_model=None, speculative_model_quantization=None, num_speculative_tokens=None, speculative_disable_mqa_scorer=False, speculative_draft_tensor_parallel_size=None, speculative_max_model_len=None, speculative_disable_by_batch_size=None, ngram_prompt_lookup_max=None, ngram_prompt_lookup_min=None, spec_decoding_acceptance_method='rejection_sampler', typical_acceptance_sampler_posterior_threshold=None, typical_acceptance_sampler_posterior_alpha=None, disable_logprobs_during_spec_decoding=None, model_loader_extra_config=None, ignore_patterns=[], preemption_mode=None, served_model_name=['DeepSeek-R1'], qlora_adapter_name_or_path=None, show_hidden_metrics_for_version=None, otlp_traces_endpoint=None, collect_detailed_traces=None, disable_async_output_proc=False, scheduling_policy='fcfs', scheduler_cls='vllm.core.scheduler.Scheduler', override_neuron_config=None, override_pooler_config=None, compilation_config=None, kv_transfer_config=None, worker_cls='auto', worker_extension_cls='', generation_config='auto', override_generation_config=None, enable_sleep_mode=False, calculate_kv_scales=False, additional_config=None, enable_reasoning=False, reasoning_parser=None, disable_log_requests=False, max_log_len=None, disable_fastapi_docs=False, enable_prompt_tokens_details=False, enable_server_load_tracking=False)
INFO 03-16 20:56:15 [config.py:208] Replacing legacy 'type' key with 'rope_type'
INFO 03-16 20:56:18 [config.py:583] This model supports multiple tasks: {'score', 'classify', 'embed', 'reward', 'generate'}. Defaulting to 'generate'.
WARNING 03-16 20:56:19 [config.py:662] moe_wna16 quantization is not fully optimized yet. The speed can be slower than non-quantized models.
INFO 03-16 20:56:19 [arg_utils.py:1770] MLA is experimental on VLLM_USE_V1=1. Falling back to V0 Engine.
INFO 03-16 20:56:19 [config.py:1499] Defaulting to use ray for distributed inference
INFO 03-16 20:56:19 [config.py:1677] Chunked prefill is enabled with max_num_batched_tokens=65535.
INFO 03-16 20:56:20 [llm_engine.py:241] Initializing a V0 LLM engine (v0.7.4.dev477+g61c6a5a7) with config: model='/home/kkk/ai/models/DeepSeek-R1-awq', speculative_config=None, tokenizer='/home/kkk/ai/models/DeepSeek-R1-awq', skip_tokenizer_init=False, tokenizer_mode=auto, revision=None, override_neuron_config=None, tokenizer_revision=None, trust_remote_code=True, dtype=torch.bfloat16, max_seq_len=32768, download_dir=None, load_format=LoadFormat.AUTO, tensor_parallel_size=8, pipeline_parallel_size=2, disable_custom_all_reduce=False, quantization=moe_wna16, enforce_eager=False, kv_cache_dtype=auto, device_config=cuda, decoding_config=DecodingConfig(guided_decoding_backend='xgrammar', reasoning_backend=None), observability_config=ObservabilityConfig(show_hidden_metrics=False, otlp_traces_endpoint=None, collect_model_forward_time=False, collect_model_execute_time=False), seed=None, served_model_name=DeepSeek-R1, num_scheduler_steps=1, multi_step_stream_outputs=True, enable_prefix_caching=True, chunked_prefill_enabled=True, use_async_output_proc=False, disable_mm_preprocessor_cache=False, mm_processor_kwargs=None, pooler_config=None, compilation_config={"splitting_ops":[],"compile_sizes":[],"cudagraph_capture_sizes":[256,248,240,232,224,216,208,200,192,184,176,168,160,152,144,136,128,120,112,104,96,88,80,72,64,56,48,40,32,24,16,8,4,2,1],"max_capture_size":256}, use_cached_outputs=False,
2025-03-16 20:56:20,939 INFO worker.py:1654 -- Connecting to existing Ray cluster at address: 192.168.0.177:6379...

INFO: 192.168.0.246:65165 - "POST /v1/chat/completions HTTP/1.1" 200 OK
INFO 03-16 21:13:32 [async_llm_engine.py:211] Added request chatcmpl-ad39503061934ec38bed36b173167c84.
ERROR 03-16 21:13:32 [worker_base.py:620] Error executing method 'execute_model'. This might cause deadlock in distributed execution.
ERROR 03-16 21:13:32 [worker_base.py:620] Traceback (most recent call last):
ERROR 03-16 21:13:32 [worker_base.py:620] File "/home/kkk/ai/vllm/vllm/worker/worker_base.py", line 612, in execute_method
ERROR 03-16 21:13:32 [worker_base.py:620] return run_method(self, method, args, kwargs)
ERROR 03-16 21:13:32 [worker_base.py:620] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ERROR 03-16 21:13:32 [worker_base.py:620] File "/home/kkk/ai/vllm/vllm/utils.py", line 2216, in run_method
ERROR 03-16 21:13:32 [worker_base.py:620] return func(*args, **kwargs)
ERROR 03-16 21:13:32 [worker_base.py:620] ^^^^^^^^^^^^^^^^^^^^^
ERROR 03-16 21:13:32 [worker_base.py:620] File "/home/kkk/ai/vllm/vllm/worker/worker_base.py", line 420, in execute_model
ERROR 03-16 21:13:32 [worker_base.py:620] output = self.model_runner.execute_model(
ERROR 03-16 21:13:32 [worker_base.py:620] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ERROR 03-16 21:13:32 [worker_base.py:620] File "/home/kkk/miniconda3/envs/vllm1/lib/python3.12/site-packages/torch/utils/_contextlib.py", line 116, in decorate_context
ERROR 03-16 21:13:32 [worker_base.py:620] return func(*args, **kwargs)
ERROR 03-16 21:13:32 [worker_base.py:620] ^^^^^^^^^^^^^^^^^^^^^
ERROR 03-16 21:13:32 [worker_base.py:620] File "/home/kkk/ai/vllm/vllm/worker/model_runner.py", line 1742, in execute_model
ERROR 03-16 21:13:32 [worker_base.py:620] hidden_or_intermediate_states = model_executable(
ERROR 03-16 21:13:32 [worker_base.py:620] ^^^^^^^^^^^^^^^^^
ERROR 03-16 21:13:32 [worker_base.py:620] File "/home/kkk/miniconda3/envs/vllm1/lib/python3.12/site-packages/torch/nn/modules/module.py", line 1739, in _wrapped_call_impl
ERROR 03-16 21:13:32 [worker_base.py:620] return self._call_impl(*args, **kwargs)
ERROR 03-16 21:13:32 [worker_base.py:620] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ERROR 03-16 21:13:32 [worker_base.py:620] File "/home/kkk/miniconda3/envs/vllm1/lib/python3.12/site-packages/torch/nn/modules/module.py", line 1750, in _call_impl
ERROR 03-16 21:13:32 [worker_base.py:620] return forward_call(*args, **kwargs)
ERROR 03-16 21:13:32 [worker_base.py:620] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ERROR 03-16 21:13:32 [worker_base.py:620] File "/home/kkk/ai/vllm/vllm/model_executor/models/deepseek_v2.py", line 688, in forward
ERROR 03-16 21:13:32 [worker_base.py:620] hidden_states = self.model(input_ids, positions, intermediate_tensors,
ERROR 03-16 21:13:32 [worker_base.py:620] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ERROR 03-16 21:13:32 [worker_base.py:620] File "/home/kkk/ai/vllm/vllm/compilation/decorators.py", line 172, in call
ERROR 03-16 21:13:32 [worker_base.py:620] return self.forward(*args, **kwargs)
ERROR 03-16 21:13:32 [worker_base.py:620] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ERROR 03-16 21:13:32 [worker_base.py:620] File "/home/kkk/ai/vllm/vllm/model_executor/models/deepseek_v2.py", line 645, in forward
ERROR 03-16 21:13:32 [worker_base.py:620] hidden_states, residual = layer(positions, hidden_states, residual)
ERROR 03-16 21:13:32 [worker_base.py:620] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ERROR 03-16 21:13:32 [worker_base.py:620] File "/home/kkk/miniconda3/envs/vllm1/lib/python3.12/site-packages/torch/nn/modules/module.py", line 1739, in _wrapped_call_impl
ERROR 03-16 21:13:32 [worker_base.py:620] return self._call_impl(*args, **kwargs)
ERROR 03-16 21:13:32 [worker_base.py:620] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ERROR 03-16 21:13:32 [worker_base.py:620] File "/home/kkk/miniconda3/envs/vllm1/lib/python3.12/site-packages/torch/nn/modules/module.py", line 1750, in _call_impl
ERROR 03-16 21:13:32 [worker_base.py:620] return forward_call(*args, **kwargs)
ERROR 03-16 21:13:32 [worker_base.py:620] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ERROR 03-16 21:13:32 [worker_base.py:620] File "/home/kkk/ai/vllm/vllm/model_executor/models/deepseek_v2.py", line 559, in forward
ERROR 03-16 21:13:32 [worker_base.py:620] hidden_states = self.self_attn(
ERROR 03-16 21:13:32 [worker_base.py:620] ^^^^^^^^^^^^^^^
ERROR 03-16 21:13:32 [worker_base.py:620] File "/home/kkk/miniconda3/envs/vllm1/lib/python3.12/site-packages/torch/nn/modules/module.py", line 1739, in _wrapped_call_impl
ERROR 03-16 21:13:32 [worker_base.py:620] return self._call_impl(*args, **kwargs)
ERROR 03-16 21:13:32 [worker_base.py:620] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ERROR 03-16 21:13:32 [worker_base.py:620] File "/home/kkk/miniconda3/envs/vllm1/lib/python3.12/site-packages/torch/nn/modules/module.py", line 1750, in _call_impl
ERROR 03-16 21:13:32 [worker_base.py:620] return forward_call(*args, **kwargs)
ERROR 03-16 21:13:32 [worker_base.py:620] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ERROR 03-16 21:13:32 [worker_base.py:620] File "/home/kkk/ai/vllm/vllm/model_executor/models/deepseek_v2.py", line 477, in forward
ERROR 03-16 21:13:32 [worker_base.py:620] return self.mla_attn(hidden_states_or_q_c,
ERROR 03-16 21:13:32 [worker_base.py:620] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ERROR 03-16 21:13:32 [worker_base.py:620] File "/home/kkk/miniconda3/envs/vllm1/lib/python3.12/site-packages/torch/nn/modules/module.py", line 1739, in _wrapped_call_impl
ERROR 03-16 21:13:32 [worker_base.py:620] return self._call_impl(*args, **kwargs)
ERROR 03-16 21:13:32 [worker_base.py:620] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ERROR 03-16 21:13:32 [worker_base.py:620] File "/home/kkk/miniconda3/envs/vllm1/lib/python3.12/site-packages/torch/nn/modules/module.py", line 1750, in _call_impl
ERROR 03-16 21:13:32 [worker_base.py:620] return forward_call(*args, **kwargs)
ERROR 03-16 21:13:32 [worker_base.py:620] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ERROR 03-16 21:13:32 [worker_base.py:620] File "/home/kkk/ai/vllm/vllm/attention/layer.py", line 225, in forward
ERROR 03-16 21:13:32 [worker_base.py:620] return torch.ops.vllm.unified_attention(
ERROR 03-16 21:13:32 [worker_base.py:620] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ERROR 03-16 21:13:32 [worker_base.py:620] File "/home/kkk/miniconda3/envs/vllm1/lib/python3.12/site-packages/torch/_ops.py", line 1123, in call
ERROR 03-16 21:13:32 [worker_base.py:620] return self._op(*args, **(kwargs or {}))
ERROR 03-16 21:13:32 [worker_base.py:620] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ERROR 03-16 21:13:32 [worker_base.py:620] File "/home/kkk/ai/vllm/vllm/attention/layer.py", line 331, in unified_attention
ERROR 03-16 21:13:32 [worker_base.py:620] return self.impl.forward(self, query, key, value, kv_cache, attn_metadata)
ERROR 03-16 21:13:32 [worker_base.py:620] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ERROR 03-16 21:13:32 [worker_base.py:620] File "/home/kkk/ai/vllm/vllm/attention/backends/mla/common.py", line 1405, in forward
ERROR 03-16 21:13:32 [worker_base.py:620] output[:num_prefill_tokens] = self._forward_prefill(
ERROR 03-16 21:13:32 [worker_base.py:620] ^^^^^^^^^^^^^^^^^^^^^^
ERROR 03-16 21:13:32 [worker_base.py:620] File "/home/kkk/ai/vllm/vllm/attention/backends/mla/common.py", line 1300, in _forward_prefill
ERROR 03-16 21:13:32 [worker_base.py:620] context_output, context_lse = self._compute_prefill_context(
ERROR 03-16 21:13:32 [worker_base.py:620] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ERROR 03-16 21:13:32 [worker_base.py:620] File "/home/kkk/ai/vllm/vllm/attention/backends/mla/common.py", line 1164, in _compute_prefill_context
ERROR 03-16 21:13:32 [worker_base.py:620] kv_nope = self.kv_b_proj(kv_c_normed)[0].view(
ERROR 03-16 21:13:32 [worker_base.py:620] ^^^^^^^^^^^^^^^^^^^^^^^^^^^
ERROR 03-16 21:13:32 [worker_base.py:620] File "/home/kkk/miniconda3/envs/vllm1/lib/python3.12/site-packages/torch/nn/modules/module.py", line 1739, in _wrapped_call_impl
ERROR 03-16 21:13:32 [worker_base.py:620] return self._call_impl(*args, **kwargs)
ERROR 03-16 21:13:32 [worker_base.py:620] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ERROR 03-16 21:13:32 [worker_base.py:620] File "/home/kkk/miniconda3/envs/vllm1/lib/python3.12/site-packages/torch/nn/modules/module.py", line 1750, in call_impl
ERROR 03-16 21:13:32 [worker_base.py:620] return forward_call(*args, **kwargs)
ERROR 03-16 21:13:32 [worker_base.py:620] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ERROR 03-16 21:13:32 [worker_base.py:620] File "/home/kkk/ai/vllm/vllm/model_executor/layers/linear.py", line 474, in forward
ERROR 03-16 21:13:32 [worker_base.py:620] output_parallel = self.quant_method.apply(self, input
, bias)
ERROR 03-16 21:13:32 [worker_base.py:620] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ERROR 03-16 21:13:32 [worker_base.py:620] File "/home/kkk/ai/vllm/vllm/model_executor/layers/quantization/awq_marlin.py", line 303, in apply
ERROR 03-16 21:13:32 [worker_base.py:620] return apply_awq_marlin_linear(
ERROR 03-16 21:13:32 [worker_base.py:620] ^^^^^^^^^^^^^^^^^^^^^^^^
ERROR 03-16 21:13:32 [worker_base.py:620] File "/home/kkk/ai/vllm/vllm/model_executor/layers/quantization/utils/marlin_utils.py", line 379, in apply_awq_marlin_linear
ERROR 03-16 21:13:32 [worker_base.py:620] output = ops.gptq_marlin_gemm(reshaped_x,
ERROR 03-16 21:13:32 [worker_base.py:620] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ERROR 03-16 21:13:32 [worker_base.py:620] File "/home/kkk/ai/vllm/vllm/_custom_ops.py", line 741, in gptq_marlin_gemm
ERROR 03-16 21:13:32 [worker_base.py:620] return torch.ops._C.gptq_marlin_gemm(a, b_q_weight, b_scales, b_zeros,
ERROR 03-16 21:13:32 [worker_base.py:620] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ERROR 03-16 21:13:32 [worker_base.py:620] File "/home/kkk/miniconda3/envs/vllm1/lib/python3.12/site-packages/torch/_ops.py", line 1123, in call
ERROR 03-16 21:13:32 [worker_base.py:620] return self._op(*args, **(kwargs or {}))
ERROR 03-16 21:13:32 [worker_base.py:620] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ERROR 03-16 21:13:32 [worker_base.py:620] RuntimeError: A is not contiguous
ERROR 03-16 21:13:32 [async_llm_engine.py:68] Engine background task failed
ERROR 03-16 21:13:32 [async_llm_engine.py:68] Traceback (most recent call last):
ERROR 03-16 21:13:32 [async_llm_engine.py:68] File "/home/kkk/ai/vllm/vllm/engine/async_llm_engine.py", line 58, in _log_task_completion
ERROR 03-16 21:13:32 [async_llm_engine.py:68] return_value = task.result()
ERROR 03-16 21:13:32 [async_llm_engine.py:68] ^^^^^^^^^^^^^
ERROR 03-16 21:13:32 [async_llm_engine.py:68] File "/home/kkk/ai/vllm/vllm/engine/async_llm_engine.py", line 857, in run_engine_loop
ERROR 03-16 21:13:32 [async_llm_engine.py:68] result = task.result()
ERROR 03-16 21:13:32 [async_llm_engine.py:68] ^^^^^^^^^^^^^
ERROR 03-16 21:13:32 [async_llm_engine.py:68] File "/home/kkk/ai/vllm/vllm/engine/async_llm_engine.py", line 780, in engine_step
ERROR 03-16 21:13:32 [async_llm_engine.py:68] request_outputs = await self.engine.step_async(virtual_engine)
ERROR 03-16 21:13:32 [async_llm_engine.py:68] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ERROR 03-16 21:13:32 [async_llm_engine.py:68] File "/home/kkk/ai/vllm/vllm/engine/async_llm_engine.py", line 353, in step_async
ERROR 03-16 21:13:32 [async_llm_engine.py:68] outputs = await self.model_executor.execute_model_async(
ERROR 03-16 21:13:32 [async_llm_engine.py:68] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ERROR 03-16 21:13:32 [async_llm_engine.py:68] File "/home/kkk/ai/vllm/vllm/executor/ray_distributed_executor.py", line 623, in execute_model_async
ERROR 03-16 21:13:32 [async_llm_engine.py:68] return await super().execute_model_async(execute_model_req)
ERROR 03-16 21:13:32 [async_llm_engine.py:68] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ERROR 03-16 21:13:32 [async_llm_engine.py:68] File "/home/kkk/ai/vllm/vllm/executor/executor_base.py", line 354, in execute_model_async
ERROR 03-16 21:13:32 [async_llm_engine.py:68] return await self._driver_execute_model_async(execute_model_req)
ERROR 03-16 21:13:32 [async_llm_engine.py:68] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ERROR 03-16 21:13:32 [async_llm_engine.py:68] File "/home/kkk/ai/vllm/vllm/executor/ray_distributed_executor.py", line 665, in _driver_execute_model_async
ERROR 03-16 21:13:32 [async_llm_engine.py:68] results = await asyncio.gather(*tasks)
ERROR 03-16 21:13:32 [async_llm_engine.py:68] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ERROR 03-16 21:13:32 [async_llm_engine.py:68] File "/home/kkk/ai/vllm/vllm/utils.py", line 1334, in _run_task_with_lock
ERROR 03-16 21:13:32 [async_llm_engine.py:68] return await task(*args, **kwargs)
ERROR 03-16 21:13:32 [async_llm_engine.py:68] ^^^^^^^^^^^^^^^^^^^^^^^^^^^
ERROR 03-16 21:13:32 [async_llm_engine.py:68] File "/home/kkk/miniconda3/envs/vllm1/lib/python3.12/concurrent/futures/thread.py", line 59, in run
ERROR 03-16 21:13:32 [async_llm_engine.py:68] result = self.fn(*self.args, **self.kwargs)
ERROR 03-16 21:13:32 [async_llm_engine.py:68] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ERROR 03-16 21:13:32 [async_llm_engine.py:68] File "/home/kkk/ai/vllm/vllm/worker/worker_base.py", line 621, in execute_method
ERROR 03-16 21:13:32 [async_llm_engine.py:68] raise e
ERROR 03-16 21:13:32 [async_llm_engine.py:68] File "/home/kkk/ai/vllm/vllm/worker/worker_base.py", line 612, in execute_method
ERROR 03-16 21:13:32 [async_llm_engine.py:68] return run_method(self, method, args, kwargs)
ERROR 03-16 21:13:32 [async_llm_engine.py:68] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ERROR 03-16 21:13:32 [async_llm_engine.py:68] File "/home/kkk/ai/vllm/vllm/utils.py", line 2216, in run_method
ERROR 03-16 21:13:32 [async_llm_engine.py:68] return func(*args, **kwargs)
ERROR 03-16 21:13:32 [async_llm_engine.py:68] ^^^^^^^^^^^^^^^^^^^^^
ERROR 03-16 21:13:32 [async_llm_engine.py:68] File "/home/kkk/ai/vllm/vllm/worker/worker_base.py", line 420, in execute_model
ERROR 03-16 21:13:32 [async_llm_engine.py:68] output = self.model_runner.execute_model(
ERROR 03-16 21:13:32 [async_llm_engine.py:68] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ERROR 03-16 21:13:32 [async_llm_engine.py:68] File "/home/kkk/miniconda3/envs/vllm1/lib/python3.12/site-packages/torch/utils/_contextlib.py", line 116, in decorate_context
ERROR 03-16 21:13:32 [async_llm_engine.py:68] return func(*args, **kwargs)
ERROR 03-16 21:13:32 [async_llm_engine.py:68] ^^^^^^^^^^^^^^^^^^^^^
ERROR 03-16 21:13:32 [async_llm_engine.py:68] File "/home/kkk/ai/vllm/vllm/worker/model_runner.py", line 1742, in execute_model
ERROR 03-16 21:13:32 [async_llm_engine.py:68] hidden_or_intermediate_states = model_executable(
ERROR 03-16 21:13:32 [async_llm_engine.py:68] ^^^^^^^^^^^^^^^^^
ERROR 03-16 21:13:32 [async_llm_engine.py:68] File "/home/kkk/miniconda3/envs/vllm1/lib/python3.12/site-packages/torch/nn/modules/module.py", line 1739, in _wrapped_call_impl
ERROR 03-16 21:13:32 [async_llm_engine.py:68] return self._call_impl(*args, **kwargs)
ERROR 03-16 21:13:32 [async_llm_engine.py:68] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ERROR 03-16 21:13:32 [async_llm_engine.py:68] File "/home/kkk/miniconda3/envs/vllm1/lib/python3.12/site-packages/torch/nn/modules/module.py", line 1750, in _call_impl
ERROR 03-16 21:13:32 [async_llm_engine.py:68] return forward_call(*args, **kwargs)
ERROR 03-16 21:13:32 [async_llm_engine.py:68] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ERROR 03-16 21:13:32 [async_llm_engine.py:68] File "/home/kkk/ai/vllm/vllm/model_executor/models/deepseek_v2.py", line 688, in forward
ERROR 03-16 21:13:32 [async_llm_engine.py:68] hidden_states = self.model(input_ids, positions, intermediate_tensors,
ERROR 03-16 21:13:32 [async_llm_engine.py:68] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ERROR 03-16 21:13:32 [async_llm_engine.py:68] File "/home/kkk/ai/vllm/vllm/compilation/decorators.py", line 172, in call
ERROR 03-16 21:13:32 [async_llm_engine.py:68] return self.forward(*args, **kwargs)
ERROR 03-16 21:13:32 [async_llm_engine.py:68] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ERROR 03-16 21:13:32 [async_llm_engine.py:68] File "/home/kkk/ai/vllm/vllm/model_executor/models/deepseek_v2.py", line 645, in forward
ERROR 03-16 21:13:32 [async_llm_engine.py:68] hidden_states, residual = layer(positions, hidden_states, residual)
ERROR 03-16 21:13:32 [async_llm_engine.py:68] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ERROR 03-16 21:13:32 [async_llm_engine.py:68] File "/home/kkk/miniconda3/envs/vllm1/lib/python3.12/site-packages/torch/nn/modules/module.py", line 1739, in _wrapped_call_impl
ERROR 03-16 21:13:32 [async_llm_engine.py:68] return self._call_impl(*args, **kwargs)
ERROR 03-16 21:13:32 [async_llm_engine.py:68] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ERROR 03-16 21:13:32 [async_llm_engine.py:68] File "/home/kkk/miniconda3/envs/vllm1/lib/python3.12/site-packages/torch/nn/modules/module.py", line 1750, in _call_impl
ERROR 03-16 21:13:32 [async_llm_engine.py:68] return forward_call(*args, **kwargs)
ERROR 03-16 21:13:32 [async_llm_engine.py:68] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ERROR 03-16 21:13:32 [async_llm_engine.py:68] File "/home/kkk/ai/vllm/vllm/model_executor/models/deepseek_v2.py", line 559, in forward
ERROR 03-16 21:13:32 [async_llm_engine.py:68] hidden_states = self.self_attn(
ERROR 03-16 21:13:32 [async_llm_engine.py:68] ^^^^^^^^^^^^^^^
ERROR 03-16 21:13:32 [async_llm_engine.py:68] File "/home/kkk/miniconda3/envs/vllm1/lib/python3.12/site-packages/torch/nn/modules/module.py", line 1739, in _wrapped_call_impl
ERROR 03-16 21:13:32 [async_llm_engine.py:68] return self._call_impl(*args, **kwargs)
ERROR 03-16 21:13:32 [async_llm_engine.py:68] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ERROR 03-16 21:13:32 [async_llm_engine.py:68] File "/home/kkk/miniconda3/envs/vllm1/lib/python3.12/site-packages/torch/nn/modules/module.py", line 1750, in _call_impl
ERROR 03-16 21:13:32 [async_llm_engine.py:68] return forward_call(*args, **kwargs)
ERROR 03-16 21:13:32 [async_llm_engine.py:68] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ERROR 03-16 21:13:32 [async_llm_engine.py:68] File "/home/kkk/ai/vllm/vllm/model_executor/models/deepseek_v2.py", line 477, in forward
ERROR 03-16 21:13:32 [async_llm_engine.py:68] return self.mla_attn(hidden_states_or_q_c,
ERROR 03-16 21:13:32 [async_llm_engine.py:68] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ERROR 03-16 21:13:32 [async_llm_engine.py:68] File "/home/kkk/miniconda3/envs/vllm1/lib/python3.12/site-packages/torch/nn/modules/module.py", line 1739, in _wrapped_call_impl
ERROR 03-16 21:13:32 [async_llm_engine.py:68] return self._call_impl(*args, **kwargs)
ERROR 03-16 21:13:32 [async_llm_engine.py:68] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ERROR 03-16 21:13:32 [async_llm_engine.py:68] File "/home/kkk/miniconda3/envs/vllm1/lib/python3.12/site-packages/torch/nn/modules/module.py", line 1750, in _call_impl
ERROR 03-16 21:13:32 [async_llm_engine.py:68] return forward_call(*args, **kwargs)
ERROR 03-16 21:13:32 [async_llm_engine.py:68] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ERROR 03-16 21:13:32 [async_llm_engine.py:68] File "/home/kkk/ai/vllm/vllm/attention/layer.py", line 225, in forward
ERROR 03-16 21:13:32 [async_llm_engine.py:68] return torch.ops.vllm.unified_attention(
ERROR 03-16 21:13:32 [async_llm_engine.py:68] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ERROR 03-16 21:13:32 [async_llm_engine.py:68] File "/home/kkk/miniconda3/envs/vllm1/lib/python3.12/site-packages/torch/_ops.py", line 1123, in call
ERROR 03-16 21:13:32 [async_llm_engine.py:68] return self._op(*args, **(kwargs or {}))
ERROR 03-16 21:13:32 [async_llm_engine.py:68] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ERROR 03-16 21:13:32 [async_llm_engine.py:68] File "/home/kkk/ai/vllm/vllm/attention/layer.py", line 331, in unified_attention
ERROR 03-16 21:13:32 [async_llm_engine.py:68] return self.impl.forward(self, query, key, value, kv_cache, attn_metadata)
ERROR 03-16 21:13:32 [async_llm_engine.py:68] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ERROR 03-16 21:13:32 [async_llm_engine.py:68] File "/home/kkk/ai/vllm/vllm/attention/backends/mla/common.py", line 1405, in forward
ERROR 03-16 21:13:32 [async_llm_engine.py:68] output[:num_prefill_tokens] = self._forward_prefill(
ERROR 03-16 21:13:32 [async_llm_engine.py:68] ^^^^^^^^^^^^^^^^^^^^^^
ERROR 03-16 21:13:32 [async_llm_engine.py:68] File "/home/kkk/ai/vllm/vllm/attention/backends/mla/common.py", line 1300, in _forward_prefill
ERROR 03-16 21:13:32 [async_llm_engine.py:68] context_output, context_lse = self._compute_prefill_context(
ERROR 03-16 21:13:32 [async_llm_engine.py:68] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ERROR 03-16 21:13:32 [async_llm_engine.py:68] File "/home/kkk/ai/vllm/vllm/attention/backends/mla/common.py", line 1164, in _compute_prefill_context
ERROR 03-16 21:13:32 [async_llm_engine.py:68] kv_nope = self.kv_b_proj(kv_c_normed)[0].view(
ERROR 03-16 21:13:32 [async_llm_engine.py:68] ^^^^^^^^^^^^^^^^^^^^^^^^^^^
ERROR 03-16 21:13:32 [async_llm_engine.py:68] File "/home/kkk/miniconda3/envs/vllm1/lib/python3.12/site-packages/torch/nn/modules/module.py", line 1739, in _wrapped_call_impl
ERROR 03-16 21:13:32 [async_llm_engine.py:68] return self._call_impl(*args, **kwargs)
ERROR 03-16 21:13:32 [async_llm_engine.py:68] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ERROR 03-16 21:13:32 [async_llm_engine.py:68] File "/home/kkk/miniconda3/envs/vllm1/lib/python3.12/site-packages/torch/nn/modules/module.py", line 1750, in call_impl
ERROR 03-16 21:13:32 [async_llm_engine.py:68] return forward_call(*args, **kwargs)
ERROR 03-16 21:13:32 [async_llm_engine.py:68] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ERROR 03-16 21:13:32 [async_llm_engine.py:68] File "/home/kkk/ai/vllm/vllm/model_executor/layers/linear.py", line 474, in forward
ERROR 03-16 21:13:32 [async_llm_engine.py:68] output_parallel = self.quant_method.apply(self, input
, bias)
ERROR 03-16 21:13:32 [async_llm_engine.py:68] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ERROR 03-16 21:13:32 [async_llm_engine.py:68] File "/home/kkk/ai/vllm/vllm/model_executor/layers/quantization/awq_marlin.py", line 303, in apply
ERROR 03-16 21:13:32 [async_llm_engine.py:68] return apply_awq_marlin_linear(
ERROR 03-16 21:13:32 [async_llm_engine.py:68] ^^^^^^^^^^^^^^^^^^^^^^^^
ERROR 03-16 21:13:32 [async_llm_engine.py:68] File "/home/kkk/ai/vllm/vllm/model_executor/layers/quantization/utils/marlin_utils.py", line 379, in apply_awq_marlin_linear
ERROR 03-16 21:13:32 [async_llm_engine.py:68] output = ops.gptq_marlin_gemm(reshaped_x,
ERROR 03-16 21:13:32 [async_llm_engine.py:68] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ERROR 03-16 21:13:32 [async_llm_engine.py:68] File "/home/kkk/ai/vllm/vllm/_custom_ops.py", line 741, in gptq_marlin_gemm
ERROR 03-16 21:13:32 [async_llm_engine.py:68] return torch.ops._C.gptq_marlin_gemm(a, b_q_weight, b_scales, b_zeros,
ERROR 03-16 21:13:32 [async_llm_engine.py:68] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ERROR 03-16 21:13:32 [async_llm_engine.py:68] File "/home/kkk/miniconda3/envs/vllm1/lib/python3.12/site-packages/torch/_ops.py", line 1123, in call
ERROR 03-16 21:13:32 [async_llm_engine.py:68] return self._op(*args, **(kwargs or {}))
ERROR 03-16 21:13:32 [async_llm_engine.py:68] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ERROR 03-16 21:13:32 [async_llm_engine.py:68] RuntimeError: A is not contiguous
Exception in callback functools.partial(<function _log_task_completion at 0x7c542117f9c0>, error_callback=<bound method AsyncLLMEngine._error_callback of <vllm.engine.async_llm_engine.AsyncLLMEngine object at 0x7c5410bbfd40>>)
handle: <Handle functools.partial(<function _log_task_completion at 0x7c542117f9c0>, error_callback=<bound method AsyncLLMEngine._error_callback of <vllm.engine.async_llm_engine.AsyncLLMEngine object at 0x7c5410bbfd40>>)>
Traceback (most recent call last):
File "/home/kkk/ai/vllm/vllm/engine/async_llm_engine.py", line 58, in _log_task_completion
return_value = task.result()
^^^^^^^^^^^^^
File "/home/kkk/ai/vllm/vllm/engine/async_llm_engine.py", line 857, in run_engine_loop
result = task.result()
^^^^^^^^^^^^^
File "/home/kkk/ai/vllm/vllm/engine/async_llm_engine.py", line 780, in engine_step
request_outputs = await self.engine.step_async(virtual_engine)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/kkk/ai/vllm/vllm/engine/async_llm_engine.py", line 353, in step_async
outputs = await self.model_executor.execute_model_async(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/kkk/ai/vllm/vllm/executor/ray_distributed_executor.py", line 623, in execute_model_async
return await super().execute_model_async(execute_model_req)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/kkk/ai/vllm/vllm/executor/executor_base.py", line 354, in execute_model_async
return await self._driver_execute_model_async(execute_model_req)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/kkk/ai/vllm/vllm/executor/ray_distributed_executor.py", line 665, in _driver_execute_model_async
results = await asyncio.gather(*tasks)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/kkk/ai/vllm/vllm/utils.py", line 1334, in _run_task_with_lock
return await task(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/kkk/miniconda3/envs/vllm1/lib/python3.12/concurrent/futures/thread.py", line 59, in run
result = self.fn(*self.args, **self.kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/kkk/ai/vllm/vllm/worker/worker_base.py", line 621, in execute_method
raise e
File "/home/kkk/ai/vllm/vllm/worker/worker_base.py", line 612, in execute_method
return run_method(self, method, args, kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/kkk/ai/vllm/vllm/utils.py", line 2216, in run_method
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/home/kkk/ai/vllm/vllm/worker/worker_base.py", line 420, in execute_model
output = self.model_runner.execute_model(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/kkk/miniconda3/envs/vllm1/lib/python3.12/site-packages/torch/utils/_contextlib.py", line 116, in decorate_context
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/home/kkk/ai/vllm/vllm/worker/model_runner.py", line 1742, in execute_model
hidden_or_intermediate_states = model_executable(
^^^^^^^^^^^^^^^^^
File "/home/kkk/miniconda3/envs/vllm1/lib/python3.12/site-packages/torch/nn/modules/module.py", line 1739, in _wrapped_call_impl
return self._call_impl(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/kkk/miniconda3/envs/vllm1/lib/python3.12/site-packages/torch/nn/modules/module.py", line 1750, in _call_impl
return forward_call(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/kkk/ai/vllm/vllm/model_executor/models/deepseek_v2.py", line 688, in forward
hidden_states = self.model(input_ids, positions, intermediate_tensors,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/kkk/ai/vllm/vllm/compilation/decorators.py", line 172, in call
return self.forward(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/kkk/ai/vllm/vllm/model_executor/models/deepseek_v2.py", line 645, in forward
hidden_states, residual = layer(positions, hidden_states, residual)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/kkk/miniconda3/envs/vllm1/lib/python3.12/site-packages/torch/nn/modules/module.py", line 1739, in _wrapped_call_impl
return self._call_impl(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/kkk/miniconda3/envs/vllm1/lib/python3.12/site-packages/torch/nn/modules/module.py", line 1750, in _call_impl
return forward_call(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/kkk/ai/vllm/vllm/model_executor/models/deepseek_v2.py", line 559, in forward
hidden_states = self.self_attn(
^^^^^^^^^^^^^^^
File "/home/kkk/miniconda3/envs/vllm1/lib/python3.12/site-packages/torch/nn/modules/module.py", line 1739, in _wrapped_call_impl
return self._call_impl(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/kkk/miniconda3/envs/vllm1/lib/python3.12/site-packages/torch/nn/modules/module.py", line 1750, in _call_impl
return forward_call(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/kkk/ai/vllm/vllm/model_executor/models/deepseek_v2.py", line 477, in forward
return self.mla_attn(hidden_states_or_q_c,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/kkk/miniconda3/envs/vllm1/lib/python3.12/site-packages/torch/nn/modules/module.py", line 1739, in _wrapped_call_impl
return self._call_impl(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/kkk/miniconda3/envs/vllm1/lib/python3.12/site-packages/torch/nn/modules/module.py", line 1750, in _call_impl
return forward_call(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/kkk/ai/vllm/vllm/attention/layer.py", line 225, in forward
return torch.ops.vllm.unified_attention(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/kkk/miniconda3/envs/vllm1/lib/python3.12/site-packages/torch/_ops.py", line 1123, in call
return self._op(*args, **(kwargs or {}))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/kkk/ai/vllm/vllm/attention/layer.py", line 331, in unified_attention
return self.impl.forward(self, query, key, value, kv_cache, attn_metadata)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/kkk/ai/vllm/vllm/attention/backends/mla/common.py", line 1405, in forward
output[:num_prefill_tokens] = self._forward_prefill(
^^^^^^^^^^^^^^^^^^^^^^
File "/home/kkk/ai/vllm/vllm/attention/backends/mla/common.py", line 1300, in _forward_prefill
context_output, context_lse = self._compute_prefill_context(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/kkk/ai/vllm/vllm/attention/backends/mla/common.py", line 1164, in _compute_prefill_context
kv_nope = self.kv_b_proj(kv_c_normed)[0].view(
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/kkk/miniconda3/envs/vllm1/lib/python3.12/site-packages/torch/nn/modules/module.py", line 1739, in _wrapped_call_impl
return self._call_impl(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/kkk/miniconda3/envs/vllm1/lib/python3.12/site-packages/torch/nn/modules/module.py", line 1750, in call_impl
return forward_call(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/kkk/ai/vllm/vllm/model_executor/layers/linear.py", line 474, in forward
output_parallel = self.quant_method.apply(self, input
, bias)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/kkk/ai/vllm/vllm/model_executor/layers/quantization/awq_marlin.py", line 303, in apply
return apply_awq_marlin_linear(
^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/kkk/ai/vllm/vllm/model_executor/layers/quantization/utils/marlin_utils.py", line 379, in apply_awq_marlin_linear
output = ops.gptq_marlin_gemm(reshaped_x,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/kkk/ai/vllm/vllm/_custom_ops.py", line 741, in gptq_marlin_gemm
return torch.ops._C.gptq_marlin_gemm(a, b_q_weight, b_scales, b_zeros,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/kkk/miniconda3/envs/vllm1/lib/python3.12/site-packages/torch/_ops.py", line 1123, in call
return self._op(*args, **(kwargs or {}))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
RuntimeError: A is not contiguous

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "uvloop/cbhandles.pyx", line 63, in uvloop.loop.Handle._run
File "/home/kkk/ai/vllm/vllm/engine/async_llm_engine.py", line 70, in _log_task_completion
raise AsyncEngineDeadError(
vllm.engine.async_llm_engine.AsyncEngineDeadError: Task finished unexpectedly. This should never happen! Please open an issue on GitHub. See stack trace above for the actual cause.
ERROR 03-16 21:13:32 [serving_chat.py:677] Error in chat completion stream generator.
ERROR 03-16 21:13:32 [serving_chat.py:677] Traceback (most recent call last):
ERROR 03-16 21:13:32 [serving_chat.py:677] File "/home/kkk/ai/vllm/vllm/entrypoints/openai/serving_chat.py", line 373, in chat_completion_stream_generator
ERROR 03-16 21:13:32 [serving_chat.py:677] async for res in result_generator:
ERROR 03-16 21:13:32 [serving_chat.py:677] File "/home/kkk/ai/vllm/vllm/engine/async_llm_engine.py", line 1038, in generate
ERROR 03-16 21:13:32 [serving_chat.py:677] async for output in await self.add_request(
ERROR 03-16 21:13:32 [serving_chat.py:677] File "/home/kkk/ai/vllm/vllm/engine/async_llm_engine.py", line 116, in generator
ERROR 03-16 21:13:32 [serving_chat.py:677] raise result
ERROR 03-16 21:13:32 [serving_chat.py:677] File "/home/kkk/ai/vllm/vllm/engine/async_llm_engine.py", line 58, in _log_task_completion
ERROR 03-16 21:13:32 [serving_chat.py:677] return_value = task.result()
ERROR 03-16 21:13:32 [serving_chat.py:677] ^^^^^^^^^^^^^
ERROR 03-16 21:13:32 [serving_chat.py:677] File "/home/kkk/ai/vllm/vllm/engine/async_llm_engine.py", line 857, in run_engine_loop
ERROR 03-16 21:13:32 [serving_chat.py:677] result = task.result()
ERROR 03-16 21:13:32 [serving_chat.py:677] ^^^^^^^^^^^^^
ERROR 03-16 21:13:32 [serving_chat.py:677] File "/home/kkk/ai/vllm/vllm/engine/async_llm_engine.py", line 780, in engine_step
ERROR 03-16 21:13:32 [serving_chat.py:677] request_outputs = await self.engine.step_async(virtual_engine)
ERROR 03-16 21:13:32 [serving_chat.py:677] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ERROR 03-16 21:13:32 [serving_chat.py:677] File "/home/kkk/ai/vllm/vllm/engine/async_llm_engine.py", line 353, in step_async
ERROR 03-16 21:13:32 [serving_chat.py:677] outputs = await self.model_executor.execute_model_async(
ERROR 03-16 21:13:32 [serving_chat.py:677] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ERROR 03-16 21:13:32 [serving_chat.py:677] File "/home/kkk/ai/vllm/vllm/executor/ray_distributed_executor.py", line 623, in execute_model_async
ERROR 03-16 21:13:32 [serving_chat.py:677] return await super().execute_model_async(execute_model_req)
ERROR 03-16 21:13:32 [serving_chat.py:677] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ERROR 03-16 21:13:32 [serving_chat.py:677] File "/home/kkk/ai/vllm/vllm/executor/executor_base.py", line 354, in execute_model_async
ERROR 03-16 21:13:32 [serving_chat.py:677] return await self._driver_execute_model_async(execute_model_req)
ERROR 03-16 21:13:32 [serving_chat.py:677] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ERROR 03-16 21:13:32 [serving_chat.py:677] File "/home/kkk/ai/vllm/vllm/executor/ray_distributed_executor.py", line 665, in _driver_execute_model_async
ERROR 03-16 21:13:32 [serving_chat.py:677] results = await asyncio.gather(*tasks)
ERROR 03-16 21:13:32 [serving_chat.py:677] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ERROR 03-16 21:13:32 [serving_chat.py:677] File "/home/kkk/ai/vllm/vllm/utils.py", line 1334, in _run_task_with_lock
ERROR 03-16 21:13:32 [serving_chat.py:677] return await task(*args, **kwargs)
ERROR 03-16 21:13:32 [serving_chat.py:677] ^^^^^^^^^^^^^^^^^^^^^^^^^^^
ERROR 03-16 21:13:32 [serving_chat.py:677] File "/home/kkk/miniconda3/envs/vllm1/lib/python3.12/concurrent/futures/thread.py", line 59, in run
ERROR 03-16 21:13:32 [serving_chat.py:677] result = self.fn(*self.args, **self.kwargs)
ERROR 03-16 21:13:32 [serving_chat.py:677] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ERROR 03-16 21:13:32 [serving_chat.py:677] File "/home/kkk/ai/vllm/vllm/worker/worker_base.py", line 621, in execute_method
ERROR 03-16 21:13:32 [serving_chat.py:677] raise e
ERROR 03-16 21:13:32 [serving_chat.py:677] File "/home/kkk/ai/vllm/vllm/worker/worker_base.py", line 612, in execute_method
ERROR 03-16 21:13:32 [serving_chat.py:677] return run_method(self, method, args, kwargs)
ERROR 03-16 21:13:32 [serving_chat.py:677] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ERROR 03-16 21:13:32 [serving_chat.py:677] File "/home/kkk/ai/vllm/vllm/utils.py", line 2216, in run_method
ERROR 03-16 21:13:32 [serving_chat.py:677] return func(*args, **kwargs)
ERROR 03-16 21:13:32 [serving_chat.py:677] ^^^^^^^^^^^^^^^^^^^^^
ERROR 03-16 21:13:32 [serving_chat.py:677] File "/home/kkk/ai/vllm/vllm/worker/worker_base.py", line 420, in execute_model
ERROR 03-16 21:13:32 [serving_chat.py:677] output = self.model_runner.execute_model(
ERROR 03-16 21:13:32 [serving_chat.py:677] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ERROR 03-16 21:13:32 [serving_chat.py:677] File "/home/kkk/miniconda3/envs/vllm1/lib/python3.12/site-packages/torch/utils/_contextlib.py", line 116, in decorate_context
ERROR 03-16 21:13:32 [serving_chat.py:677] return func(*args, **kwargs)
ERROR 03-16 21:13:32 [serving_chat.py:677] ^^^^^^^^^^^^^^^^^^^^^
ERROR 03-16 21:13:32 [serving_chat.py:677] File "/home/kkk/ai/vllm/vllm/worker/model_runner.py", line 1742, in execute_model
ERROR 03-16 21:13:32 [serving_chat.py:677] hidden_or_intermediate_states = model_executable(
ERROR 03-16 21:13:32 [serving_chat.py:677] ^^^^^^^^^^^^^^^^^
ERROR 03-16 21:13:32 [serving_chat.py:677] File "/home/kkk/miniconda3/envs/vllm1/lib/python3.12/site-packages/torch/nn/modules/module.py", line 1739, in _wrapped_call_impl
ERROR 03-16 21:13:32 [serving_chat.py:677] return self._call_impl(*args, **kwargs)
ERROR 03-16 21:13:32 [serving_chat.py:677] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ERROR 03-16 21:13:32 [serving_chat.py:677] File "/home/kkk/miniconda3/envs/vllm1/lib/python3.12/site-packages/torch/nn/modules/module.py", line 1750, in _call_impl
ERROR 03-16 21:13:32 [serving_chat.py:677] return forward_call(*args, **kwargs)
ERROR 03-16 21:13:32 [serving_chat.py:677] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ERROR 03-16 21:13:32 [serving_chat.py:677] File "/home/kkk/ai/vllm/vllm/model_executor/models/deepseek_v2.py", line 688, in forward
ERROR 03-16 21:13:32 [serving_chat.py:677] hidden_states = self.model(input_ids, positions, intermediate_tensors,
ERROR 03-16 21:13:32 [serving_chat.py:677] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ERROR 03-16 21:13:32 [serving_chat.py:677] File "/home/kkk/ai/vllm/vllm/compilation/decorators.py", line 172, in call
ERROR 03-16 21:13:32 [serving_chat.py:677] return self.forward(*args, **kwargs)
ERROR 03-16 21:13:32 [serving_chat.py:677] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ERROR 03-16 21:13:32 [serving_chat.py:677] File "/home/kkk/ai/vllm/vllm/model_executor/models/deepseek_v2.py", line 645, in forward
ERROR 03-16 21:13:32 [serving_chat.py:677] hidden_states, residual = layer(positions, hidden_states, residual)
ERROR 03-16 21:13:32 [serving_chat.py:677] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ERROR 03-16 21:13:32 [serving_chat.py:677] File "/home/kkk/miniconda3/envs/vllm1/lib/python3.12/site-packages/torch/nn/modules/module.py", line 1739, in _wrapped_call_impl
ERROR 03-16 21:13:32 [serving_chat.py:677] return self._call_impl(*args, **kwargs)
ERROR 03-16 21:13:32 [serving_chat.py:677] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ERROR 03-16 21:13:32 [serving_chat.py:677] File "/home/kkk/miniconda3/envs/vllm1/lib/python3.12/site-packages/torch/nn/modules/module.py", line 1750, in _call_impl
ERROR 03-16 21:13:32 [serving_chat.py:677] return forward_call(*args, **kwargs)
ERROR 03-16 21:13:32 [serving_chat.py:677] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ERROR 03-16 21:13:32 [serving_chat.py:677] File "/home/kkk/ai/vllm/vllm/model_executor/models/deepseek_v2.py", line 559, in forward
ERROR 03-16 21:13:32 [serving_chat.py:677] hidden_states = self.self_attn(
ERROR 03-16 21:13:32 [serving_chat.py:677] ^^^^^^^^^^^^^^^
ERROR 03-16 21:13:32 [serving_chat.py:677] File "/home/kkk/miniconda3/envs/vllm1/lib/python3.12/site-packages/torch/nn/modules/module.py", line 1739, in _wrapped_call_impl
ERROR 03-16 21:13:32 [serving_chat.py:677] return self._call_impl(*args, **kwargs)
ERROR 03-16 21:13:32 [serving_chat.py:677] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ERROR 03-16 21:13:32 [serving_chat.py:677] File "/home/kkk/miniconda3/envs/vllm1/lib/python3.12/site-packages/torch/nn/modules/module.py", line 1750, in _call_impl
ERROR 03-16 21:13:32 [serving_chat.py:677] return forward_call(*args, **kwargs)
ERROR 03-16 21:13:32 [serving_chat.py:677] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ERROR 03-16 21:13:32 [serving_chat.py:677] File "/home/kkk/ai/vllm/vllm/model_executor/models/deepseek_v2.py", line 477, in forward
ERROR 03-16 21:13:32 [serving_chat.py:677] return self.mla_attn(hidden_states_or_q_c,
ERROR 03-16 21:13:32 [serving_chat.py:677] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ERROR 03-16 21:13:32 [serving_chat.py:677] File "/home/kkk/miniconda3/envs/vllm1/lib/python3.12/site-packages/torch/nn/modules/module.py", line 1739, in _wrapped_call_impl
ERROR 03-16 21:13:32 [serving_chat.py:677] return self._call_impl(*args, **kwargs)
ERROR 03-16 21:13:32 [serving_chat.py:677] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ERROR 03-16 21:13:32 [serving_chat.py:677] File "/home/kkk/miniconda3/envs/vllm1/lib/python3.12/site-packages/torch/nn/modules/module.py", line 1750, in _call_impl
ERROR 03-16 21:13:32 [serving_chat.py:677] return forward_call(*args, **kwargs)
ERROR 03-16 21:13:32 [serving_chat.py:677] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ERROR 03-16 21:13:32 [serving_chat.py:677] File "/home/kkk/ai/vllm/vllm/attention/layer.py", line 225, in forward
ERROR 03-16 21:13:32 [serving_chat.py:677] return torch.ops.vllm.unified_attention(
ERROR 03-16 21:13:32 [serving_chat.py:677] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ERROR 03-16 21:13:32 [serving_chat.py:677] File "/home/kkk/miniconda3/envs/vllm1/lib/python3.12/site-packages/torch/_ops.py", line 1123, in call
ERROR 03-16 21:13:32 [serving_chat.py:677] return self._op(*args, **(kwargs or {}))
ERROR 03-16 21:13:32 [serving_chat.py:677] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ERROR 03-16 21:13:32 [serving_chat.py:677] File "/home/kkk/ai/vllm/vllm/attention/layer.py", line 331, in unified_attention
ERROR 03-16 21:13:32 [serving_chat.py:677] return self.impl.forward(self, query, key, value, kv_cache, attn_metadata)
ERROR 03-16 21:13:32 [serving_chat.py:677] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ERROR 03-16 21:13:32 [serving_chat.py:677] File "/home/kkk/ai/vllm/vllm/attention/backends/mla/common.py", line 1405, in forward
ERROR 03-16 21:13:32 [serving_chat.py:677] output[:num_prefill_tokens] = self._forward_prefill(
ERROR 03-16 21:13:32 [serving_chat.py:677] ^^^^^^^^^^^^^^^^^^^^^^
ERROR 03-16 21:13:32 [serving_chat.py:677] File "/home/kkk/ai/vllm/vllm/attention/backends/mla/common.py", line 1300, in _forward_prefill
ERROR 03-16 21:13:32 [serving_chat.py:677] context_output, context_lse = self._compute_prefill_context(
ERROR 03-16 21:13:32 [serving_chat.py:677] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ERROR 03-16 21:13:32 [serving_chat.py:677] File "/home/kkk/ai/vllm/vllm/attention/backends/mla/common.py", line 1164, in _compute_prefill_context
ERROR 03-16 21:13:32 [serving_chat.py:677] kv_nope = self.kv_b_proj(kv_c_normed)[0].view(
ERROR 03-16 21:13:32 [serving_chat.py:677] ^^^^^^^^^^^^^^^^^^^^^^^^^^^
ERROR 03-16 21:13:32 [serving_chat.py:677] File "/home/kkk/miniconda3/envs/vllm1/lib/python3.12/site-packages/torch/nn/modules/module.py", line 1739, in _wrapped_call_impl
ERROR 03-16 21:13:32 [serving_chat.py:677] return self._call_impl(*args, **kwargs)
ERROR 03-16 21:13:32 [serving_chat.py:677] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ERROR 03-16 21:13:32 [serving_chat.py:677] File "/home/kkk/miniconda3/envs/vllm1/lib/python3.12/site-packages/torch/nn/modules/module.py", line 1750, in call_impl
ERROR 03-16 21:13:32 [serving_chat.py:677] return forward_call(*args, **kwargs)
ERROR 03-16 21:13:32 [serving_chat.py:677] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ERROR 03-16 21:13:32 [serving_chat.py:677] File "/home/kkk/ai/vllm/vllm/model_executor/layers/linear.py", line 474, in forward
ERROR 03-16 21:13:32 [serving_chat.py:677] output_parallel = self.quant_method.apply(self, input
, bias)
ERROR 03-16 21:13:32 [serving_chat.py:677] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ERROR 03-16 21:13:32 [serving_chat.py:677] File "/home/kkk/ai/vllm/vllm/model_executor/layers/quantization/awq_marlin.py", line 303, in apply
ERROR 03-16 21:13:32 [serving_chat.py:677] return apply_awq_marlin_linear(
ERROR 03-16 21:13:32 [serving_chat.py:677] ^^^^^^^^^^^^^^^^^^^^^^^^
ERROR 03-16 21:13:32 [serving_chat.py:677] File "/home/kkk/ai/vllm/vllm/model_executor/layers/quantization/utils/marlin_utils.py", line 379, in apply_awq_marlin_linear
ERROR 03-16 21:13:32 [serving_chat.py:677] output = ops.gptq_marlin_gemm(reshaped_x,
ERROR 03-16 21:13:32 [serving_chat.py:677] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ERROR 03-16 21:13:32 [serving_chat.py:677] File "/home/kkk/ai/vllm/vllm/_custom_ops.py", line 741, in gptq_marlin_gemm
ERROR 03-16 21:13:32 [serving_chat.py:677] return torch.ops._C.gptq_marlin_gemm(a, b_q_weight, b_scales, b_zeros,

Before submitting a new issue...

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingstaleOver 90 days of inactivity

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions