@@ -40,25 +40,23 @@ jobs:
40
40
secrets :
41
41
gcloud-service-key : ${{ secrets.GCLOUD_SERVICE_KEY }}
42
42
43
- # Disable due to https://github.com/pytorch/xla/issues/8199
44
- # build-torch-with-cuda:
45
- # name: "Build PyTorch with CUDA"
46
- # uses: ./.github/workflows/_build_torch_with_cuda.yml
47
- # needs: get-torch-commit
48
- # with:
49
- # # note that to build a torch wheel with CUDA enabled, we do not need a GPU runner.
50
- # dev-image: us-central1-docker.pkg.dev/tpu-pytorch-releases/docker/development:3.10_cuda_12.1
51
- # torch-commit: ${{needs.get-torch-commit.outputs.torch_commit}}
52
- # runner: linux.24xlarge
43
+ build-torch-with-cuda :
44
+ name : " Build PyTorch with CUDA"
45
+ uses : ./.github/workflows/_build_torch_with_cuda.yml
46
+ needs : get-torch-commit
47
+ with :
48
+ # note that to build a torch wheel with CUDA enabled, we do not need a GPU runner.
49
+ dev-image : us-central1-docker.pkg.dev/tpu-pytorch-releases/docker/development:3.10_cuda_12.3
50
+ torch-commit : ${{needs.get-torch-commit.outputs.torch_commit}}
51
+ runner : linux.24xlarge
53
52
54
- # Disable due to https://github.com/pytorch/xla/issues/8199
55
- # build-cuda-plugin:
56
- # name: "Build XLA CUDA plugin"
57
- # uses: ./.github/workflows/_build_plugin.yml
58
- # with:
59
- # dev-image: us-central1-docker.pkg.dev/tpu-pytorch-releases/docker/development:3.10_cuda_12.1
60
- # secrets:
61
- # gcloud-service-key: ${{ secrets.GCLOUD_SERVICE_KEY }}
53
+ build-cuda-plugin :
54
+ name : " Build XLA CUDA plugin"
55
+ uses : ./.github/workflows/_build_plugin.yml
56
+ with :
57
+ dev-image : us-central1-docker.pkg.dev/tpu-pytorch-releases/docker/development:3.10_cuda_12.3
58
+ secrets :
59
+ gcloud-service-key : ${{ secrets.GCLOUD_SERVICE_KEY }}
62
60
63
61
test-python-cpu :
64
62
name : " CPU tests"
@@ -72,32 +70,30 @@ jobs:
72
70
secrets :
73
71
gcloud-service-key : ${{ secrets.GCLOUD_SERVICE_KEY }}
74
72
75
- # Disable due to https://github.com/pytorch/xla/issues/8199
76
- # test-cuda:
77
- # name: "GPU tests"
78
- # uses: ./.github/workflows/_test.yml
79
- # needs: [build-torch-xla, build-cuda-plugin, get-torch-commit]
80
- # with:
81
- # dev-image: us-central1-docker.pkg.dev/tpu-pytorch-releases/docker/development:3.10_cuda_12.1
82
- # runner: linux.8xlarge.nvidia.gpu
83
- # timeout-minutes: 300
84
- # collect-coverage: false
85
- # install-cuda-plugin: true
86
- # torch-commit: ${{needs.get-torch-commit.outputs.torch_commit}}
87
- # secrets:
88
- # gcloud-service-key: ${{ secrets.GCLOUD_SERVICE_KEY }}
73
+ test-cuda :
74
+ name : " GPU tests"
75
+ uses : ./.github/workflows/_test.yml
76
+ needs : [build-torch-xla, build-cuda-plugin, get-torch-commit]
77
+ with :
78
+ dev-image : us-central1-docker.pkg.dev/tpu-pytorch-releases/docker/development:3.10_cuda_12.3
79
+ runner : linux.8xlarge.nvidia.gpu
80
+ timeout-minutes : 300
81
+ collect-coverage : false
82
+ install-cuda-plugin : true
83
+ torch-commit : ${{needs.get-torch-commit.outputs.torch_commit}}
84
+ secrets :
85
+ gcloud-service-key : ${{ secrets.GCLOUD_SERVICE_KEY }}
89
86
90
- # Disable due to https://github.com/pytorch/xla/issues/8199
91
- # test-cuda-with-pytorch-cuda-enabled:
92
- # name: "GPU tests requiring torch CUDA"
93
- # uses: ./.github/workflows/_test_requiring_torch_cuda.yml
94
- # needs: [build-torch-with-cuda, build-torch-xla, build-cuda-plugin, get-torch-commit]
95
- # with:
96
- # dev-image: us-central1-docker.pkg.dev/tpu-pytorch-releases/docker/development:3.10_cuda_12.1
97
- # runner: linux.8xlarge.nvidia.gpu
98
- # timeout-minutes: 300
99
- # collect-coverage: false
100
- # torch-commit: ${{needs.get-torch-commit.outputs.torch_commit}}
87
+ test-cuda-with-pytorch-cuda-enabled :
88
+ name : " GPU tests requiring torch CUDA"
89
+ uses : ./.github/workflows/_test_requiring_torch_cuda.yml
90
+ needs : [build-torch-with-cuda, build-torch-xla, build-cuda-plugin, get-torch-commit]
91
+ with :
92
+ dev-image : us-central1-docker.pkg.dev/tpu-pytorch-releases/docker/development:3.10_cuda_12.3
93
+ runner : linux.8xlarge.nvidia.gpu
94
+ timeout-minutes : 300
95
+ collect-coverage : false
96
+ torch-commit : ${{needs.get-torch-commit.outputs.torch_commit}}
101
97
102
98
test-tpu :
103
99
name : " TPU tests"
0 commit comments