"vscode:/vscode.git/clone" did not exist on "b396157d986a8d59ea8928938389a3d7aa1af4e0"
Simplify the `attention` function (#2609)
* Simplify the `attention` function - Use one definition rather than multiple. - Add `key`/`value` arguments, so that we don't need the `PREFILL_IN_KVCACHE` constant. - Make it kwargs-only (to avoid mixing up the various `Tensor` args). * Fixup flashinfer support
Showing
Please register or sign in to comment