Skip to content

Commit 7d1819a

Browse files
tanquerfacebook-github-bot
authored andcommitted
Fix doc build (#15)
Summary: Pull Request resolved: #15 Differential Revision: D85487438
1 parent 27eefd9 commit 7d1819a

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

.github/workflows/docs.yaml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
miniconda-version: "latest"
2727
activate-environment: test
2828
python-version: '3.10'
29-
auto-activate: false
29+
auto-activate: true
3030
- name: Verify conda environment
3131
shell: bash -l {0}
3232
run: |
@@ -36,16 +36,14 @@ jobs:
3636
- name: Update pip
3737
shell: bash -l {0}
3838
run: python -m pip install --upgrade pip
39-
- name: Install pytorch
40-
shell: bash -l {0}
41-
run: pip install --pre torch torchvision torchaudio --index-url https://download.pytorch.org/whl/nightly/cu128
4239
- name: Install Dependencies
4340
shell: bash -l {0}
4441
run: |
4542
set -eux
4643
conda install -y git
4744
conda install -y -c conda-forge glog==0.4.0 gflags fmt
4845
pip install cmake
46+
pip install --pre torch torchvision torchaudio --index-url https://download.pytorch.org/whl/nightly/cu128
4947
pip install -r docs/requirements.txt
5048
export USE_NCCL=0
5149
export USE_NCCLX=0
@@ -56,7 +54,6 @@ jobs:
5654
working-directory: docs
5755
run: |
5856
set -eux
59-
conda activate test
6057
make html SPHINXOPTS="-WT --keep-going" || echo "Build completed with warnings/errors"
6158
- name: Remove noindex meta tag from docs
6259
working-directory: docs/build/html

0 commit comments

Comments
 (0)