[Misc] fast fail for exiting if tools/install_flash_infer_attention_score_ops_a2.sh (#5422)
### What this PR does / why we need it? Use `set -euo pipefail` to exit if tools/install_flash_infer_attention_score_ops_a2.sh failed in any line - vLLM version: release/v0.13.0 - vLLM main: https://github.com/vllm-project/vllm/commit/81786c87748b0177111dfdc07af5351d8389baa1 --------- Signed-off-by: MengqingCao <cmq0113@163.com> Signed-off-by: Mengqing Cao <cmq0113@163.com> Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
This commit is contained in:
1 parent
b8b5521f5b
commit
77cd960524
2 files changed
+4
No files matched your search
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in new issue
Block a user