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
2 changes: 0 additions & 2 deletions .github/workflows/cuda-perf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,6 @@ jobs:
runner: ${{ contains(matrix.model, 'Qwen3.5-35B-A3B') && 'mt-l-x86iavx512-11-125-a100' || 'mt-l-x86aavx2-29-113-a10g' }}
gpu-arch-type: cuda
gpu-arch-version: "13.0"
use-custom-docker-registry: false
submodules: recursive
upload-artifact: model-${{ matrix.model_safe }}-${{ matrix.quant }}
ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }}
Expand Down Expand Up @@ -218,7 +217,6 @@ jobs:
runner: ${{ contains(matrix.model, 'Qwen3.5-35B-A3B') && 'mt-l-x86iavx512-11-125-a100' || 'mt-l-x86aavx2-29-113-a10g' }}
gpu-arch-type: cuda
gpu-arch-version: "13.0"
use-custom-docker-registry: false
submodules: recursive
download-artifact: model-${{ matrix.model_safe }}-${{ matrix.quant }}
upload-artifact: results-${{ matrix.model_safe }}-${{ matrix.quant }}
Expand Down
12 changes: 8 additions & 4 deletions .github/workflows/cuda-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@ permissions:
contents: read

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

changed-files:
name: Get changed files
uses: ./.github/workflows/_get-changed-files.yml
Expand All @@ -44,7 +48,7 @@ jobs:
# filter so push commits that don't touch CUDA-relevant paths skip
# this job on non-sampled commits. See _ci-run-decision.yml for
# the sampling policy.
needs: [changed-files, run-decision]
needs: [docker-image, changed-files, run-decision]
if: |
(github.event.pull_request.head.repo.full_name == github.repository || github.event_name != 'pull_request') &&
(
Expand All @@ -54,7 +58,7 @@ jobs:
contains(needs.changed-files.outputs.changed-files, '.github/workflows/cuda-windows.yml') ||
needs.run-decision.outputs.is-full-run == 'true'
)
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 Down Expand Up @@ -89,10 +93,10 @@ jobs:
with:
timeout: 90
secrets-env: EXECUTORCH_HF_TOKEN
runner: linux.g5.4xlarge.nvidia.gpu
runner: mt-l-x86aavx2-29-113-a10g
gpu-arch-type: cuda
gpu-arch-version: "13.0"
docker-image: ci-image:executorch-ubuntu-22.04-cuda-windows
docker-image: 308535385114.dkr.ecr.us-east-1.amazonaws.com/executorch/ci-image:executorch-ubuntu-22.04-cuda-windows-${{ needs.docker-image.outputs.ci-docker-hash }}
submodules: recursive
upload-artifact: ${{ matrix.model_repo }}-${{ matrix.model_name }}-cuda-windows-${{ matrix.quant }}
ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }}
Expand Down
29 changes: 10 additions & 19 deletions .github/workflows/cuda.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,16 +67,15 @@ jobs:
cuda-version: ["12.6", "13.0"]

name: test-executorch-cuda-build-${{ matrix.cuda-version }}
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
with:
timeout: 90
runner: linux.g5.4xlarge.nvidia.gpu
runner: mt-l-x86aavx2-29-113-a10g
gpu-arch-type: cuda
gpu-arch-version: ${{ matrix.cuda-version }}
use-custom-docker-registry: false
submodules: recursive
ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }}
script: |
Expand Down Expand Up @@ -126,16 +125,15 @@ jobs:
contains(needs.changed-files.outputs.changed-files, '.ci/scripts/export_model_artifact.sh') ||
contains(needs.changed-files.outputs.changed-files, '.ci/scripts/test_model_e2e.sh') ||
needs.run-decision.outputs.is-full-run == 'true'
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
with:
timeout: 90
runner: linux.g5.4xlarge.nvidia.gpu
runner: mt-l-x86aavx2-29-113-a10g
gpu-arch-type: cuda
gpu-arch-version: "13.0"
use-custom-docker-registry: false
submodules: recursive
ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }}
script: |
Expand Down Expand Up @@ -176,7 +174,6 @@ jobs:
runner: mt-l-x86iavx512-11-125-a100
gpu-arch-type: cuda
gpu-arch-version: "13.0"
use-custom-docker-registry: false
submodules: recursive
upload-artifact: cuda-target-smem-cross-arch
ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }}
Expand Down Expand Up @@ -220,7 +217,6 @@ jobs:
runner: mt-l-x86aavx2-29-113-a10g
gpu-arch-type: cuda
gpu-arch-version: "13.0"
use-custom-docker-registry: false
submodules: recursive
download-artifact: cuda-target-smem-cross-arch
ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }}
Expand Down Expand Up @@ -272,16 +268,15 @@ jobs:
contains(needs.changed-files.outputs.changed-files, 'extension/pybindings') ||
contains(needs.changed-files.outputs.changed-files, 'runtime/__init__.py') ||
needs.run-decision.outputs.is-full-run == 'true'
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
with:
timeout: 90
runner: linux.g5.4xlarge.nvidia.gpu
runner: mt-l-x86aavx2-29-113-a10g
gpu-arch-type: cuda
gpu-arch-version: "13.0"
use-custom-docker-registry: false
submodules: recursive
ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }}
script: |
Expand Down Expand Up @@ -352,16 +347,15 @@ jobs:
contains(needs.changed-files.outputs.changed-files, '.ci/scripts/export_model_artifact.sh') ||
contains(needs.changed-files.outputs.changed-files, '.ci/scripts/test_model_e2e.sh') ||
needs.run-decision.outputs.is-full-run == 'true'
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
with:
timeout: 90
runner: linux.g5.4xlarge.nvidia.gpu
runner: mt-l-x86aavx2-29-113-a10g
gpu-arch-type: cuda
gpu-arch-version: "13.0"
use-custom-docker-registry: false
submodules: recursive
ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }}
script: |
Expand Down Expand Up @@ -510,7 +504,6 @@ jobs:
runner: ${{ (matrix.model.name == 'Qwen3.5-35B-A3B-HQQ-INT4' || matrix.model.name == 'gemma-4-31B-it-GGUF') && 'mt-l-x86iavx512-11-125-a100' || 'mt-l-x86aavx2-29-113-a10g' }}
gpu-arch-type: cuda
gpu-arch-version: "13.0"
use-custom-docker-registry: false
submodules: recursive
upload-artifact: ${{ matrix.model.repo }}-${{ matrix.model.name }}-cuda-${{ matrix.quant }}
ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }}
Expand Down Expand Up @@ -585,7 +578,6 @@ jobs:
runner: mt-l-x86iavx512-11-125-a100
gpu-arch-type: cuda
gpu-arch-version: "13.0"
use-custom-docker-registry: false
submodules: recursive
ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }}
script: |
Expand Down Expand Up @@ -639,7 +631,7 @@ jobs:
contains(needs.changed-files.outputs.changed-files, '.ci/scripts/test_model_e2e.sh') ||
needs.run-decision.outputs.is-full-run == 'true'
)
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 @@ -661,10 +653,9 @@ jobs:
timeout: 120
secrets-env: EXECUTORCH_HF_TOKEN
download-artifact: ${{ matrix.artifact }}
runner: linux.g5.4xlarge.nvidia.gpu
runner: mt-l-x86aavx2-29-113-a10g
gpu-arch-type: cuda
gpu-arch-version: "13.0"
use-custom-docker-registry: false
submodules: recursive
ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }}
script: |
Expand Down
5 changes: 2 additions & 3 deletions .github/workflows/vulkan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,16 +50,15 @@ jobs:
contains(needs.changed-files.outputs.changed-files, '.ci/scripts/setup-vulkan-linux-deps.sh') ||
contains(needs.changed-files.outputs.changed-files, '.github/workflows/vulkan.yml') ||
needs.run-decision.outputs.is-full-run == 'true'
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
with:
timeout: 120
runner: linux.g5.4xlarge.nvidia.gpu
runner: mt-l-x86aavx2-29-113-a10g
gpu-arch-type: cuda
gpu-arch-version: "12.6"
use-custom-docker-registry: false
submodules: recursive
ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }}
script: |
Expand Down
Loading