inductor-nightly #217
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: inductor-nightly | |
| on: | |
| pull_request: | |
| paths: | |
| - .github/workflows/inductor-nightly.yml | |
| - benchmarks/dynamo/ci_expected_accuracy/dynamic_cpu_max_autotune_inductor_amp_freezing_huggingface_inference.csv | |
| - benchmarks/dynamo/ci_expected_accuracy/dynamic_cpu_max_autotune_inductor_amp_freezing_timm_inference.csv | |
| - benchmarks/dynamo/ci_expected_accuracy/dynamic_cpu_max_autotune_inductor_amp_freezing_torchbench_inference.csv | |
| workflow_dispatch: | |
| schedule: | |
| # Run every day at 7:00 AM UTC | |
| - cron: 0 7 * * * | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}-${{ github.event_name == 'workflow_dispatch' }} | |
| cancel-in-progress: true | |
| permissions: | |
| id-token: write | |
| contents: read | |
| jobs: | |
| get-default-label-prefix: | |
| name: get-default-label-prefix | |
| uses: pytorch/pytorch/.github/workflows/_runner-determinator.yml@main | |
| if: ${{ (github.event_name != 'schedule' || github.repository == 'pytorch/pytorch') && github.repository_owner == 'pytorch' }} | |
| with: | |
| triggering_actor: ${{ github.triggering_actor }} | |
| issue_owner: ${{ github.event.pull_request.user.login || github.event.issue.user.login }} | |
| curr_branch: ${{ github.head_ref || github.ref_name }} | |
| curr_ref_type: ${{ github.ref_type }} | |
| opt_out_experiments: lf | |
| linux-jammy-cpu-py3_9-gcc11-nightly-dynamo-benchmarks-build: | |
| name: linux-jammy-cpu-py3.9-gcc11-nightly-dynamo-benchmarks | |
| uses: ./.github/workflows/_linux-build.yml | |
| needs: get-default-label-prefix | |
| with: | |
| build-environment: linux-jammy-py3.9-gcc11-build | |
| docker-image-name: ci-image:pytorch-linux-jammy-py3.9-gcc11-inductor-benchmarks | |
| runner_prefix: "${{ needs.get-default-label-prefix.outputs.label-type }}" | |
| test-matrix: | | |
| { include: [ | |
| { config: "dynamic_cpu_max_autotune_inductor_amp_freezing_huggingface", shard: 1, num_shards: 1, runner: "linux.8xlarge.amx" }, | |
| { config: "dynamic_cpu_max_autotune_inductor_amp_freezing_timm", shard: 1, num_shards: 2, runner: "linux.8xlarge.amx" }, | |
| { config: "dynamic_cpu_max_autotune_inductor_amp_freezing_timm", shard: 2, num_shards: 2, runner: "linux.8xlarge.amx" }, | |
| { config: "dynamic_cpu_max_autotune_inductor_amp_freezing_torchbench", shard: 1, num_shards: 2, runner: "linux.8xlarge.amx" }, | |
| { config: "dynamic_cpu_max_autotune_inductor_amp_freezing_torchbench", shard: 2, num_shards: 2, runner: "linux.8xlarge.amx" }, | |
| ]} | |
| build-additional-packages: "vision audio torchao" | |
| secrets: inherit | |
| linux-jammy-cpu-py3_9-gcc11-nightly-dynamo-benchmarks-test: | |
| name: linux-jammy-cpu-py3.9-gcc11-nightly-dynamo-benchmarks | |
| uses: ./.github/workflows/_linux-test.yml | |
| needs: linux-jammy-cpu-py3_9-gcc11-nightly-dynamo-benchmarks-build | |
| with: | |
| build-environment: linux-jammy-py3.9-gcc11-build | |
| docker-image: ${{ needs.linux-jammy-cpu-py3_9-gcc11-nightly-dynamo-benchmarks-build.outputs.docker-image }} | |
| test-matrix: ${{ needs.linux-jammy-cpu-py3_9-gcc11-nightly-dynamo-benchmarks-build.outputs.test-matrix }} | |
| timeout-minutes: 720 | |
| secrets: inherit |