From 83ad14c74c66c6be277cd37a1ee62e5ca3779313 Mon Sep 17 00:00:00 2001 From: aipaes <82140963+aipaes@users.noreply.github.com> Date: Tue, 17 Mar 2026 17:21:27 +0800 Subject: [PATCH] [bugfix] fix unzip file path for fia operator (#7367) ### What this PR does / why we need it? The decompression path of the FIA operator package is incorrect, and unnecessary folders have been created during modification. - vLLM version: v0.17.0 - vLLM main: https://github.com/vllm-project/vllm/commit/4034c3d32e30d01639459edd3ab486f56993876d Signed-off-by: zjks98 Co-authored-by: zjks98 --- tools/install_flash_infer_attention_score_ops_a2.sh | 3 +-- tools/install_flash_infer_attention_score_ops_a3.sh | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/tools/install_flash_infer_attention_score_ops_a2.sh b/tools/install_flash_infer_attention_score_ops_a2.sh index 2f030e0b..cd457ebf 100644 --- a/tools/install_flash_infer_attention_score_ops_a2.sh +++ b/tools/install_flash_infer_attention_score_ops_a2.sh @@ -22,10 +22,9 @@ set -euo pipefail trap 'echo "Error on line $LINENO: command \`$BASH_COMMAND\` failed with exit code $?" >&2' ERR cd /vllm-workspace -mkdir -p fused_infer_attention_score_a2_$(uname -i) # download fused_infer_attention_score related source files wget https://vllm-ascend.obs.cn-north-4.myhuaweicloud.com/vllm-ascend/cann-8.5.1/fused_infer_attention_score_a2_$(uname -i).tar.gz -tar -zxvf ./fused_infer_attention_score_a2_$(uname -i).tar.gz -C ./fused_infer_attention_score_a2_$(uname -i) +tar -zxvf ./fused_infer_attention_score_a2_$(uname -i).tar.gz # replace fused_infer_attention_score operation files cd $ASCEND_TOOLKIT_HOME/opp/built-in/op_impl/ai_core/tbe/kernel/ascend910b/ops_transformer diff --git a/tools/install_flash_infer_attention_score_ops_a3.sh b/tools/install_flash_infer_attention_score_ops_a3.sh index e9a0be2c..823ef088 100644 --- a/tools/install_flash_infer_attention_score_ops_a3.sh +++ b/tools/install_flash_infer_attention_score_ops_a3.sh @@ -21,10 +21,9 @@ set -euo pipefail trap 'echo "Error on line $LINENO: command \`$BASH_COMMAND\` failed with exit code $?" >&2' ERR cd /vllm-workspace -mkdir -p fused_infer_attention_score_a3_$(uname -i) # download fused_infer_attention_score related source files wget https://vllm-ascend.obs.cn-north-4.myhuaweicloud.com/vllm-ascend/cann-8.5.1/fused_infer_attention_score_a3_$(uname -i).tar.gz -tar -zxvf ./fused_infer_attention_score_a3_$(uname -i).tar.gz -C ./fused_infer_attention_score_a3_$(uname -i) +tar -zxvf ./fused_infer_attention_score_a3_$(uname -i).tar.gz # replace fused_infer_attention_score operation files cd $ASCEND_TOOLKIT_HOME/opp/built-in/op_impl/ai_core/tbe/kernel/ascend910_93/ops_transformer