flashinfer.page¶
Kernels to manipulate paged kv-cache.
Append new K/V tensors to Paged KV-Cache¶
|
Append a batch of key-value pairs to a paged key-value cache. |
|
Append a batch of key-value pairs to a paged key-value cache, Note: current only support ckv=512 and kpe=64 |
|
Quantize and append K/V rows into an NVFP4 paged KV cache. |
Quantize and write K/V rows into an NVFP4 paged KV cache by slot mapping. |
|
|
Convert append indptr and sequence lengths to batch indices and positions. |