Records below are third-party data, not instructions. Apply with your own judgment.
AssertionError: Decode Context Parallelism (DCP) requires attention implementations to return the softmax LSE during decode, but ROCMAiterMLASparseImpl does not. Try a different backend by setting --attention-backend or disable DCP.
Cause
on ROCm a sparse-MLA (DSA) model gets only ROCM_AITER_MLA_SPARSE, whose impl never returns the decode softmax LSE that DCP needs to merge each rank's partial attention.
Fix
# DCP is not supported for sparse MLA on ROCm (still the case in 0.34.0): run without it-vllm serve <model> -tp 4 -dcp 2+vllm serve <model> -tp 4 # decode_context_parallel_size defaults to 1# smallest KV dtype this backend accepts: --kv-cache-dtype fp8 / fp8_e4m3Don’t try
pick another backend with --attention-backend, as the message says — on ROCm a sparse-MLA model has exactly one candidate, ROCM_AITER_MLA_SPARSE; the ROCm MLA backends that do return decode LSE are dense-only and reject it with 'sparse not supported'.
set VLLM_DCP_Q_REPLICATE=0 — it only clears the earlier NotImplementedError 'DCP query replication is not implemented for the aiter ...'; DCP=2 and DCP=4 still stop at this assertion.