File tree Expand file tree Collapse file tree 3 files changed +29
-19
lines changed Expand file tree Collapse file tree 3 files changed +29
-19
lines changed Original file line number Diff line number Diff line change @@ -22,17 +22,23 @@ jobs:
22
22
23
23
steps :
24
24
# this Action should follow steps to set up Python build environment
25
+ - uses : actions/checkout@v4
26
+
27
+ - name : Set Flags
28
+ run : export USE_CUDA=0
29
+
30
+ - name : Install Protobuf
31
+ run : sudo apt install protobuf-compiler
32
+
25
33
- name : Install Python dependencies
26
34
uses : py-actions/py-dependency-install@v4
27
35
with :
28
36
path : " PyTorch_requirements.txt"
29
37
30
- - uses : actions/checkout@v4
31
-
32
38
- name : Configure CMake
33
39
# Configure CMake in a 'build' subdirectory. `CMAKE_BUILD_TYPE` is only required if you are using a single-configuration generator such as make.
34
40
# See https://cmake.org/cmake/help/latest/variable/CMAKE_BUILD_TYPE.html?highlight=cmake_build_type
35
- run : cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}}
41
+ run : cmake -DCMAKE_PREFIX_PATH=`python3 -c 'import torch;print(torch.utils.cmake_prefix_path)'` - B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}}
36
42
37
43
- name : Build
38
44
# Build your program with the given configuration
Original file line number Diff line number Diff line change 1
- attrs==23.2.0+computecanada
1
+ attrs==23.2.0
2
2
filelock==3.15.4
3
- jinja2==3.1.4+computecanada
4
- jsonschema-specifications==2023.12.1+computecanada
5
- MarkupSafe==2.1.3+computecanada
6
- mpmath==1.3.0+computecanada
7
- networkx==3.2.1+computecanada
8
- platformdirs==4.2.2+computecanada
9
- pyzmq==25.1.1+computecanada
10
- referencing==0.35.1+computecanada
11
- rpds-py==0.10.0+computecanada
12
- six==1.16.0+computecanada
13
- sympy==1.12.1+computecanada
14
- torch==2.0.1+computecanada
15
- tornado==6.3.3+computecanada
16
- traitlets==5.14.3+computecanada
17
- typing-extensions==4.12.2+computecanada
3
+ jinja2==3.1.4
4
+ jsonschema-specifications==2023.12.1
5
+ MarkupSafe==2.1.3
6
+ mpmath==1.3.0
7
+ networkx==3.2.1
8
+ platformdirs==4.2.2
9
+ pyzmq==25.1.1
10
+ referencing==0.35.1
11
+ rpds-py==0.10.0
12
+ six==1.16.0
13
+ sympy==1.12.1
14
+
15
+ --find-links https://download.pytorch.org/whl/torch_stable.html
16
+ torch==2.0.1+cpu
17
+
18
+ tornado==6.3.3
19
+ traitlets==5.14.3
20
+ typing-extensions==4.12.2
18
21
zipp==3.19.2
Original file line number Diff line number Diff line change
1
+
You can’t perform that action at this time.
0 commit comments