Skip to content

Commit 09edbee

Browse files
authored
[CI] Modify ci test workflow (#2116)
1. Use `timm_nfnet` for CI test instead of `timm_regnet`, which has known accuracy issue #1334 2. fix ondemand test issue disable_build disable_ut disable_distributed
1 parent 9e95ad0 commit 09edbee

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/actions/linux-testenv/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ runs:
7777
# apply extra PRs for stock pytorch
7878
pip install requests
7979
if [ "${{ github.event_name }}" == "pull_request" ];then
80-
python ../torch-xpu-ops/.github/scripts/apply_torch_pr.py -e https://github.com/pytorch/pytorch/pull/152940
80+
python ../torch-xpu-ops/.github/scripts/apply_torch_pr.py -e https://github.com/mengfei25/pytorch/pull/27
8181
else
8282
python ../torch-xpu-ops/.github/scripts/apply_torch_pr.py
8383
fi

.github/workflows/nightly_ondemand.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ jobs:
111111
else
112112
test_type="build-ondemand"
113113
fi
114-
ut="$(echo ${{ inputs.ut }} |sed 's/,/","/g;s/^/["/;s/$/"]/')"
114+
ut="$(echo ${{ inputs.ut }} |sed -E 's/(microbench,|,microbench)//g;s/(,windows|windows,)//g;s/,/","/g;s/^/["/;s/$/"]/')"
115115
suite="$(echo ${{ inputs.suite }} |sed 's/,/","/g;s/^/["/;s/$/"]/')"
116116
triton="${{ inputs.triton }}"
117117
python="${{ inputs.python }}"

0 commit comments

Comments
 (0)