|
27 | 27 | repo-name: pytorch |
28 | 28 | branch: main |
29 | 29 | pin-folder: .ci/docker/ci_commit_pins |
30 | | - test-infra-ref: release/2.9 |
| 30 | + test-infra-ref: main |
31 | 31 | updatebot-token: ${{ secrets.UPDATEBOT_TOKEN }} |
32 | 32 | pytorchbot-token: ${{ secrets.GH_PYTORCHBOT_TOKEN }} |
33 | 33 |
|
|
36 | 36 | uses: ./.github/workflows/_link_check.yml |
37 | 37 | with: |
38 | 38 | ref: ${{ github.sha }} |
39 | | - |
40 | | - backend-test-linux: |
41 | | - uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@release/2.9 |
42 | | - strategy: |
43 | | - fail-fast: false |
44 | | - matrix: |
45 | | - flow: [ |
46 | | - qnn, qnn_16a16w, qnn_16a8w, qnn_16a4w, qnn_16a4w_block, qnn_8a8w, |
47 | | - vulkan, vulkan_static_int8_per_channel, |
48 | | - xnnpack, xnnpack_dynamic_int8_per_channel, xnnpack_static_int8_per_channel, xnnpack_static_int8_per_tensor |
49 | | - ] |
50 | | - suite: [models, operators] |
51 | | - with: |
52 | | - ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }} |
53 | | - runner: linux.4xlarge.memory |
54 | | - docker-image: ci-image:executorch-ubuntu-22.04-clang12 |
55 | | - submodules: recursive |
56 | | - timeout: 120 |
57 | | - upload-artifact: test-report-${{ matrix.flow }}-${{ matrix.suite }} |
58 | | - script: | |
59 | | - set -eux |
60 | | -
|
61 | | - source .ci/scripts/test_backend_linux.sh "${{ matrix.suite }}" "${{ matrix.flow }}" "${RUNNER_ARTIFACT_DIR}" |
62 | | -
|
63 | | - backend-test-macos: |
64 | | - uses: pytorch/test-infra/.github/workflows/macos_job.yml@release/2.9 |
65 | | - permissions: |
66 | | - id-token: write |
67 | | - contents: read |
68 | | - strategy: |
69 | | - fail-fast: false |
70 | | - matrix: |
71 | | - flow: [coreml, coreml_static_int8] |
72 | | - suite: [models, operators] |
73 | | - with: |
74 | | - ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }} |
75 | | - runner: macos-m1-stable |
76 | | - python-version: 3.12 |
77 | | - submodules: recursive |
78 | | - timeout: 120 |
79 | | - upload-artifact: test-report-${{ matrix.flow }}-${{ matrix.suite }} |
80 | | - script: | |
81 | | - set -eux |
82 | | -
|
83 | | - # This is needed to get the prebuilt PyTorch wheel from S3 |
84 | | - ${CONDA_RUN} --no-capture-output pip install awscli==1.37.21 |
85 | | -
|
86 | | - source .ci/scripts/test_backend_macos.sh "${{ matrix.suite }}" "${{ matrix.flow }}" "${RUNNER_ARTIFACT_DIR}" |
0 commit comments