diff --git a/tools/install_flash_infer_attention_score_ops_a2.sh b/tools/install_flash_infer_attention_score_ops_a2.sh index aa3126bc..2e4589a8 100644 --- a/tools/install_flash_infer_attention_score_ops_a2.sh +++ b/tools/install_flash_infer_attention_score_ops_a2.sh @@ -18,6 +18,8 @@ # This file is a part of the vllm-ascend project. # +set -euo pipefail +trap 'echo "Error on line $LINENO: command \`$BASH_COMMAND\` failed with exit code $?" >&2' ERR cd /vllm-workspace # download fused_infer_attention_score related source files diff --git a/tools/install_flash_infer_attention_score_ops_a3.sh b/tools/install_flash_infer_attention_score_ops_a3.sh index 1ad0a356..21819c16 100644 --- a/tools/install_flash_infer_attention_score_ops_a3.sh +++ b/tools/install_flash_infer_attention_score_ops_a3.sh @@ -17,6 +17,8 @@ # limitations under the License. # This file is a part of the vllm-ascend project. # +set -euo pipefail +trap 'echo "Error on line $LINENO: command \`$BASH_COMMAND\` failed with exit code $?" >&2' ERR cd /vllm-workspace # download fused_infer_attention_score related source files