Skip to content

Commit

Permalink
[CI] Move sm86 tests from periodic to trunk (pytorch#87228)
Browse files Browse the repository at this point in the history
This adds Ampere GPU testing to trunk CI

Pull Request resolved: pytorch#87228
Approved by: https://github.com/jansel, https://github.com/huydhn
  • Loading branch information
malfet authored and pytorchmergebot committed Oct 18, 2022
1 parent 1dbc8ad commit ef1844a
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 25 deletions.
25 changes: 0 additions & 25 deletions .github/workflows/periodic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -148,31 +148,6 @@ jobs:
docker-image: ${{ needs.linux-bionic-cuda11_7-py3_7-gcc7-debug-build.outputs.docker-image }}
test-matrix: ${{ needs.linux-bionic-cuda11_7-py3_7-gcc7-debug-build.outputs.test-matrix }}

linux-bionic-cuda11_6-py3_10-gcc7-sm86-build:
name: cuda11.6-py3.10-gcc7-sm86
uses: ./.github/workflows/_linux-build.yml
with:
build-environment: linux-bionic-cuda11.6-py3.10-gcc7-sm86
docker-image-name: pytorch-linux-bionic-cuda11.6-cudnn8-py3-gcc7
cuda-arch-list: 8.6
test-matrix: |
{ include: [
{ config: "default", shard: 1, num_shards: 4, runner: "linux.g5.4xlarge.nvidia.gpu" },
{ config: "default", shard: 2, num_shards: 4, runner: "linux.g5.4xlarge.nvidia.gpu" },
{ config: "default", shard: 3, num_shards: 4, runner: "linux.g5.4xlarge.nvidia.gpu" },
{ config: "default", shard: 4, num_shards: 4, runner: "linux.g5.4xlarge.nvidia.gpu" },
{ config: "functorch", shard: 1, num_shards: 1, runner: "linux.g5.4xlarge.nvidia.gpu" },
]}
linux-bionic-cuda11_6-py3_10-gcc7-sm86-test:
name: cuda11.6-py3.10-gcc7-sm86
uses: ./.github/workflows/_linux-test.yml
needs: linux-bionic-cuda11_6-py3_10-gcc7-sm86-build
with:
build-environment: linux-bionic-cuda11.6-py3.10-gcc7-sm86
docker-image: ${{ needs.linux-bionic-cuda11_6-py3_10-gcc7-sm86-build.outputs.docker-image }}
test-matrix: ${{ needs.linux-bionic-cuda11_6-py3_10-gcc7-sm86-build.outputs.test-matrix }}

libtorch-linux-bionic-cuda11_7-py3_7-gcc7-build:
name: libtorch-linux-bionic-cuda11.7-py3.7-gcc7
uses: ./.github/workflows/_linux-build.yml
Expand Down
25 changes: 25 additions & 0 deletions .github/workflows/trunk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,31 @@ jobs:
docker-image: ${{ needs.linux-bionic-cuda11_7-py3_10-gcc7-build.outputs.docker-image }}
test-matrix: ${{ needs.linux-bionic-cuda11_7-py3_10-gcc7-build.outputs.test-matrix }}

linux-bionic-cuda11_6-py3_10-gcc7-sm86-build:
name: cuda11.6-py3.10-gcc7-sm86
uses: ./.github/workflows/_linux-build.yml
with:
build-environment: linux-bionic-cuda11.6-py3.10-gcc7-sm86
docker-image-name: pytorch-linux-bionic-cuda11.6-cudnn8-py3-gcc7
cuda-arch-list: 8.6
test-matrix: |
{ include: [
{ config: "default", shard: 1, num_shards: 4, runner: "linux.g5.4xlarge.nvidia.gpu" },
{ config: "default", shard: 2, num_shards: 4, runner: "linux.g5.4xlarge.nvidia.gpu" },
{ config: "default", shard: 3, num_shards: 4, runner: "linux.g5.4xlarge.nvidia.gpu" },
{ config: "default", shard: 4, num_shards: 4, runner: "linux.g5.4xlarge.nvidia.gpu" },
{ config: "functorch", shard: 1, num_shards: 1, runner: "linux.g5.4xlarge.nvidia.gpu" },
]}
linux-bionic-cuda11_6-py3_10-gcc7-sm86-test:
name: cuda11.6-py3.10-gcc7-sm86
uses: ./.github/workflows/_linux-test.yml
needs: linux-bionic-cuda11_6-py3_10-gcc7-sm86-build
with:
build-environment: linux-bionic-cuda11.6-py3.10-gcc7-sm86
docker-image: ${{ needs.linux-bionic-cuda11_6-py3_10-gcc7-sm86-build.outputs.docker-image }}
test-matrix: ${{ needs.linux-bionic-cuda11_6-py3_10-gcc7-sm86-build.outputs.test-matrix }}

libtorch-linux-bionic-cuda11_6-py3_7-gcc7-build:
name: libtorch-linux-bionic-cuda11.6-py3.7-gcc7
uses: ./.github/workflows/_linux-build.yml
Expand Down

0 comments on commit ef1844a

Please sign in to comment.