Skip to content

Is kv_cache being read for anything other than cross_attn with GreedyDecoder? #1738

Closed Answered by mmmkkaaayy
mmmkkaaayy asked this question in Q&A
Discussion options

You must be logged in to vote

Oh, I get it now... the return value of save_to_cache is actually overriding the return value of the layer it's hooked into, so that's how the values are being read.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@alexterminator88
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by mmmkkaaayy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants