未验证 提交 f0661a1d 编写于 作者: Q Qi Li 提交者: GitHub

[NPU] fix npu pr, test=develop (#35709)

* [NPU] fix npu pr
上级 d483b8c0
......@@ -1756,7 +1756,7 @@ function parallel_test_base_npu() {
npu_cc_changes=$(git diff --name-only remotes/upstream/$BRANCH | grep "op_npu.cc" || true)
npu_py_changes=$(git diff --name-only remotes/upstream/$BRANCH | grep "op_npu.py" || true)
# get PR name
npu_pr_tile=$(curl https://github.com/PaddlePaddle/Paddle/pull/${GIT_PR_ID} 2>/dev/null | grep "<title>" | grep "[NPU]" || true)
npu_pr_tile=$(curl https://github.com/PaddlePaddle/Paddle/pull/${GIT_PR_ID} 2>/dev/null | grep "<title>" | grep "NPU" || true)
if [ -z "${npu_cc_changes}" ] && [ -z "${npu_py_changes}" ] && [ -z "${npu_pr_tile}" ]; then
echo "NO NPU operators files changed and no '[NPU]' found in PR title, skip NPU unit tests!"
exit 0
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册