File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change 1010
1111jobs :
1212 build-docs :
13- runs-on : ubuntu-latest
13+ runs-on : linux.g5.4xlarge.nvidia.gpu
1414 container :
1515 image : docker.io/pytorch/manylinux-builder:cuda12.1
1616 steps :
1717 - uses : actions/checkout@v3
1818 with :
1919 ref : ${{github.head_ref}}
20- - name : Select python
20+ - name : Select Python / CUDA
2121 run : |
2222 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
2325 - name : Install base deps
2426 run : |
2527 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
2729 - name : Get HEAD SHA
2830 id : vars
2931 run : echo "sha=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT
3032 - name : Build Python Package
3133 run : |
3234 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
3436 - name : Generate New Docs
3537 run : |
3638 cd docsrc
You can’t perform that action at this time.
0 commit comments