@@ -14,29 +14,24 @@ concurrency:
1414
1515jobs :
1616 test-qnn-wheel-packages-linux :
17- name : test-qnn-wheel-packages-linux (py${{ matrix.python-version }})
17+ name : test-qnn-wheel-packages-linux
1818 uses : pytorch/test-infra/.github/workflows/linux_job_v2.yml@main
1919 permissions :
2020 id-token : write
2121 contents : read
2222 strategy :
2323 fail-fast : false
24- matrix :
25- python-version : [ "3.10", "3.11", "3.12" ]
2624 with :
2725 runner : linux.2xlarge
28- docker-image : ci-image:executorch-ubuntu-22.04-clang12
26+ docker-image : ci-image:executorch-ubuntu-22.04-qnn-sdk
2927 submodules : ' recursive'
3028 ref : ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }}
3129 timeout : 180
3230 script : |
31+ # The generic Linux job chooses to use base env, not the one setup by the image
3332 CONDA_ENV=$(conda env list --json | jq -r ".envs | .[-1]")
3433 conda activate "${CONDA_ENV}"
3534
36- # Create a clean env for each python version
37- conda create -y -n test_env_${{ matrix.python-version }} python=${{ matrix.python-version }}
38- conda activate test_env_${{ matrix.python-version }}
39-
4035 PYTHON_EXECUTABLE=python bash .ci/scripts/test_wheel_package_qnn.sh
4136
4237 # test-setup-linux-gcc:
@@ -237,29 +232,29 @@ jobs:
237232 # PYTHON_EXECUTABLE=python \
238233 # bash .ci/scripts/build_llama_android.sh "${BUILD_TOOL}"
239234
240- # test-custom-ops-linux:
241- # name: test-custom-ops-linux
242- # uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@main
243- # permissions:
244- # id-token: write
245- # contents: read
246- # strategy:
247- # fail-fast: false
248- # with:
249- # runner: linux.2xlarge
250- # docker-image: ci-image:executorch-ubuntu-22.04-clang12
251- # submodules: 'recursive'
252- # ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }}
253- # timeout: 90
254- # script: |
255- # # The generic Linux job chooses to use base env, not the one setup by the image
256- # CONDA_ENV=$(conda env list --json | jq -r ".envs | .[-1]")
257- # conda activate "${CONDA_ENV}"
235+ test-custom-ops-linux :
236+ name : test-custom-ops-linux
237+ uses : pytorch/test-infra/.github/workflows/linux_job_v2.yml@main
238+ permissions :
239+ id-token : write
240+ contents : read
241+ strategy :
242+ fail-fast : false
243+ with :
244+ runner : linux.2xlarge
245+ docker-image : ci-image:executorch-ubuntu-22.04-clang12
246+ submodules : ' recursive'
247+ ref : ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }}
248+ timeout : 90
249+ script : |
250+ # The generic Linux job chooses to use base env, not the one setup by the image
251+ CONDA_ENV=$(conda env list --json | jq -r ".envs | .[-1]")
252+ conda activate "${CONDA_ENV}"
258253
259- # BUILD_TOOL="cmake"
260- # PYTHON_EXECUTABLE=python bash .ci/scripts/setup-linux.sh --build-tool "${BUILD_TOOL}"
261- # # Test custom ops
262- # PYTHON_EXECUTABLE=python bash examples/portable/custom_ops/test_custom_ops.sh "${BUILD_TOOL}"
254+ BUILD_TOOL="cmake"
255+ PYTHON_EXECUTABLE=python bash .ci/scripts/setup-linux.sh --build-tool "${BUILD_TOOL}"
256+ # Test custom ops
257+ PYTHON_EXECUTABLE=python bash examples/portable/custom_ops/test_custom_ops.sh "${BUILD_TOOL}"
263258
264259 # test-selective-build-linux:
265260 # name: test-selective-build-linux
0 commit comments