Skip to content

Commit 7cfc672

Browse files
HuanyuZhangfacebook-github-bot
authored andcommitted
Fix github action CI for GPU (#625)
Summary: Pull Request resolved: #625 Differential Revision: D53292685
1 parent 4453702 commit 7cfc672

File tree

1 file changed

+12
-11
lines changed

1 file changed

+12
-11
lines changed

Diff for: .github/workflows/ci_gpu.yml

+12-11
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ on:
88
branches:
99
- main
1010

11+
jobs:
1112
unittest_multi_gpu:
1213
runs-on: linux.4xlarge.nvidia.gpu
1314
steps:
@@ -16,8 +17,8 @@ on:
1617

1718
- name: Set up Python
1819
uses: actions/setup-python@v2
19-
with:
20-
python-version: 3.9
20+
# with:
21+
# python-version: '3.9'
2122

2223
- name: Install dependencies
2324
run: |
@@ -31,21 +32,21 @@ on:
3132
3233
3334
integrationtest_py39_torch_release_cuda:
34-
runs-on: ubuntu-latest
35-
container:
36-
# https://hub.docker.com/r/nvidia/cuda
37-
image: nvidia/cuda:12.3.1-base-ubuntu22.04
38-
options: --gpus all
39-
env:
40-
TZ: 'UTC'
35+
runs-on: linux.4xlarge.nvidia.gpu
36+
# container:
37+
# # https://hub.docker.com/r/nvidia/cuda
38+
# image: nvidia/cuda:12.3.1-base-ubuntu22.04
39+
# options: --gpus all
40+
# env:
41+
# TZ: 'UTC'
4142
steps:
4243
- name: Checkout
4344
uses: actions/checkout@v2
4445

4546
- name: Set up Python
4647
uses: actions/setup-python@v2
47-
with:
48-
python-version: 3.9
48+
# with:
49+
# python-version: 3.9
4950

5051
- name: Install dependencies
5152
run: |

0 commit comments

Comments
 (0)