From d34d28bdce9b9e22397411009eee82637c71e761 Mon Sep 17 00:00:00 2001 From: Jason Senthil Date: Wed, 27 Dec 2023 09:56:54 -0800 Subject: [PATCH] fix oss doc build & publish (#663) 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 --- .github/workflows/build_docs.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build_docs.yaml b/.github/workflows/build_docs.yaml index 19532c895b..1ab4aa4d24 100644 --- a/.github/workflows/build_docs.yaml +++ b/.github/workflows/build_docs.yaml @@ -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: |