Skip to content

Commit

Permalink
fix oss doc build & publish (pytorch#663)
Browse files Browse the repository at this point in the history
Summary:


# Context
TorchTNT public doc builds have been failing for some time. This is due to an import issue when retrieving TorchTNT's version for the docs

# This Diff
Moves the pytorch installation to occur after installing dependencies but before installing TorchTNT itself.

Reviewed By: galrotem

Differential Revision: D52377030
  • Loading branch information
JKSenthil authored and facebook-github-bot committed Dec 27, 2023
1 parent a22919e commit 6d05d8d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build_docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ jobs:
conda activate test
pip install -r requirements.txt
pip install -r dev-requirements.txt
conda install pytorch cpuonly -c pytorch-nightly
python setup.py sdist bdist_wheel
pip install dist/*.whl
conda install pytorch cpuonly -c pytorch-nightly
- name: Build docs
shell: bash -l {0}
run: |
Expand Down

0 comments on commit 6d05d8d

Please sign in to comment.