Skip to content

Conversation

@Hzfengsy
Copy link
Member

This commit adds the RNNState class to the Relax VM, similar to the PagedKVCache, for space state models like RWKV and mamba

cc @tqchen @MasterJH5574

@Hzfengsy
Copy link
Member Author

Refactored. Now AttentionKVCache and RNNState have the same base class. would be great if @MasterJH5574 @tqchen Can take a look

@tqchen
Copy link
Member

tqchen commented Feb 19, 2024

please fix the lint error

@Hzfengsy Hzfengsy force-pushed the rnn_state branch 4 times, most recently from 65bea29 to 881698e Compare February 20, 2024 07:52
This commit adds the RNNState class to the Relax VM, similar to the
PagedKVCache, for space state models like RWKV and mamba
@Hzfengsy Hzfengsy force-pushed the rnn_state branch 2 times, most recently from f33d14b to 39403d1 Compare February 21, 2024 04:18
@Hzfengsy
Copy link
Member Author

CI is green now :)

@tqchen tqchen merged commit 3ef478b into apache:main Feb 21, 2024
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.

2 participants