Skip to content

Conversation

@vinx13
Copy link
Member

@vinx13 vinx13 commented Sep 2, 2024

This adds support for tree attention with tokens in the kv cache. KVCache is now stateful w.r.t the tree state, multiple decoding rounds can be performed with tree mask and the accepted tokens can be committed at once at the end.

cc @MasterJH5574 @tqchen

@vinx13 vinx13 force-pushed the feat/tree-attn branch 2 times, most recently from 0e0ad43 to 619fefd Compare September 3, 2024 02:02
Copy link
Contributor

@MasterJH5574 MasterJH5574 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the enhancement!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants