You are viewing a plain text version of this content. The canonical link for it is here.
Posted to discuss-archive@tvm.apache.org by "akaashrp (via GitHub)" <gi...@apache.org> on 2026/08/12 02:03:14 UTC

[PR] [Feature][Relax] Support shared-KV attention with configurable sliding windows [tvm]

akaashrp opened a new pull request, #20121:
URL: https://github.com/apache/tvm/pull/20121

   Extend `PagedKVCache` for models whose logical attention layers reuse K/V cached by another physical layer.
   - Adds non-mutating `attention_with_shared_kv` support.
   - Makes per-layer sliding-window size configurable.
   - Corrects sliding-window masking during chunked prefill.
   
   This is intended to enable downstream Gemma 4 support in MLC-LLM and WebLLM. 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: discuss-archive-unsubscribe@tvm.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: discuss-archive-unsubscribe@tvm.apache.org
For additional commands, e-mail: discuss-archive-help@tvm.apache.org


Re: [PR] [Feature][Relax] Support shared-KV attention with configurable sliding windows [tvm]

Posted by "tlopex (via GitHub)" <gi...@apache.org>.
tlopex merged PR #20121:
URL: https://github.com/apache/tvm/pull/20121


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: discuss-archive-unsubscribe@tvm.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: discuss-archive-unsubscribe@tvm.apache.org
For additional commands, e-mail: discuss-archive-help@tvm.apache.org