@@ -5,18 +5,18 @@ name: Unit Test CI
5
5
6
6
on :
7
7
# 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"
20
20
workflow_dispatch :
21
21
22
22
jobs :
@@ -29,19 +29,19 @@ jobs:
29
29
- os : linux.2xlarge
30
30
# ideally we run on 3.9 and 3.10 as well, however we are limited in resources.
31
31
python-version : 3.8
32
- python-tag : " py38 "
33
- cuda-tag : " cu11 "
32
+ python-tag : " py39 "
33
+ cuda-tag : " cu12 "
34
34
steps :
35
35
# Checkout the repository to the GitHub Actions runner
36
36
- name : Check ldd --version
37
37
run : ldd --version
38
38
- name : Checkout
39
- uses : actions/checkout@v2
39
+ uses : actions/checkout@v3
40
40
- name : Update pip
41
41
run : |
42
42
sudo yum update -y
43
43
sudo yum -y install git python3-pip
44
- sudo pip3 install --upgrade pip
44
+ # sudo pip3 install --upgrade pip
45
45
- name : Setup conda
46
46
run : |
47
47
wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh -O ~/miniconda.sh
99
99
matrix :
100
100
os : [linux.4xlarge.nvidia.gpu]
101
101
python-version : [3.8]
102
- cuda-tag : ["cu11 "]
102
+ cuda-tag : ["cu12 "]
103
103
needs : build_on_cpu
104
104
# the glibc version should match the version of the one we used to build the binary
105
105
# for this case, it's 2.26
@@ -135,7 +135,7 @@ jobs:
135
135
sudo lshw -C display
136
136
# Checkout the repository to the GitHub Actions runner
137
137
- name : Checkout
138
- uses : actions/checkout@v2
138
+ uses : actions/checkout@v3
139
139
- name : Update pip
140
140
run : |
141
141
sudo yum update -y
@@ -181,7 +181,7 @@ jobs:
181
181
- name : Install TorchRec GPU
182
182
run : |
183
183
rm -r dist || true
184
- conda run -n build_binary python -m pip install dist/ *.whl
184
+ conda run -n build_binary python -m pip install *.whl
185
185
- name : Test torchrec installation
186
186
shell : bash
187
187
run : |
0 commit comments