Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 8 additions & 2 deletions vllm/platforms/rocm.py
Original file line number Diff line number Diff line change
Expand Up @@ -901,8 +901,14 @@ def check_and_update_config(cls, vllm_config: "VllmConfig") -> None:
parallel_config = vllm_config.parallel_config

if compilation_config.cudagraph_mode.has_full_cudagraphs():
# decode context parallel does not support full cudagraphs
if parallel_config.decode_context_parallel_size > 1:
# Decode context parallel does not support full cudagraphs, except
# for the all-to-all ("a2a") backend: its Triton pack/unpack kernels
# and private-pool send/recv buffers are capture-safe, matching CUDA
# (which does not downgrade this path).
if (
parallel_config.decode_context_parallel_size > 1
and parallel_config.dcp_comm_backend != "a2a"
):
logger.warning_once(
"Decode context parallel (DCP) is enabled, which is "
"incompatible with full CUDA graphs. "
Expand Down
Loading