Comment Comment by animan That snippet is trying to say that you can calculate KV for all the input tokens at once, and you don't need to loop over them since you have them all available.Instead for decode, you need to sequentially generate each token. parent animan 1 year ago
Instead for decode, you need to sequentially generate each token.