-
Notifications
You must be signed in to change notification settings - Fork 21.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[CI] Collect inductor max-autotune performance every Sunday
ghstack-source-id: f069e99ecc14ec4826dd34cc8d695c9bee9ada13 Pull Request resolved: #99387
- Loading branch information
1 parent
7ff1f3f
commit 9db2319
Showing
4 changed files
with
69 additions
and
17 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
name: inductor-A100-perf-nightly | ||
|
||
on: | ||
schedule: | ||
- cron: 0 0 * * 0 | ||
workflow_dispatch: | ||
|
||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref_name }}-${{ github.ref_type == 'branch' && github.sha }}-${{ github.event_name == 'workflow_dispatch' }}-${{ github.event_name == 'schedule' }} | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
linux-bionic-cuda11_8-py3_10-gcc7-inductor-build: | ||
name: cuda11.8-py3.10-gcc7-sm80 | ||
uses: ./.github/workflows/_linux-build.yml | ||
with: | ||
build-environment: linux-bionic-cuda11.8-py3.10-gcc7-sm80 | ||
docker-image-name: pytorch-linux-bionic-cuda11.8-cudnn8-py3-gcc7 | ||
cuda-arch-list: '8.0' | ||
test-matrix: | | ||
{ include: [ | ||
{ config: "inductor_huggingface_perf_max_autotune", shard: 1, num_shards: 3, runner: "linux.gcp.a100.large" }, | ||
{ config: "inductor_huggingface_perf_max_autotune", shard: 2, num_shards: 3, runner: "linux.gcp.a100.large" }, | ||
{ config: "inductor_huggingface_perf_max_autotune", shard: 3, num_shards: 3, runner: "linux.gcp.a100.large" }, | ||
{ config: "inductor_timm_perf_max_autotune", shard: 1, num_shards: 6, runner: "linux.gcp.a100.large" }, | ||
{ config: "inductor_timm_perf_max_autotune", shard: 2, num_shards: 6, runner: "linux.gcp.a100.large" }, | ||
{ config: "inductor_timm_perf_max_autotune", shard: 3, num_shards: 6, runner: "linux.gcp.a100.large" }, | ||
{ config: "inductor_timm_perf_max_autotune", shard: 4, num_shards: 6, runner: "linux.gcp.a100.large" }, | ||
{ config: "inductor_timm_perf_max_autotune", shard: 5, num_shards: 6, runner: "linux.gcp.a100.large" }, | ||
{ config: "inductor_timm_perf_max_autotune", shard: 6, num_shards: 6, runner: "linux.gcp.a100.large" }, | ||
{ config: "inductor_torchbench_perf_max_autotune", shard: 1, num_shards: 3, runner: "linux.gcp.a100.large" }, | ||
{ config: "inductor_torchbench_perf_max_autotune", shard: 2, num_shards: 3, runner: "linux.gcp.a100.large" }, | ||
{ config: "inductor_torchbench_perf_max_autotune", shard: 3, num_shards: 3, runner: "linux.gcp.a100.large" }, | ||
]} | ||
linux-bionic-cuda11_8-py3_10-gcc7-inductor-test: | ||
name: cuda11.8-py3.10-gcc7-sm80 | ||
uses: ./.github/workflows/_linux-test.yml | ||
needs: linux-bionic-cuda11_8-py3_10-gcc7-inductor-build | ||
with: | ||
build-environment: linux-bionic-cuda11.8-py3.10-gcc7-sm80 | ||
docker-image: ${{ needs.linux-bionic-cuda11_8-py3_10-gcc7-inductor-build.outputs.docker-image }} | ||
test-matrix: ${{ needs.linux-bionic-cuda11_8-py3_10-gcc7-inductor-build.outputs.test-matrix }} | ||
use-gha: anything-non-empty-to-use-gha | ||
timeout-minutes: 720 |
This file contains 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
This file contains 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