Is kv_cache being read for anything other than cross_attn with GreedyDecoder? #1738
-
Based on my debugging, I've seen that Otherwise, the only other time I found the Am I missing some other part of the code/conditions under which the |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Couple other notes:
|
Beta Was this translation helpful? Give feedback.
-
Oh, I get it now... the return value of |
Beta Was this translation helpful? Give feedback.
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.