File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -13,15 +13,17 @@ jobs:
13
13
runs-on : linux.g5.4xlarge.nvidia.gpu
14
14
container :
15
15
image : docker.io/pytorch/manylinux-builder:cuda12.1
16
+ env :
17
+ CUDA_HOME : /usr/local/cuda-12.1
18
+ VERSION_SUFFIX : cu121
19
+ CI_BUILD : 1
16
20
steps :
17
21
- uses : actions/checkout@v3
18
22
with :
19
23
ref : ${{github.head_ref}}
20
24
- name : Select Python / CUDA
21
25
run : |
22
26
echo "/opt/python/cp311-cp311/bin/" >> $GITHUB_PATH
23
- echo "CUDA_HOME=/usr/local/cuda-12.1" >> $GITHUB_ENV
24
- echo "VERSION_SUFFIX=cu121" >> $GITHUB_ENV
25
27
- name : Install base deps
26
28
run : |
27
29
python3 -m pip install pyyaml torch --pre --extra-index-url https://download.pytorch.org/whl/nightly/cu121
32
34
- name : Build Python Package
33
35
run : |
34
36
python3 -m pip install pip --upgrade
35
- CI_BUILD=1 python3 -m pip install --pre . --extra-index-url https://download.pytorch.org/whl/nightly/cu121
37
+ python3 -m pip install --pre . --extra-index-url https://download.pytorch.org/whl/nightly/cu121
36
38
- name : Generate New Docs
37
39
run : |
38
40
cd docsrc
You can’t perform that action at this time.
0 commit comments