From 84bbcf99015a381c7597b7e0cf0f5470ebebb805 Mon Sep 17 00:00:00 2001 From: "M. Eren Akbiyik" Date: Mon, 25 Sep 2023 13:19:08 +0300 Subject: [PATCH] fix: autosummary build in doc due to cuda --- .readthedocs.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.readthedocs.yaml b/.readthedocs.yaml index b70b489..ec4ae46 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -21,8 +21,8 @@ build: # Install dependencies with 'docs' dependency group # https://python-poetry.org/docs/managing-dependencies/#dependency-groups - poetry install - post_build: - - poetry run sphinx-build -b html docs/source docs/build + # Switch to CPU-only PyTorch + - pip install torch --index-url https://download.pytorch.org/whl/cpu # Build documentation in the "docs/" directory with Sphinx sphinx: