Skip to content

[Bug]:amd mi308x gpu, vllm 0.27.0~0.27.1, rocm 7.2.3, Kimi-K2.7-Coder start fails:AssertionError: mla_gluon requires gfx950 (CDNA4), got gfx942 #51964

Description

@badrecover

Your current environment

The output of python collect_env.py
(vllm) [fanlf@2025-h3c-83 tmp]$ python ./collect_env.py
Collecting environment information...
==============================
        System Info
==============================
OS                           : Rocky Linux 10.2 (Red Quartz) (x86_64)
GCC version                  : (GCC) 14.3.1 20251022 (Red Hat 14.3.1-4)
Clang version                : Could not collect
CMake version                : Could not collect
Libc version                 : glibc-2.39

==============================
       PyTorch Info
==============================
PyTorch version              : 2.11.0+gitd0c8b1f
Is debug build               : False
CUDA used to build PyTorch   : N/A
ROCM used to build PyTorch   : 7.2.53211
XPU used to build PyTorch    : N/A

==============================
      Python Environment
==============================
Python version               : 3.12.13 (main, Jul 10 2026, 00:00:00) [GCC 14.3.1 20251022 (Red Hat 14.3.1-4)] (64-bit runtime)
Python platform              : Linux-6.12.0-124.29.1.el10_1.x86_64-x86_64-with-glibc2.39

==============================
       CUDA / GPU Info
==============================
Is CUDA available            : True
CUDA runtime version         : Could not collect
CUDA_MODULE_LOADING set to   :
GPU models and configuration : AMD Instinct MI308X (gfx942:sramecc+:xnack-)
Nvidia driver version        : Could not collect
cuDNN version                : Could not collect
HIP runtime version          : 7.2.53211
MIOpen runtime version       : 3.5.1
Is XNNPACK available         : True

==============================
          CPU Info
==============================
Architecture:                            x86_64
CPU op-mode(s):                          32-bit, 64-bit
Address sizes:                           52 bits physical, 57 bits virtual
Byte Order:                              Little Endian
CPU(s):                                  384
On-line CPU(s) list:                     0-383
Vendor ID:                               AuthenticAMD
Model name:                              AMD EPYC 9654 96-Core Processor
CPU family:                              25
Model:                                   17
Thread(s) per core:                      2
Core(s) per socket:                      96
Socket(s):                               2
Stepping:                                1
Frequency boost:                         enabled
CPU(s) scaling MHz:                      66%
CPU max MHz:                             3709.3569
CPU min MHz:                             1500.0000
BogoMIPS:                                4793.03
Flags:                                   fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm constant_tsc rep_good amd_lbr_v2 nopl xtopology nonstop_tsc cpuid extd_apicid aperfmperf rapl pni pclmulqdq monitor ssse3 fma cx16 pcid sse4_1 sse4_2 x2apic movbe popcnt aes xsave avx f16c rdrand lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs skinit wdt tce topoext perfctr_core perfctr_nb bpext perfctr_llc mwaitx cpb cat_l3 cdp_l3 hw_pstate ssbd mba perfmon_v2 ibrs ibpb stibp ibrs_enhanced vmmcall fsgsbase bmi1 avx2 smep bmi2 erms invpcid cqm rdt_a avx512f avx512dq rdseed adx smap avx512ifma clflushopt clwb avx512cd sha_ni avx512bw avx512vl xsaveopt xsavec xgetbv1 xsaves cqm_llc cqm_occup_llc cqm_mbm_total cqm_mbm_local user_shstk avx512_bf16 clzero irperf xsaveerptr rdpru wbnoinvd amd_ppin cppc arat npt lbrv svm_lock nrip_save tsc_scale vmcb_clean flushbyasid decodeassists pausefilter pfthreshold avic v_vmsave_vmload vgif x2avic v_spec_ctrl vnmi avx512vbmi umip pku ospke avx512_vbmi2 gfni vaes vpclmulqdq avx512_vnni avx512_bitalg avx512_vpopcntdq la57 rdpid overflow_recov succor smca fsrm flush_l1d debug_swap
Virtualization:                          AMD-V
L1d cache:                               6 MiB (192 instances)
L1i cache:                               6 MiB (192 instances)
L2 cache:                                192 MiB (192 instances)
L3 cache:                                768 MiB (24 instances)
NUMA node(s):                            2
NUMA node0 CPU(s):                       0-95,192-287
NUMA node1 CPU(s):                       96-191,288-383
Vulnerability Gather data sampling:      Not affected
Vulnerability Indirect target selection: Not affected
Vulnerability Itlb multihit:             Not affected
Vulnerability L1tf:                      Not affected
Vulnerability Mds:                       Not affected
Vulnerability Meltdown:                  Not affected
Vulnerability Mmio stale data:           Not affected
Vulnerability Reg file data sampling:    Not affected
Vulnerability Retbleed:                  Not affected
Vulnerability Spec rstack overflow:      Mitigation; Safe RET
Vulnerability Spec store bypass:         Mitigation; Speculative Store Bypass disabled via prctl
Vulnerability Spectre v1:                Mitigation; usercopy/swapgs barriers and __user pointer sanitization
Vulnerability Spectre v2:                Mitigation; Enhanced / Automatic IBRS; IBPB conditional; STIBP always-on; PBRSB-eIBRS Not affected; BHI Not affected
Vulnerability Srbds:                     Not affected
Vulnerability Tsa:                       Mitigation; Clear CPU buffers
Vulnerability Tsx async abort:           Not affected
Vulnerability Vmscape:                   Mitigation; IBPB before exit to userspace

==============================
Versions of relevant libraries
==============================
[pip3] conch-triton-kernels==1.2.1
[pip3] numpy==2.3.5
[pip3] onnx==1.22.0
[pip3] onnx-ir==0.2.1
[pip3] onnxscript==0.7.1
[pip3] onnxslim==0.1.95
[pip3] pyzmq==27.1.0
[pip3] torch==2.11.0+gitd0c8b1f
[pip3] torch_c_dlpack_ext==0.1.5
[pip3] torchaudio==2.9.0+eaa9e4e
[pip3] torchvision==0.24.1+d801a34
[pip3] transformers==5.15.0
[pip3] triton==3.6.0
[conda] Could not collect

==============================
         vLLM Info
==============================
ROCM Version                 : 7.2.53211-c2d9476115
vLLM Version                 : 0.27.0
vLLM Build Flags:
  CUDA Archs: Not Set; ROCm: Disabled; XPU: Disabled
GPU Topology:
  ============================ ROCm System Management Interface ============================
================================ Weight between two GPUs =================================
       GPU0         GPU1         GPU2         GPU3         GPU4         GPU5         GPU6         GPU7
GPU0   0            15           15           15           15           15           15           15
GPU1   15           0            15           15           15           15           15           15
GPU2   15           15           0            15           15           15           15           15
GPU3   15           15           15           0            15           15           15           15
GPU4   15           15           15           15           0            15           15           15
GPU5   15           15           15           15           15           0            15           15
GPU6   15           15           15           15           15           15           0            15
GPU7   15           15           15           15           15           15           15           0

================================= Hops between two GPUs ==================================
       GPU0         GPU1         GPU2         GPU3         GPU4         GPU5         GPU6         GPU7
GPU0   0            1            1            1            1            1            1            1
GPU1   1            0            1            1            1            1            1            1
GPU2   1            1            0            1            1            1            1            1
GPU3   1            1            1            0            1            1            1            1
GPU4   1            1            1            1            0            1            1            1
GPU5   1            1            1            1            1            0            1            1
GPU6   1            1            1            1            1            1            0            1
GPU7   1            1            1            1            1            1            1            0

=============================== Link Type between two GPUs ===============================
       GPU0         GPU1         GPU2         GPU3         GPU4         GPU5         GPU6         GPU7
GPU0   0            XGMI         XGMI         XGMI         XGMI         XGMI         XGMI         XGMI
GPU1   XGMI         0            XGMI         XGMI         XGMI         XGMI         XGMI         XGMI
GPU2   XGMI         XGMI         0            XGMI         XGMI         XGMI         XGMI         XGMI
GPU3   XGMI         XGMI         XGMI         0            XGMI         XGMI         XGMI         XGMI
GPU4   XGMI         XGMI         XGMI         XGMI         0            XGMI         XGMI         XGMI
GPU5   XGMI         XGMI         XGMI         XGMI         XGMI         0            XGMI         XGMI
GPU6   XGMI         XGMI         XGMI         XGMI         XGMI         XGMI         0            XGMI
GPU7   XGMI         XGMI         XGMI         XGMI         XGMI         XGMI         XGMI         0

======================================= Numa Nodes =======================================
GPU[0]          : (Topology) Numa Node: 0
GPU[0]          : (Topology) Numa Affinity: 0
GPU[1]          : (Topology) Numa Node: 0
GPU[1]          : (Topology) Numa Affinity: 0
GPU[2]          : (Topology) Numa Node: 0
GPU[2]          : (Topology) Numa Affinity: 0
GPU[3]          : (Topology) Numa Node: 0
GPU[3]          : (Topology) Numa Affinity: 0
GPU[4]          : (Topology) Numa Node: 1
GPU[4]          : (Topology) Numa Affinity: 1
GPU[5]          : (Topology) Numa Node: 1
GPU[5]          : (Topology) Numa Affinity: 1
GPU[6]          : (Topology) Numa Node: 1
GPU[6]          : (Topology) Numa Affinity: 1
GPU[7]          : (Topology) Numa Node: 1
GPU[7]          : (Topology) Numa Affinity: 1
================================== End of ROCm SMI Log ===================================

==============================
     Environment Variables
==============================
VLLM_ROCM_USE_AITER=1
PYTORCH_ROCM_ARCH=gfx942
TORCH_BLAS_PREFER_HIPBLASLT=1
PYTORCH_NVML_BASED_CUDA_CHECK=1
TORCHINDUCTOR_COMPILE_THREADS=1
TORCHINDUCTOR_CACHE_DIR=/tmp/torchinductor_fanlf

🐛 Describe the bug

  1. install: uv pip install vllm=="0.27.0+rocm723" --extra-index-url https://wheels.vllm.ai/rocm --no-cache
  2. startup and error log:
(vllm) [fanlf@2025-h3c-83 vllm]$ export AITER_ROCM_ARCH="gfx942"
export PYTORCH_ROCM_ARCH="gfx942"
export MORI_GPU_ARCHS="gfx942"
export VLLM_ROCM_USE_AITER=1
export TORCH_BLAS_PREFER_HIPBLASLT=1
export HIP_FORCE_DEV_KERNARG=1
(vllm) [fanlf@2025-h3c-83 vllm]$ vllm serve \
/pool/models/moonshotai/Kimi-K2.7 \
--served-model-name kimi \
--trust-remote-code  \
--tensor-parallel-size 8 \
--mm-encoder-tp-mode data \
--max-model-len 262144 \
--gpu-memory-utilization 0.6 \
--port 8003 \
--host 0.0.0.0 \
--tool-call-parser kimi_k2 \
--enable-auto-tool-choice \
--reasoning-parser kimi_k2 \
--kv-cache-dtype fp8
(APIServer pid=204677) INFO 08-12 14:53:04 [api_utils.py:345]
(APIServer pid=204677) INFO 08-12 14:53:04 [api_utils.py:345]        █     █     █▄   ▄█
(APIServer pid=204677) INFO 08-12 14:53:04 [api_utils.py:345]  ▄▄ ▄█ █     █     █ ▀▄▀ █  version 0.27.0
(APIServer pid=204677) INFO 08-12 14:53:04 [api_utils.py:345]   █▄█▀ █     █     █     █  model   /pool/models/moonshotai/Kimi-K2.7
(APIServer pid=204677) INFO 08-12 14:53:04 [api_utils.py:345]    ▀▀  ▀▀▀▀▀ ▀▀▀▀▀ ▀     ▀
(APIServer pid=204677) INFO 08-12 14:53:04 [api_utils.py:345]
(APIServer pid=204677) INFO 08-12 14:53:04 [api_utils.py:273] non-default args: {'model_tag': '/pool/models/moonshotai/Kimi-K2.7', 'enable_auto_tool_choice': True, 'tool_call_parser': 'kimi_k2', 'host': '0.0.0.0', 'port': 8003, 'model': '/pool/models/moonshotai/Kimi-K2.7', 'trust_remote_code': True, 'max_model_len': 262144, 'served_model_name': ['kimi'], 'reasoning_parser': 'kimi_k2', 'tensor_parallel_size': 8, 'gpu_memory_utilization': 0.6, 'kv_cache_dtype': 'fp8', 'mm_encoder_tp_mode': 'data'}
......
(Worker_TP7 pid=205643) ERROR 08-12 14:58:20 [multiproc_executor.py:1018] WorkerProc hit an exception.
(Worker_TP7 pid=205643) ERROR 08-12 14:58:20 [multiproc_executor.py:1018] Traceback (most recent call last):
(Worker_TP7 pid=205643) ERROR 08-12 14:58:20 [multiproc_executor.py:1018]   File "/home/fanlf/vllm/lib64/python3.12/site-packages/vllm/v1/executor/multiproc_executor.py", line 1010, in worker_busy_loop
(Worker_TP7 pid=205643) ERROR 08-12 14:58:20 [multiproc_executor.py:1018]     output = func(*args, **kwargs)
(Worker_TP7 pid=205643) ERROR 08-12 14:58:20 [multiproc_executor.py:1018]              ^^^^^^^^^^^^^^^^^^^^^
(Worker_TP7 pid=205643) ERROR 08-12 14:58:20 [multiproc_executor.py:1018]   File "/home/fanlf/vllm/lib64/python3.12/site-packages/torch/utils/_contextlib.py", line 124, in decorate_context
(Worker_TP7 pid=205643) ERROR 08-12 14:58:20 [multiproc_executor.py:1018]     return func(*args, **kwargs)
(Worker_TP7 pid=205643) ERROR 08-12 14:58:20 [multiproc_executor.py:1018]            ^^^^^^^^^^^^^^^^^^^^^
(Worker_TP7 pid=205643) ERROR 08-12 14:58:20 [multiproc_executor.py:1018]   File "/home/fanlf/vllm/lib64/python3.12/site-packages/vllm/v1/worker/gpu_worker.py", line 517, in determine_available_memory
(Worker_TP7 pid=205643) ERROR 08-12 14:58:20 [multiproc_executor.py:1018]     cudagraph_memory_estimate = self.model_runner.profile_cudagraph_memory()
(Worker_TP7 pid=205643) ERROR 08-12 14:58:20 [multiproc_executor.py:1018]                                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
(Worker_TP7 pid=205643) ERROR 08-12 14:58:20 [multiproc_executor.py:1018]   File "/home/fanlf/vllm/lib64/python3.12/site-packages/torch/utils/_contextlib.py", line 124, in decorate_context
(Worker_TP7 pid=205643) ERROR 08-12 14:58:20 [multiproc_executor.py:1018]     return func(*args, **kwargs)
(Worker_TP7 pid=205643) ERROR 08-12 14:58:20 [multiproc_executor.py:1018]            ^^^^^^^^^^^^^^^^^^^^^
(Worker_TP7 pid=205643) ERROR 08-12 14:58:20 [multiproc_executor.py:1018]   File "/home/fanlf/vllm/lib64/python3.12/site-packages/vllm/v1/worker/gpu_model_runner.py", line 6732, in profile_cudagraph_memory
(Worker_TP7 pid=205643) ERROR 08-12 14:58:20 [multiproc_executor.py:1018]     self._warmup_and_capture(
(Worker_TP7 pid=205643) ERROR 08-12 14:58:20 [multiproc_executor.py:1018]   File "/home/fanlf/vllm/lib64/python3.12/site-packages/vllm/v1/worker/gpu_model_runner.py", line 6935, in _warmup_and_capture
(Worker_TP7 pid=205643) ERROR 08-12 14:58:20 [multiproc_executor.py:1018]     self._dummy_run(
(Worker_TP7 pid=205643) ERROR 08-12 14:58:20 [multiproc_executor.py:1018]   File "/home/fanlf/vllm/lib64/python3.12/site-packages/torch/utils/_contextlib.py", line 124, in decorate_context
(Worker_TP7 pid=205643) ERROR 08-12 14:58:20 [multiproc_executor.py:1018]     return func(*args, **kwargs)
(Worker_TP7 pid=205643) ERROR 08-12 14:58:20 [multiproc_executor.py:1018]            ^^^^^^^^^^^^^^^^^^^^^
(Worker_TP7 pid=205643) ERROR 08-12 14:58:20 [multiproc_executor.py:1018]   File "/home/fanlf/vllm/lib64/python3.12/site-packages/vllm/v1/worker/gpu_model_runner.py", line 6156, in _dummy_run
(Worker_TP7 pid=205643) ERROR 08-12 14:58:20 [multiproc_executor.py:1018]     outputs = self.model(
(Worker_TP7 pid=205643) ERROR 08-12 14:58:20 [multiproc_executor.py:1018]               ^^^^^^^^^^^
(Worker_TP7 pid=205643) ERROR 08-12 14:58:20 [multiproc_executor.py:1018]   File "/home/fanlf/vllm/lib64/python3.12/site-packages/vllm/compilation/cuda_graph.py", line 254, in __call__
(Worker_TP7 pid=205643) ERROR 08-12 14:58:20 [multiproc_executor.py:1018]     return self.runnable(*args, **kwargs)
(Worker_TP7 pid=205643) ERROR 08-12 14:58:20 [multiproc_executor.py:1018]            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
(Worker_TP7 pid=205643) ERROR 08-12 14:58:20 [multiproc_executor.py:1018]   File "/home/fanlf/vllm/lib64/python3.12/site-packages/torch/nn/modules/module.py", line 1779, in _wrapped_call_impl
(Worker_TP7 pid=205643) ERROR 08-12 14:58:20 [multiproc_executor.py:1018]     return self._call_impl(*args, **kwargs)
(Worker_TP7 pid=205643) ERROR 08-12 14:58:20 [multiproc_executor.py:1018]            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
(Worker_TP7 pid=205643) ERROR 08-12 14:58:20 [multiproc_executor.py:1018]   File "/home/fanlf/vllm/lib64/python3.12/site-packages/torch/nn/modules/module.py", line 1790, in _call_impl
(Worker_TP7 pid=205643) ERROR 08-12 14:58:20 [multiproc_executor.py:1018]     return forward_call(*args, **kwargs)
(Worker_TP7 pid=205643) ERROR 08-12 14:58:20 [multiproc_executor.py:1018]            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
(Worker_TP7 pid=205643) ERROR 08-12 14:58:20 [multiproc_executor.py:1018]   File "/home/fanlf/vllm/lib64/python3.12/site-packages/vllm/model_executor/models/kimi_k25.py", line 454, in forward
(Worker_TP7 pid=205643) ERROR 08-12 14:58:20 [multiproc_executor.py:1018]     hidden_states = self.language_model(
(Worker_TP7 pid=205643) ERROR 08-12 14:58:20 [multiproc_executor.py:1018]                     ^^^^^^^^^^^^^^^^^^^^
(Worker_TP7 pid=205643) ERROR 08-12 14:58:20 [multiproc_executor.py:1018]   File "/home/fanlf/vllm/lib64/python3.12/site-packages/torch/nn/modules/module.py", line 1779, in _wrapped_call_impl
(Worker_TP7 pid=205643) ERROR 08-12 14:58:20 [multiproc_executor.py:1018]     return self._call_impl(*args, **kwargs)
(Worker_TP7 pid=205643) ERROR 08-12 14:58:20 [multiproc_executor.py:1018]            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
(Worker_TP7 pid=205643) ERROR 08-12 14:58:20 [multiproc_executor.py:1018]   File "/home/fanlf/vllm/lib64/python3.12/site-packages/torch/nn/modules/module.py", line 1790, in _call_impl
(Worker_TP7 pid=205643) ERROR 08-12 14:58:20 [multiproc_executor.py:1018]     return forward_call(*args, **kwargs)
(Worker_TP7 pid=205643) ERROR 08-12 14:58:20 [multiproc_executor.py:1018]            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
(Worker_TP7 pid=205643) ERROR 08-12 14:58:20 [multiproc_executor.py:1018]   File "/home/fanlf/vllm/lib64/python3.12/site-packages/vllm/model_executor/models/deepseek_v2.py", line 1899, in forward
(Worker_TP7 pid=205643) ERROR 08-12 14:58:20 [multiproc_executor.py:1018]     hidden_states = self.model(
(Worker_TP7 pid=205643) ERROR 08-12 14:58:20 [multiproc_executor.py:1018]                     ^^^^^^^^^^^
(Worker_TP7 pid=205643) ERROR 08-12 14:58:20 [multiproc_executor.py:1018]   File "/home/fanlf/vllm/lib64/python3.12/site-packages/vllm/compilation/decorators.py", line 520, in __call__
(Worker_TP7 pid=205643) ERROR 08-12 14:58:20 [multiproc_executor.py:1018]     return self.aot_compiled_fn(self, *args, **kwargs)
(Worker_TP7 pid=205643) ERROR 08-12 14:58:20 [multiproc_executor.py:1018]            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
(Worker_TP7 pid=205643) ERROR 08-12 14:58:20 [multiproc_executor.py:1018]   File "/home/fanlf/vllm/lib64/python3.12/site-packages/torch/_dynamo/aot_compile.py", line 224, in __call__
(Worker_TP7 pid=205643) ERROR 08-12 14:58:20 [multiproc_executor.py:1018]     return self.fn(*args, **kwargs)
(Worker_TP7 pid=205643) ERROR 08-12 14:58:20 [multiproc_executor.py:1018]            ^^^^^^^^^^^^^^^^^^^^^^^^
(Worker_TP7 pid=205643) ERROR 08-12 14:58:20 [multiproc_executor.py:1018]   File "/home/fanlf/vllm/lib64/python3.12/site-packages/vllm/model_executor/models/deepseek_v2.py", line 1433, in forward
(Worker_TP7 pid=205643) ERROR 08-12 14:58:20 [multiproc_executor.py:1018]     def forward(
(Worker_TP7 pid=205643) ERROR 08-12 14:58:20 [multiproc_executor.py:1018]   File "/home/fanlf/vllm/lib64/python3.12/site-packages/vllm/compilation/caching.py", line 217, in __call__
(Worker_TP7 pid=205643) ERROR 08-12 14:58:20 [multiproc_executor.py:1018]     return self.optimized_call(*args, **kwargs)
(Worker_TP7 pid=205643) ERROR 08-12 14:58:20 [multiproc_executor.py:1018]            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
(Worker_TP7 pid=205643) ERROR 08-12 14:58:20 [multiproc_executor.py:1018]   File "<string>", line 502, in execution_fn
(Worker_TP7 pid=205643) ERROR 08-12 14:58:20 [multiproc_executor.py:1018]   File "<string>", line 9, in __vllm_inlined_submods__2
(Worker_TP7 pid=205643) ERROR 08-12 14:58:20 [multiproc_executor.py:1018]   File "/home/fanlf/vllm/lib64/python3.12/site-packages/torch/_ops.py", line 1269, in __call__
(Worker_TP7 pid=205643) ERROR 08-12 14:58:20 [multiproc_executor.py:1018]     return self._op(*args, **kwargs)
(Worker_TP7 pid=205643) ERROR 08-12 14:58:20 [multiproc_executor.py:1018]            ^^^^^^^^^^^^^^^^^^^^^^^^^
(Worker_TP7 pid=205643) ERROR 08-12 14:58:20 [multiproc_executor.py:1018]   File "/home/fanlf/vllm/lib64/python3.12/site-packages/vllm/model_executor/layers/attention/kv_transfer_utils.py", line 40, in wrapper
(Worker_TP7 pid=205643) ERROR 08-12 14:58:20 [multiproc_executor.py:1018]     return func(*args, **kwargs)
(Worker_TP7 pid=205643) ERROR 08-12 14:58:20 [multiproc_executor.py:1018]            ^^^^^^^^^^^^^^^^^^^^^
(Worker_TP7 pid=205643) ERROR 08-12 14:58:20 [multiproc_executor.py:1018]   File "/home/fanlf/vllm/lib64/python3.12/site-packages/vllm/model_executor/layers/attention/mla_attention.py", line 1254, in unified_mla_attention_with_output
(Worker_TP7 pid=205643) ERROR 08-12 14:58:20 [multiproc_executor.py:1018]     layer.forward_impl(
(Worker_TP7 pid=205643) ERROR 08-12 14:58:20 [multiproc_executor.py:1018]   File "/home/fanlf/vllm/lib64/python3.12/site-packages/vllm/model_executor/layers/attention/mla_attention.py", line 919, in forward_impl
(Worker_TP7 pid=205643) ERROR 08-12 14:58:20 [multiproc_executor.py:1018]     attn_out, lse = self.impl.forward_mqa(mqa_q, kv_cache, attn_metadata, self)  # type: ignore[attr-defined]
(Worker_TP7 pid=205643) ERROR 08-12 14:58:20 [multiproc_executor.py:1018]                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
(Worker_TP7 pid=205643) ERROR 08-12 14:58:20 [multiproc_executor.py:1018]   File "/home/fanlf/vllm/lib64/python3.12/site-packages/vllm/v1/attention/backends/mla/rocm_aiter_mla.py", line 1093, in forward_mqa
(Worker_TP7 pid=205643) ERROR 08-12 14:58:20 [multiproc_executor.py:1018]     mla_gluon(
(Worker_TP7 pid=205643) ERROR 08-12 14:58:20 [multiproc_executor.py:1018]   File "/home/fanlf/vllm/lib64/python3.12/site-packages/aiter/ops/triton/gluon/mla_gluon.py", line 865, in mla_gluon
(Worker_TP7 pid=205643) ERROR 08-12 14:58:20 [multiproc_executor.py:1018]     arch_info.get_arch() == "gfx950"
(Worker_TP7 pid=205643) ERROR 08-12 14:58:20 [multiproc_executor.py:1018] AssertionError: mla_gluon requires gfx950 (CDNA4), got gfx942
(Worker_TP7 pid=205643) ERROR 08-12 14:58:20 [multiproc_executor.py:1018] Traceback (most recent call last):
(Worker_TP7 pid=205643) ERROR 08-12 14:58:20 [multiproc_executor.py:1018]   File "/home/fanlf/vllm/lib64/python3.12/site-packages/vllm/v1/executor/multiproc_executor.py", line 1010, in worker_busy_loop
(Worker_TP7 pid=205643) ERROR 08-12 14:58:20 [multiproc_executor.py:1018]     output = func(*args, **kwargs)
(Worker_TP7 pid=205643) ERROR 08-12 14:58:20 [multiproc_executor.py:1018]              ^^^^^^^^^^^^^^^^^^^^^
(Worker_TP7 pid=205643) ERROR 08-12 14:58:20 [multiproc_executor.py:1018]   File "/home/fanlf/vllm/lib64/python3.12/site-packages/torch/utils/_contextlib.py", line 124, in decorate_context
(Worker_TP7 pid=205643) ERROR 08-12 14:58:20 [multiproc_executor.py:1018]     return func(*args, **kwargs)
(Worker_TP7 pid=205643) ERROR 08-12 14:58:20 [multiproc_executor.py:1018]            ^^^^^^^^^^^^^^^^^^^^^
(Worker_TP7 pid=205643) ERROR 08-12 14:58:20 [multiproc_executor.py:1018]   File "/home/fanlf/vllm/lib64/python3.12/site-packages/vllm/v1/worker/gpu_worker.py", line 517, in determine_available_memory
(Worker_TP7 pid=205643) ERROR 08-12 14:58:20 [multiproc_executor.py:1018]     cudagraph_memory_estimate = self.model_runner.profile_cudagraph_memory()
(Worker_TP7 pid=205643) ERROR 08-12 14:58:20 [multiproc_executor.py:1018]                                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
(Worker_TP7 pid=205643) ERROR 08-12 14:58:20 [multiproc_executor.py:1018]   File "/home/fanlf/vllm/lib64/python3.12/site-packages/torch/utils/_contextlib.py", line 124, in decorate_context
(Worker_TP7 pid=205643) ERROR 08-12 14:58:20 [multiproc_executor.py:1018]     return func(*args, **kwargs)
(Worker_TP7 pid=205643) ERROR 08-12 14:58:20 [multiproc_executor.py:1018]            ^^^^^^^^^^^^^^^^^^^^^
(Worker_TP7 pid=205643) ERROR 08-12 14:58:20 [multiproc_executor.py:1018]   File "/home/fanlf/vllm/lib64/python3.12/site-packages/vllm/v1/worker/gpu_model_runner.py", line 6732, in profile_cudagraph_memory
(Worker_TP7 pid=205643) ERROR 08-12 14:58:20 [multiproc_executor.py:1018]     self._warmup_and_capture(
(Worker_TP7 pid=205643) ERROR 08-12 14:58:20 [multiproc_executor.py:1018]   File "/home/fanlf/vllm/lib64/python3.12/site-packages/vllm/v1/worker/gpu_model_runner.py", line 6935, in _warmup_and_capture
(Worker_TP7 pid=205643) ERROR 08-12 14:58:20 [multiproc_executor.py:1018]     self._dummy_run(
(Worker_TP7 pid=205643) ERROR 08-12 14:58:20 [multiproc_executor.py:1018]   File "/home/fanlf/vllm/lib64/python3.12/site-packages/torch/utils/_contextlib.py", line 124, in decorate_context
(Worker_TP7 pid=205643) ERROR 08-12 14:58:20 [multiproc_executor.py:1018]     return func(*args, **kwargs)
(Worker_TP7 pid=205643) ERROR 08-12 14:58:20 [multiproc_executor.py:1018]            ^^^^^^^^^^^^^^^^^^^^^
(Worker_TP7 pid=205643) ERROR 08-12 14:58:20 [multiproc_executor.py:1018]   File "/home/fanlf/vllm/lib64/python3.12/site-packages/vllm/v1/worker/gpu_model_runner.py", line 6156, in _dummy_run
(Worker_TP7 pid=205643) ERROR 08-12 14:58:20 [multiproc_executor.py:1018]     outputs = self.model(
(Worker_TP7 pid=205643) ERROR 08-12 14:58:20 [multiproc_executor.py:1018]               ^^^^^^^^^^^
(Worker_TP7 pid=205643) ERROR 08-12 14:58:20 [multiproc_executor.py:1018]   File "/home/fanlf/vllm/lib64/python3.12/site-packages/vllm/compilation/cuda_graph.py", line 254, in __call__
(Worker_TP7 pid=205643) ERROR 08-12 14:58:20 [multiproc_executor.py:1018]     return self.runnable(*args, **kwargs)
(Worker_TP7 pid=205643) ERROR 08-12 14:58:20 [multiproc_executor.py:1018]            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
(Worker_TP7 pid=205643) ERROR 08-12 14:58:20 [multiproc_executor.py:1018]   File "/home/fanlf/vllm/lib64/python3.12/site-packages/torch/nn/modules/module.py", line 1779, in _wrapped_call_impl
(Worker_TP7 pid=205643) ERROR 08-12 14:58:20 [multiproc_executor.py:1018]     return self._call_impl(*args, **kwargs)
(Worker_TP7 pid=205643) ERROR 08-12 14:58:20 [multiproc_executor.py:1018]            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
(Worker_TP7 pid=205643) ERROR 08-12 14:58:20 [multiproc_executor.py:1018]   File "/home/fanlf/vllm/lib64/python3.12/site-packages/torch/nn/modules/module.py", line 1790, in _call_impl
(Worker_TP7 pid=205643) ERROR 08-12 14:58:20 [multiproc_executor.py:1018]     return forward_call(*args, **kwargs)
(Worker_TP7 pid=205643) ERROR 08-12 14:58:20 [multiproc_executor.py:1018]            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
(Worker_TP7 pid=205643) ERROR 08-12 14:58:20 [multiproc_executor.py:1018]   File "/home/fanlf/vllm/lib64/python3.12/site-packages/vllm/model_executor/models/kimi_k25.py", line 454, in forward
(Worker_TP7 pid=205643) ERROR 08-12 14:58:20 [multiproc_executor.py:1018]     hidden_states = self.language_model(
(Worker_TP7 pid=205643) ERROR 08-12 14:58:20 [multiproc_executor.py:1018]                     ^^^^^^^^^^^^^^^^^^^^
(Worker_TP7 pid=205643) ERROR 08-12 14:58:20 [multiproc_executor.py:1018]   File "/home/fanlf/vllm/lib64/python3.12/site-packages/torch/nn/modules/module.py", line 1779, in _wrapped_call_impl
(Worker_TP7 pid=205643) ERROR 08-12 14:58:20 [multiproc_executor.py:1018]     return self._call_impl(*args, **kwargs)
(Worker_TP7 pid=205643) ERROR 08-12 14:58:20 [multiproc_executor.py:1018]            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
(Worker_TP7 pid=205643) ERROR 08-12 14:58:20 [multiproc_executor.py:1018]   File "/home/fanlf/vllm/lib64/python3.12/site-packages/torch/nn/modules/module.py", line 1790, in _call_impl
(Worker_TP7 pid=205643) ERROR 08-12 14:58:20 [multiproc_executor.py:1018]     return forward_call(*args, **kwargs)
(Worker_TP7 pid=205643) ERROR 08-12 14:58:20 [multiproc_executor.py:1018]            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
(Worker_TP7 pid=205643) ERROR 08-12 14:58:20 [multiproc_executor.py:1018]   File "/home/fanlf/vllm/lib64/python3.12/site-packages/vllm/model_executor/models/deepseek_v2.py", line 1899, in forward
(Worker_TP7 pid=205643) ERROR 08-12 14:58:20 [multiproc_executor.py:1018]     hidden_states = self.model(
(Worker_TP7 pid=205643) ERROR 08-12 14:58:20 [multiproc_executor.py:1018]                     ^^^^^^^^^^^
(Worker_TP7 pid=205643) ERROR 08-12 14:58:20 [multiproc_executor.py:1018]   File "/home/fanlf/vllm/lib64/python3.12/site-packages/vllm/compilation/decorators.py", line 520, in __call__
(Worker_TP7 pid=205643) ERROR 08-12 14:58:20 [multiproc_executor.py:1018]     return self.aot_compiled_fn(self, *args, **kwargs)
(Worker_TP7 pid=205643) ERROR 08-12 14:58:20 [multiproc_executor.py:1018]            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
(Worker_TP7 pid=205643) ERROR 08-12 14:58:20 [multiproc_executor.py:1018]   File "/home/fanlf/vllm/lib64/python3.12/site-packages/torch/_dynamo/aot_compile.py", line 224, in __call__
(Worker_TP7 pid=205643) ERROR 08-12 14:58:20 [multiproc_executor.py:1018]     return self.fn(*args, **kwargs)
(Worker_TP7 pid=205643) ERROR 08-12 14:58:20 [multiproc_executor.py:1018]            ^^^^^^^^^^^^^^^^^^^^^^^^
(Worker_TP7 pid=205643) ERROR 08-12 14:58:20 [multiproc_executor.py:1018]   File "/home/fanlf/vllm/lib64/python3.12/site-packages/vllm/model_executor/models/deepseek_v2.py", line 1433, in forward
(Worker_TP7 pid=205643) ERROR 08-12 14:58:20 [multiproc_executor.py:1018]     def forward(
(Worker_TP7 pid=205643) ERROR 08-12 14:58:20 [multiproc_executor.py:1018]   File "/home/fanlf/vllm/lib64/python3.12/site-packages/vllm/compilation/caching.py", line 217, in __call__
(Worker_TP7 pid=205643) ERROR 08-12 14:58:20 [multiproc_executor.py:1018]     return self.optimized_call(*args, **kwargs)
(Worker_TP7 pid=205643) ERROR 08-12 14:58:20 [multiproc_executor.py:1018]            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
(Worker_TP7 pid=205643) ERROR 08-12 14:58:20 [multiproc_executor.py:1018]   File "<string>", line 502, in execution_fn
(Worker_TP7 pid=205643) ERROR 08-12 14:58:20 [multiproc_executor.py:1018]   File "<string>", line 9, in __vllm_inlined_submods__2
(Worker_TP7 pid=205643) ERROR 08-12 14:58:20 [multiproc_executor.py:1018]   File "/home/fanlf/vllm/lib64/python3.12/site-packages/torch/_ops.py", line 1269, in __call__
(Worker_TP7 pid=205643) ERROR 08-12 14:58:20 [multiproc_executor.py:1018]     return self._op(*args, **kwargs)
(Worker_TP7 pid=205643) ERROR 08-12 14:58:20 [multiproc_executor.py:1018]            ^^^^^^^^^^^^^^^^^^^^^^^^^
(Worker_TP7 pid=205643) ERROR 08-12 14:58:20 [multiproc_executor.py:1018]   File "/home/fanlf/vllm/lib64/python3.12/site-packages/vllm/model_executor/layers/attention/kv_transfer_utils.py", line 40, in wrapper
(Worker_TP7 pid=205643) ERROR 08-12 14:58:20 [multiproc_executor.py:1018]     return func(*args, **kwargs)
(Worker_TP7 pid=205643) ERROR 08-12 14:58:20 [multiproc_executor.py:1018]            ^^^^^^^^^^^^^^^^^^^^^
(Worker_TP7 pid=205643) ERROR 08-12 14:58:20 [multiproc_executor.py:1018]   File "/home/fanlf/vllm/lib64/python3.12/site-packages/vllm/model_executor/layers/attention/mla_attention.py", line 1254, in unified_mla_attention_with_output
(Worker_TP7 pid=205643) ERROR 08-12 14:58:20 [multiproc_executor.py:1018]     layer.forward_impl(
(Worker_TP7 pid=205643) ERROR 08-12 14:58:20 [multiproc_executor.py:1018]   File "/home/fanlf/vllm/lib64/python3.12/site-packages/vllm/model_executor/layers/attention/mla_attention.py", line 919, in forward_impl
(Worker_TP7 pid=205643) ERROR 08-12 14:58:20 [multiproc_executor.py:1018]     attn_out, lse = self.impl.forward_mqa(mqa_q, kv_cache, attn_metadata, self)  # type: ignore[attr-defined]
(Worker_TP7 pid=205643) ERROR 08-12 14:58:20 [multiproc_executor.py:1018]                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
(Worker_TP7 pid=205643) ERROR 08-12 14:58:20 [multiproc_executor.py:1018]   File "/home/fanlf/vllm/lib64/python3.12/site-packages/vllm/v1/attention/backends/mla/rocm_aiter_mla.py", line 1093, in forward_mqa
(Worker_TP7 pid=205643) ERROR 08-12 14:58:20 [multiproc_executor.py:1018]     mla_gluon(
(Worker_TP7 pid=205643) ERROR 08-12 14:58:20 [multiproc_executor.py:1018]   File "/home/fanlf/vllm/lib64/python3.12/site-packages/aiter/ops/triton/gluon/mla_gluon.py", line 865, in mla_gluon
(Worker_TP7 pid=205643) ERROR 08-12 14:58:20 [multiproc_executor.py:1018]     arch_info.get_arch() == "gfx950"
(Worker_TP7 pid=205643) ERROR 08-12 14:58:20 [multiproc_executor.py:1018] AssertionError: mla_gluon requires gfx950 (CDNA4), got gfx942
(Worker_TP7 pid=205643) ERROR 08-12 14:58:20 [multiproc_executor.py:1018]

[vllm-rocm.md.txt](https://github.com/user-attachments/files/30973739/vllm-rocm.md.txt)

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 workingkimirocmRelated to AMD ROCm

    Type

    No type

    Projects

    Status
    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions