TensorRT-LLM icon indicating copy to clipboard operation
TensorRT-LLM copied to clipboard

[Feature]: Support chunked attention for Llama3 models

Open langzhao-netizen opened this issue 10 months ago • 3 comments

🚀 The feature, motivation and pitch

Hi, as https://nvidia.github.io/TensorRT-LLM/latest/features/long-sequence.html shows, TRT-LLM only supports chunked attention for Llama4 now, can you please also try to support the feature for Llama3? Thanks.

Alternatives

No response

Additional context

No response

Before submitting a new issue...

  • [x] Make sure you already searched for relevant issues, and checked the documentation and examples for answers to frequently asked questions.

langzhao-netizen avatar Jan 29 '26 22:01 langzhao-netizen

Thank you for raising this question. If I’ve understood correctly, Llama4 uses chunked attention because it was trained with a chunked attention mask. In contrast, Llama3 was trained with full attention. Therefore, applying chunked attention to Llama3 might reduce its quality. Are there any Llama3 models that have been trained with chunked attention?

karljang avatar Feb 02 '26 07:02 karljang

Issue has not received an update in over 14 days. Adding stale label.

github-actions[bot] avatar Feb 17 '26 03:02 github-actions[bot]

This issue was closed because it has been 14 days without activity since it has been marked as stale.

github-actions[bot] avatar Mar 04 '26 03:03 github-actions[bot]