ColossalAI/examples/inference/benchmark_ops
Yuanheng Zhao 537a3cbc4d
[kernel] Support New KCache Layout - Triton Kernel (#5677)
* kvmemcpy triton for new kcache layout

* revise tests for new kcache layout

* naive triton flash decoding - new kcache layout

* rotary triton kernel - new kcache layout

* remove redundancy - triton decoding

* remove redundancy - triton kvcache copy

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-05-03 17:20:45 +08:00
..
benchmark_context_attn_unpad.py [kernel] Support new KCache Layout - Context Attention Triton Kernel (#5658) 2024-04-26 17:51:49 +08:00
benchmark_decoding_attn.py [kernel] Support New KCache Layout - Triton Kernel (#5677) 2024-05-03 17:20:45 +08:00
benchmark_flash_decoding_attention.py [Inference/Kernel] refactor kvcache manager and rotary_embedding and kvcache_memcpy oper… (#5663) 2024-04-30 15:52:23 +08:00
benchmark_fused_rotary_embdding_unpad.py [kernel] Support New KCache Layout - Triton Kernel (#5677) 2024-05-03 17:20:45 +08:00
benchmark_kv_cache_memcopy.py [kernel] Support New KCache Layout - Triton Kernel (#5677) 2024-05-03 17:20:45 +08:00
benchmark_rmsnorm.py feat baichuan2 rmsnorm whose hidden size equals to 5120 (#5611) 2024-04-19 15:34:53 +08:00
benchmark_rotary_embedding.py [Inference/kernel]Add Fused Rotary Embedding and KVCache Memcopy CUDA Kernel (#5418) 2024-03-13 17:20:03 +08:00
benchmark_xine_copy.py [Inference/kernel]Add Fused Rotary Embedding and KVCache Memcopy CUDA Kernel (#5418) 2024-03-13 17:20:03 +08:00