File tree 1 file changed +17
-17
lines changed
1 file changed +17
-17
lines changed Original file line number Diff line number Diff line change @@ -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 :
@@ -36,12 +36,12 @@ jobs:
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
97
97
runs-on : ${{ matrix.os }}
98
98
strategy :
99
99
matrix :
100
- os : [linux.4xlarge .nvidia.gpu]
100
+ os : [linux.8xlarge .nvidia.gpu]
101
101
python-version : [3.8]
102
102
cuda-tag : ["cu11"]
103
103
needs : build_on_cpu
@@ -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 : |
You can’t perform that action at this time.
0 commit comments