Skip to content

Commit 52da704

Browse files
TroyGardenfacebook-github-bot
authored andcommitted
enable unit test gpu (#2228)
Summary: Pull Request resolved: #2228 # context Differential Revision: D51095381
1 parent 3b39ad3 commit 52da704

File tree

1 file changed

+19
-19
lines changed

1 file changed

+19
-19
lines changed

.github/workflows/unittest_ci.yml

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -5,18 +5,18 @@ name: Unit Test CI
55

66
on:
77
# TODO: re-enable when GPU unit tests are working
8-
# push:
9-
# paths-ignore:
10-
# - "docs/*"
11-
# - "third_party/*"
12-
# - .gitignore
13-
# - "*.md"
14-
# pull_request:
15-
# paths-ignore:
16-
# - "docs/*"
17-
# - "third_party/*"
18-
# - .gitignore
19-
# - "*.md"
8+
push:
9+
paths-ignore:
10+
- "docs/*"
11+
- "third_party/*"
12+
- .gitignore
13+
- "*.md"
14+
pull_request:
15+
paths-ignore:
16+
- "docs/*"
17+
- "third_party/*"
18+
- .gitignore
19+
- "*.md"
2020
workflow_dispatch:
2121

2222
jobs:
@@ -28,20 +28,20 @@ jobs:
2828
include:
2929
- os: linux.2xlarge
3030
# ideally we run on 3.9 and 3.10 as well, however we are limited in resources.
31-
python-version: 3.8
32-
python-tag: "py38"
33-
cuda-tag: "cu11"
31+
python-version: 3.10
32+
python-tag: "py39"
33+
cuda-tag: "cu12"
3434
steps:
3535
# Checkout the repository to the GitHub Actions runner
3636
- name: Check ldd --version
3737
run: ldd --version
3838
- name: Checkout
39-
uses: actions/checkout@v2
39+
uses: actions/checkout@v3
4040
- name: Update pip
4141
run: |
4242
sudo yum update -y
4343
sudo yum -y install git python3-pip
44-
sudo pip3 install --upgrade pip
44+
# sudo pip3 install --upgrade pip
4545
- name: Setup conda
4646
run: |
4747
wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh -O ~/miniconda.sh
@@ -98,8 +98,8 @@ jobs:
9898
strategy:
9999
matrix:
100100
os: [linux.4xlarge.nvidia.gpu]
101-
python-version: [3.8]
102-
cuda-tag: ["cu11"]
101+
python-version: [3.10]
102+
cuda-tag: ["cu12"]
103103
needs: build_on_cpu
104104
# the glibc version should match the version of the one we used to build the binary
105105
# for this case, it's 2.26

0 commit comments

Comments
 (0)