File tree 1 file changed +6
-4
lines changed
1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change 10
10
11
11
jobs :
12
12
build-docs :
13
- runs-on : ubuntu-latest
13
+ runs-on : linux.g5.4xlarge.nvidia.gpu
14
14
container :
15
15
image : docker.io/pytorch/manylinux-builder:cuda12.1
16
16
steps :
17
17
- uses : actions/checkout@v3
18
18
with :
19
19
ref : ${{github.head_ref}}
20
- - name : Select python
20
+ - name : Select Python / CUDA
21
21
run : |
22
22
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
23
25
- name : Install base deps
24
26
run : |
25
27
python3 -m pip install pyyaml torch --pre --extra-index-url https://download.pytorch.org/whl/nightly/cu121
26
- VERSION_SUFFIX=cu121 ./packaging/pre_build_script.sh
28
+ ./packaging/pre_build_script.sh
27
29
- name : Get HEAD SHA
28
30
id : vars
29
31
run : echo "sha=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT
30
32
- name : Build Python Package
31
33
run : |
32
34
python3 -m pip install pip --upgrade
33
- CUDA_HOME=/usr/local/cuda-12.1 CI_BUILD=1 python3 -m pip install --pre -e . --extra-index-url https://download.pytorch.org/whl/nightly/cu121
35
+ CI_BUILD=1 python3 -m pip install --pre . --extra-index-url https://download.pytorch.org/whl/nightly/cu121
34
36
- name : Generate New Docs
35
37
run : |
36
38
cd docsrc
You can’t perform that action at this time.
0 commit comments