Skip to content

Commit dcd4c2e

Browse files
committed
test will pull.yml
1 parent a247aed commit dcd4c2e

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

.github/workflows/pull.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -523,6 +523,29 @@ jobs:
523523
# Test llama2
524524
PYTHON_EXECUTABLE=python bash .ci/scripts/test_llama.sh -model stories110M -build_tool "${BUILD_TOOL}" -mode "${MODE}" -dtype "${DTYPE}" -pt2e_quantize "${PT2E_QUANTIZE}"
525525
526+
backend-test-linux:
527+
uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@main
528+
strategy:
529+
fail-fast: false
530+
matrix:
531+
flow: [
532+
qnn, qnn_16a16w, qnn_16a8w, qnn_16a4w, qnn_16a4w_block, qnn_8a8w,
533+
vulkan, vulkan_static_int8_per_channel,
534+
xnnpack, xnnpack_dynamic_int8_per_channel, xnnpack_static_int8_per_channel, xnnpack_static_int8_per_tensor
535+
]
536+
suite: [models, operators]
537+
with:
538+
ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }}
539+
runner: linux.4xlarge.memory
540+
docker-image: ci-image:executorch-ubuntu-22.04-clang12
541+
submodules: recursive
542+
timeout: 120
543+
upload-artifact: test-report-${{ matrix.flow }}-${{ matrix.suite }}
544+
script: |
545+
set -eux
546+
547+
source .ci/scripts/test_backend_linux.sh "${{ matrix.suite }}" "${{ matrix.flow }}" "${RUNNER_ARTIFACT_DIR}"
548+
526549
test-static-llama-qnn-linux:
527550
name: test-static-llama-qnn-linux
528551
uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@main

0 commit comments

Comments
 (0)