vllm-project/vllm

[Feature]: Remove attention layer name from `unified_kv_cache_update`

Open

#33267 opened on Jan 28, 2026

View on GitHub
 (7 comments) (1 reaction) (2 assignees)Python (80,034 stars) (16,816 forks)batch import
feature requestgood first issuehelp wantedstartup-uxtorch.compile

Description

🚀 The feature, motivation and pitch

unified_kv_cache_update appears in piecewise cudagraph regions, and each layer has a different name, so each of these have to be compiled separately. This increases cold start compilation time with Dynamo partition because the graphs can no longer be reused.

We should use the same approach as #32805 and #33184 to iterate through the layers in the forward context.

Alternatives

No response

Additional context

No response

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.

Contributor guide