Skip to content

Commit 16fa9d2

Browse files
committed
External CI
1 parent 09fab50 commit 16fa9d2

File tree

2 files changed

+2
-28
lines changed

2 files changed

+2
-28
lines changed

.github/workflows/trunk.yml

Lines changed: 1 addition & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -463,33 +463,7 @@ jobs:
463463
strategy:
464464
matrix:
465465
dtype: [fp32]
466-
model: [dl3, mv3, mv2, ic4, ic3, vit, mb, w2l]
467-
fail-fast: false
468-
with:
469-
runner: linux.2xlarge
470-
docker-image: executorch-ubuntu-22.04-qnn-sdk
471-
submodules: 'recursive'
472-
ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }}
473-
timeout: 900
474-
script: |
475-
# The generic Linux job chooses to use base env, not the one setup by the image
476-
CONDA_ENV=$(conda env list --json | jq -r ".envs | .[-1]")
477-
conda activate "${CONDA_ENV}"
478-
PYTHON_EXECUTABLE=python bash .ci/scripts/setup-linux.sh --build-tool cmake
479-
PYTHON_EXECUTABLE=python bash .ci/scripts/setup-qnn-deps.sh
480-
PYTHON_EXECUTABLE=python bash .ci/scripts/build-qnn-sdk.sh
481-
PYTHON_EXECUTABLE=python bash .ci/scripts/test_model.sh ${{ matrix.model }} "cmake" "qnn"
482-
483-
test-qnn-optimum-model:
484-
name: test-qnn-optimum-model
485-
uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@main
486-
permissions:
487-
id-token: write
488-
contents: read
489-
strategy:
490-
matrix:
491-
dtype: [fp32]
492-
model: [albert, bert, distilbert, eurobert]
466+
model: [dl3, mv3, mv2, ic4, ic3, vit, mb, w2l, albert, bert, distilbert, eurobert]
493467
fail-fast: false
494468
with:
495469
runner: linux.2xlarge

examples/qualcomm/oss_scripts/albert.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ def main(args):
5959
config.hidden_act = "gelu"
6060
module = AutoModelForMaskedLM.from_pretrained(model_name, config=config).eval()
6161
pte_filename = "albert_qnn_q16"
62-
62+
6363
# lower to QNN
6464
passes_job = get_capture_program_passes()
6565
build_executorch_binary(

0 commit comments

Comments
 (0)