File tree Expand file tree Collapse file tree 1 file changed +12
-2
lines changed Expand file tree Collapse file tree 1 file changed +12
-2
lines changed Original file line number Diff line number Diff line change 6060 uses : pytorch/test-infra/.github/workflows/linux_job.yml@main
6161 strategy :
6262 matrix :
63- model : [add]
63+ model : [add, softmax, mv2 ]
6464 fail-fast : false
6565 with :
6666 runner : linux.2xlarge
7272 MODEL_NAME=${{ matrix.model }}
7373 CONDA_ENV=$(conda env list --json | jq -r ".envs | .[-1]")
7474 conda activate "${CONDA_ENV}"
75+ if [[ ${{ matrix.model}} == "add" ]]; then
76+ SIM_LIMIT_SEC=60
77+ elif [[ ${{ matrix.model}} == "softmax" ]]; then
78+ SIM_LIMIT_SEC=60
79+ elif [[ ${{ matrix.model}} == "mv2" ]]; then
80+ SIM_LIMIT_SEC=5000
81+ else
82+ echo "Failed unsupported model selection ${{ matrix.model }}"
83+ exit 1
84+ fi
7585
7686 source .ci/scripts/utils.sh
7787 source .ci/scripts/zephyr-utils.sh
@@ -117,7 +127,7 @@ jobs:
117127 -C mps3_board.uart0.out_file='sim.out' \
118128 -C cpu0.CFGITCMSZ=15 \
119129 -C cpu0.CFGDTCMSZ=15 \
120- --simlimit 120
130+ --simlimit ${SIM_LIMIT_SEC}
121131 cat sim.out
122132
123133 # Report failure if any of the ouptut verification checks fail
You can’t perform that action at this time.
0 commit comments