Skip to content

Commit 8be3acf

Browse files
authored
chore: documenation building fixes
1 parent 178f4f3 commit 8be3acf

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/workflows/docgen.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,17 @@ jobs:
1313
runs-on: linux.g5.4xlarge.nvidia.gpu
1414
container:
1515
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
1620
steps:
1721
- uses: actions/checkout@v3
1822
with:
1923
ref: ${{github.head_ref}}
2024
- name: Select Python / CUDA
2125
run: |
2226
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
2527
- name: Install base deps
2628
run: |
2729
python3 -m pip install pyyaml torch --pre --extra-index-url https://download.pytorch.org/whl/nightly/cu121
@@ -32,7 +34,7 @@ jobs:
3234
- name: Build Python Package
3335
run: |
3436
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
3638
- name: Generate New Docs
3739
run: |
3840
cd docsrc

0 commit comments

Comments
 (0)