Skip to content

Commit eb4ebcb

Browse files
authored
Disable QNN build option for the default x86 build (#15949)
seems like qnn download sdk is very unreliable. Trying to fix it then re-enable it
1 parent 7905104 commit eb4ebcb

File tree

2 files changed

+25
-25
lines changed

2 files changed

+25
-25
lines changed

.github/workflows/pull.yml

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -13,32 +13,32 @@ concurrency:
1313
cancel-in-progress: true
1414

1515
jobs:
16-
test-qnn-wheel-packages-linux:
17-
name: test-qnn-wheel-packages-linux
18-
uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@main
19-
permissions:
20-
id-token: write
21-
contents: read
22-
strategy:
23-
fail-fast: false
24-
matrix:
25-
python-version: [ "3.10", "3.11", "3.12" ]
26-
with:
27-
runner: linux.2xlarge
28-
docker-image: ci-image:executorch-ubuntu-22.04-qnn-sdk
29-
submodules: 'recursive'
30-
ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }}
31-
timeout: 180
32-
script: |
33-
# The generic Linux job chooses to use base env, not the one setup by the image
34-
CONDA_ENV=$(conda env list --json | jq -r ".envs | .[-1]")
35-
conda activate "${CONDA_ENV}"
16+
# test-qnn-wheel-packages-linux:
17+
# name: test-qnn-wheel-packages-linux
18+
# uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@main
19+
# permissions:
20+
# id-token: write
21+
# contents: read
22+
# strategy:
23+
# fail-fast: false
24+
# matrix:
25+
# python-version: [ "3.10", "3.11", "3.12" ]
26+
# with:
27+
# runner: linux.2xlarge
28+
# docker-image: ci-image:executorch-ubuntu-22.04-qnn-sdk
29+
# submodules: 'recursive'
30+
# ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }}
31+
# timeout: 180
32+
# script: |
33+
# # The generic Linux job chooses to use base env, not the one setup by the image
34+
# CONDA_ENV=$(conda env list --json | jq -r ".envs | .[-1]")
35+
# conda activate "${CONDA_ENV}"
3636

37-
# Create a clean env for each python version
38-
conda create -y -n test_env_${{ matrix.python-version }} python=${{ matrix.python-version }}
39-
conda activate test_env_${{ matrix.python-version }}
37+
# # Create a clean env for each python version
38+
# conda create -y -n test_env_${{ matrix.python-version }} python=${{ matrix.python-version }}
39+
# conda activate test_env_${{ matrix.python-version }}
4040

41-
PYTHON_EXECUTABLE=python bash .ci/scripts/test_wheel_package_qnn.sh "${{ matrix.python-version }}"
41+
# PYTHON_EXECUTABLE=python bash .ci/scripts/test_wheel_package_qnn.sh "${{ matrix.python-version }}"
4242

4343
test-setup-linux-gcc:
4444
name: test-setup-linux-gcc

tools/cmake/preset/pybind.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ elseif(CMAKE_SYSTEM_NAME STREQUAL "Linux")
3737
set_overridable_option(EXECUTORCH_BUILD_EXTENSION_LLM_RUNNER ON)
3838
set_overridable_option(EXECUTORCH_BUILD_EXTENSION_LLM ON)
3939
if(CMAKE_SYSTEM_PROCESSOR MATCHES "^(x86_64|amd64|i.86)$")
40-
set_overridable_option(EXECUTORCH_BUILD_QNN ON)
40+
set_overridable_option(EXECUTORCH_BUILD_QNN OFF)
4141
endif()
4242
elseif(CMAKE_SYSTEM_NAME STREQUAL "Windows" OR CMAKE_SYSTEM_NAME STREQUAL
4343
"WIN32"

0 commit comments

Comments
 (0)