This PR introduces the tree attention to PagedKVCache. With this feature, now the KV cache is ready for tree attention cases such as speculative decoding trees.
This PR adds tree attention tests to test the correctness.
The changes in this PR to KVState interface are backward compatible.
This PR introduces the tree attention to PagedKVCache. With this feature, now the KV cache is ready for tree attention cases such as speculative decoding trees.
This PR adds tree attention tests to test the correctness.
The changes in this PR to KVState interface are backward compatible.