Skip to content
Draft
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
11 changes: 8 additions & 3 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ concurrency:
cancel-in-progress: true

jobs:
docker-image:
name: Resolve CI docker image
uses: ./.github/workflows/_docker-image.yml

update-pytorch-commit-hash:
runs-on: ubuntu-latest
environment: ${{ (github.event_name == 'schedule') && 'update-commit-hash' || '' }}
Expand Down Expand Up @@ -50,8 +54,9 @@ jobs:
timeout: 180

test-static-hf-llm-qnn-linux:
needs: docker-image
name: test-static-hf-llm-qnn-linux
uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@main
uses: pytorch/test-infra/.github/workflows/linux_job_v3.yml@main
permissions:
id-token: write
contents: read
Expand All @@ -60,8 +65,8 @@ jobs:
task: [smollm2_135m]
fail-fast: false
with:
runner: linux.24xlarge
docker-image: ci-image:executorch-ubuntu-22.04-qnn-sdk
runner: mt-l-x86iavx512-94-192
docker-image: 308535385114.dkr.ecr.us-east-1.amazonaws.com/executorch/ci-image:executorch-ubuntu-22.04-qnn-sdk-${{ needs.docker-image.outputs.ci-docker-hash }}
submodules: 'recursive'
ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }}
timeout: 900
Expand Down
10 changes: 7 additions & 3 deletions .github/workflows/periodic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@ concurrency:
permissions: read-all

jobs:
docker-image:
name: Resolve CI docker image
uses: ./.github/workflows/_docker-image.yml

gather-models:
runs-on: ubuntu-22.04
outputs:
Expand All @@ -42,17 +46,17 @@ jobs:

test-models-linux:
name: test-models-linux
uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@main
uses: pytorch/test-infra/.github/workflows/linux_job_v3.yml@main
permissions:
id-token: write
contents: read
needs: gather-models
needs: [docker-image, gather-models]
strategy:
matrix: ${{ fromJSON(needs.gather-models.outputs.models) }}
fail-fast: false
with:
runner: ${{ matrix.runner }}
docker-image: ci-image:executorch-ubuntu-22.04-clang12
docker-image: 308535385114.dkr.ecr.us-east-1.amazonaws.com/executorch/ci-image:executorch-ubuntu-22.04-clang12-${{ needs.docker-image.outputs.ci-docker-hash }}
submodules: 'recursive'
ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }}
timeout: ${{ matrix.timeout }}
Expand Down
Loading
Loading