Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/_android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
jobs:
build-llm-demo:
name: build-llm-demo
uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@main
uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@release/2.9
permissions:
id-token: write
contents: read
Expand Down Expand Up @@ -71,7 +71,7 @@ jobs:
API_LEVEL: 34
steps:
- name: Setup SSH (Click me for login details)
uses: pytorch/test-infra/.github/actions/setup-ssh@main
uses: pytorch/test-infra/.github/actions/setup-ssh@release/2.9
with:
github-secret: ${{ secrets.GITHUB_TOKEN }}
instructions: |
Expand All @@ -82,7 +82,7 @@ jobs:
submodules: false

- name: Setup conda
uses: pytorch/test-infra/.github/actions/setup-miniconda@main
uses: pytorch/test-infra/.github/actions/setup-miniconda@release/2.9
with:
python-version: '3.10'

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/_link_check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
jobs:
lint-urls:
if: ${{ github.event_name != 'pull_request' || !contains(github.event.pull_request.labels.*.name, 'skip-url-lint') }}
uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@main
uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@release/2.9
with:
runner: linux.2xlarge
docker-image: ci-image:executorch-ubuntu-22.04-linter
Expand All @@ -33,7 +33,7 @@ jobs:

lint-xrefs:
if: ${{ github.event_name != 'pull_request' || !contains(github.event.pull_request.labels.*.name, 'skip-xref-lint') }}
uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@main
uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@release/2.9
with:
runner: linux.2xlarge
docker-image: ci-image:executorch-ubuntu-22.04-linter
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/_unittest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ on:

jobs:
linux:
uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@main
uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@release/2.9
permissions:
id-token: write
contents: read
Expand All @@ -42,7 +42,7 @@ jobs:
.ci/scripts/unittest-linux.sh --build-tool "${{ inputs.build-tool }}" --build-mode "${{ inputs.build-mode }}" --editable "${{ inputs.editable }}"

macos:
uses: pytorch/test-infra/.github/workflows/macos_job.yml@main
uses: pytorch/test-infra/.github/workflows/macos_job.yml@release/2.9
with:
runner: macos-m1-stable
python-version: '3.11'
Expand All @@ -56,7 +56,7 @@ jobs:

windows:
if: ${{ inputs.build-tool == 'cmake' }}
uses: pytorch/test-infra/.github/workflows/windows_job.yml@main
uses: pytorch/test-infra/.github/workflows/windows_job.yml@release/2.9
with:
submodules: 'recursive'
ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }}
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/android-perf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ jobs:

export-models:
name: export-models
uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@main
uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@release/2.9
permissions:
id-token: write
contents: read
Expand Down Expand Up @@ -402,7 +402,7 @@ jobs:

build-benchmark-app:
name: build-benchmark-app
uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@main
uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@release/2.9
permissions:
id-token: write
contents: read
Expand Down Expand Up @@ -450,7 +450,7 @@ jobs:
permissions:
id-token: write
contents: read
uses: pytorch/test-infra/.github/workflows/mobile_job.yml@main
uses: pytorch/test-infra/.github/workflows/mobile_job.yml@release/2.9
needs:
- set-parameters
- prepare-test-specs
Expand Down Expand Up @@ -496,7 +496,7 @@ jobs:
aws-region: us-east-1

- name: Setup conda
uses: pytorch/test-infra/.github/actions/setup-miniconda@main
uses: pytorch/test-infra/.github/actions/setup-miniconda@release/2.9
with:
python-version: '3.10'

Expand Down Expand Up @@ -554,7 +554,7 @@ jobs:
done

- name: Upload the benchmark results (v3)
uses: pytorch/test-infra/.github/actions/upload-benchmark-results@main
uses: pytorch/test-infra/.github/actions/upload-benchmark-results@release/2.9
with:
benchmark-results-dir: benchmark-results/v3
dry-run: false
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/android-release-artifacts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
name: build-aar
needs: check-if-aar-exists
if: ${{ !github.event.pull_request.head.repo.fork }}
uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@main
uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@release/2.9
secrets: inherit
permissions:
id-token: write
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/apple-perf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ jobs:

export-models:
name: export-models
uses: pytorch/test-infra/.github/workflows/macos_job.yml@main
uses: pytorch/test-infra/.github/workflows/macos_job.yml@release/2.9
needs: set-parameters
secrets: inherit
strategy:
Expand Down Expand Up @@ -411,7 +411,7 @@ jobs:

build-benchmark-app:
name: build-benchmark-app
uses: pytorch/test-infra/.github/workflows/macos_job.yml@main
uses: pytorch/test-infra/.github/workflows/macos_job.yml@release/2.9
needs:
- set-parameters
secrets: inherit
Expand Down Expand Up @@ -496,7 +496,7 @@ jobs:
permissions:
id-token: write
contents: read
uses: pytorch/test-infra/.github/workflows/mobile_job.yml@main
uses: pytorch/test-infra/.github/workflows/mobile_job.yml@release/2.9
strategy:
matrix: ${{ fromJson(needs.set-parameters.outputs.benchmark_configs) }}
fail-fast: false
Expand Down Expand Up @@ -539,7 +539,7 @@ jobs:
aws-region: us-east-1

- name: Setup conda
uses: pytorch/test-infra/.github/actions/setup-miniconda@main
uses: pytorch/test-infra/.github/actions/setup-miniconda@release/2.9
with:
python-version: '3.10'

Expand Down Expand Up @@ -595,7 +595,7 @@ jobs:
done

- name: Upload the benchmark results (v3)
uses: pytorch/test-infra/.github/actions/upload-benchmark-results@main
uses: pytorch/test-infra/.github/actions/upload-benchmark-results@release/2.9
with:
benchmark-results-dir: benchmark-results/v3
dry-run: false
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/apple.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
name: build-demo-ios
# NB: Don't run this on fork PRs because they won't have access to the secret and would fail anyway
if: ${{ !github.event.pull_request.head.repo.fork }}
uses: pytorch/test-infra/.github/workflows/macos_job.yml@main
uses: pytorch/test-infra/.github/workflows/macos_job.yml@release/2.9
secrets: inherit
with:
runner: macos-14-xlarge
Expand Down Expand Up @@ -115,7 +115,7 @@ jobs:
permissions:
id-token: write
contents: read
uses: pytorch/test-infra/.github/workflows/mobile_job.yml@main
uses: pytorch/test-infra/.github/workflows/mobile_job.yml@release/2.9
with:
device-type: ios
# For iOS testing, the runner just needs to call AWS Device Farm, so there is no need to run this on macOS
Expand All @@ -133,7 +133,7 @@ jobs:
build-frameworks-ios:
name: build-frameworks-ios
needs: set-version
uses: pytorch/test-infra/.github/workflows/macos_job.yml@main
uses: pytorch/test-infra/.github/workflows/macos_job.yml@release/2.9
with:
runner: macos-14-xlarge
python-version: '3.11'
Expand Down Expand Up @@ -272,7 +272,7 @@ jobs:
name: build-benchmark-app
# NB: Don't run this on fork PRs because they won't have access to the secret and would fail anyway
if: ${{ !github.event.pull_request.head.repo.fork }}
uses: pytorch/test-infra/.github/workflows/macos_job.yml@main
uses: pytorch/test-infra/.github/workflows/macos_job.yml@release/2.9
secrets: inherit
with:
runner: macos-14-xlarge
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/build-presets.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ concurrency:

jobs:
apple:
uses: pytorch/test-infra/.github/workflows/macos_job.yml@main
uses: pytorch/test-infra/.github/workflows/macos_job.yml@release/2.9
strategy:
fail-fast: false
matrix:
Expand All @@ -33,7 +33,7 @@ jobs:
${CONDA_RUN} cmake --build cmake-out -j$(( $(sysctl -n hw.ncpu) - 1 ))

zephyr:
uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@main
uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@release/2.9
strategy:
fail-fast: false
matrix:
Expand Down Expand Up @@ -72,7 +72,7 @@ jobs:
cmake --preset ${{ matrix.preset }}
cmake --build cmake-out -j$(( $(nproc) - 1 ))
linux:
uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@main
uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@release/2.9
strategy:
fail-fast: false
matrix:
Expand Down Expand Up @@ -105,7 +105,7 @@ jobs:
cmake --build cmake-out -j$(( $(nproc) - 1 ))

windows:
uses: pytorch/test-infra/.github/workflows/windows_job.yml@main
uses: pytorch/test-infra/.github/workflows/windows_job.yml@release/2.9
strategy:
fail-fast: false
matrix:
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/build-wheels-aarch64-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,12 @@ on:

jobs:
generate-matrix:
uses: pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@main
uses: pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@release/2.9
with:
package-type: wheel
os: linux-aarch64
test-infra-repository: pytorch/test-infra
test-infra-ref: main
test-infra-ref: release/2.9
with-cuda: disabled
with-rocm: disabled
python-versions: '["3.10", "3.11", "3.12"]'
Expand All @@ -49,12 +49,12 @@ jobs:
smoke-test-script: .ci/scripts/wheel/test_linux_aarch64.py
package-name: executorch
name: ${{ matrix.repository }}
uses: pytorch/test-infra/.github/workflows/build_wheels_linux.yml@main
uses: pytorch/test-infra/.github/workflows/build_wheels_linux.yml@release/2.9
with:
repository: ${{ matrix.repository }}
ref: ""
test-infra-repository: pytorch/test-infra
test-infra-ref: main
test-infra-ref: release/2.9
build-matrix: ${{ needs.generate-matrix.outputs.matrix }}
submodules: recursive
env-var-script: .ci/scripts/wheel/envvar_linux.sh
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/build-wheels-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,12 @@ on:

jobs:
generate-matrix:
uses: pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@main
uses: pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@release/2.9
with:
package-type: wheel
os: linux
test-infra-repository: pytorch/test-infra
test-infra-ref: main
test-infra-ref: release/2.9
with-cuda: disabled
with-rocm: disabled
python-versions: '["3.10", "3.11", "3.12"]'
Expand All @@ -49,12 +49,12 @@ jobs:
smoke-test-script: .ci/scripts/wheel/test_linux.py
package-name: executorch
name: ${{ matrix.repository }}
uses: pytorch/test-infra/.github/workflows/build_wheels_linux.yml@main
uses: pytorch/test-infra/.github/workflows/build_wheels_linux.yml@release/2.9
with:
repository: ${{ matrix.repository }}
ref: ""
test-infra-repository: pytorch/test-infra
test-infra-ref: main
test-infra-ref: release/2.9
build-matrix: ${{ needs.generate-matrix.outputs.matrix }}
submodules: recursive
env-var-script: .ci/scripts/wheel/envvar_linux.sh
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/build-wheels-macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,12 @@ on:

jobs:
generate-matrix:
uses: pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@main
uses: pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@release/2.9
with:
package-type: wheel
os: macos-arm64
test-infra-repository: pytorch/test-infra
test-infra-ref: main
test-infra-ref: release/2.9
with-cuda: disabled
with-rocm: disabled
python-versions: '["3.10", "3.11", "3.12"]'
Expand All @@ -49,12 +49,12 @@ jobs:
smoke-test-script: .ci/scripts/wheel/test_macos.py
package-name: executorch
name: ${{ matrix.repository }}
uses: pytorch/test-infra/.github/workflows/build_wheels_macos.yml@main
uses: pytorch/test-infra/.github/workflows/build_wheels_macos.yml@release/2.9
with:
repository: ${{ matrix.repository }}
ref: ""
test-infra-repository: pytorch/test-infra
test-infra-ref: main
test-infra-ref: release/2.9
build-matrix: ${{ needs.generate-matrix.outputs.matrix }}
submodules: recursive
delocate-wheel: false
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/build-wheels-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,12 @@ permissions:

jobs:
generate-matrix:
uses: pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@main
uses: pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@release/2.9
with:
package-type: wheel
os: windows
test-infra-repository: pytorch/test-infra
test-infra-ref: main
test-infra-ref: release/2.9
with-cuda: disabled
with-rocm: disabled
python-versions: '["3.10", "3.11", "3.12"]'
Expand All @@ -42,12 +42,12 @@ jobs:
smoke-test-script: .ci/scripts/wheel/test_windows.py
package-name: executorch
name: ${{ matrix.repository }}
uses: pytorch/test-infra/.github/workflows/build_wheels_windows.yml@main
uses: pytorch/test-infra/.github/workflows/build_wheels_windows.yml@release/2.9
with:
repository: ${{ matrix.repository }}
ref: ""
test-infra-repository: pytorch/test-infra
test-infra-ref: main
test-infra-ref: release/2.9
build-matrix: ${{ needs.generate-matrix.outputs.matrix }}
pre-script: ${{ matrix.pre-script }}
env-script: ${{ matrix.env-script }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/doc-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ on:

jobs:
build:
uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@main
uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@release/2.9
permissions:
id-token: write
contents: read
Expand Down Expand Up @@ -93,7 +93,7 @@ jobs:
permissions:
id-token: write
contents: write
uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@main
uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@release/2.9
with:
repository: pytorch/executorch
download-artifact: docs
Expand Down
Loading
Loading