[Perf]Optimize rotary_emb implementation to use Triton operator for improved inference performance (#16457)

Signed-off-by: cynthieye <yexin93@qq.com>
Co-authored-by: MagnetoWang <magnetowang@outlook.com>
This commit is contained in:
yexin(叶鑫)
2025-04-25 14:52:28 +08:00
committed by GitHub
co-authored by MagnetoWang
parent 881f735827
commit b22980a1dc
2 changed files with 24 additions and 12 deletions
@@ -38,7 +38,7 @@ else()
FetchContent_Declare(
vllm-flash-attn
GIT_REPOSITORY https://github.com/vllm-project/flash-attention.git
GIT_TAG e93779c59ba4905e56e5c39dc2c1904ada71fa21
GIT_TAG 8798f27777fb57f447070301bf33a9f9c607f491
GIT_PROGRESS TRUE
# Don't share the vllm-flash-attn build between build types
BINARY_DIR ${CMAKE_BINARY_DIR}/vllm-flash-attn