Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion paddle/scripts/paddle_build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2280,7 +2280,14 @@ EOF

set +x
test_cases=$(ctest -N -V) # get all test cases
get_quickly_disable_ut||disable_ut_quickly='disable_ut' # indicate whether the case was in quickly disable list

mlu_card_num=$(cnmon info -t | grep Card | wc -l)
if [[ $mlu_card_num == 1 ]]; then
get_quickly_disable_ut||disable_ut_quickly='disable_ut' # indicate whether the case was in quickly disable list
else
disable_ut_quickly='disable_ut'
fi

while read -r line; do
if [[ "$line" == "" ]]; then
continue
Expand Down
3 changes: 3 additions & 0 deletions tools/get_quick_disable_lt.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@ def download_file():
if paddle.is_compiled_with_npu():
url = "https://sys-p0.bj.bcebos.com/prec/{}".format('disable_ut_npu')

if paddle.is_compiled_with_mlu():
url = "https://sys-p0.bj.bcebos.com/prec/{}".format('disable_ut_mlu')

f = requests.get(url)
data = f.text
status_code = f.status_code
Expand Down