Skip to content

Commit

Permalink
mocking torch to avoid memory error in RTD
Browse files Browse the repository at this point in the history
  • Loading branch information
profjsb committed Jul 23, 2019
1 parent ff2eae9 commit 9516735
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@
'sphinx.ext.napoleon'
]

autodoc_mock_imports = ["torch"]

# Add any paths that contain templates here, relative to this directory.
templates_path = ['_templates']

Expand Down
2 changes: 1 addition & 1 deletion docs/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
joblib
torch
#torch
#sphinx
#sphinx_rtd_theme
#astropy
Expand Down

0 comments on commit 9516735

Please sign in to comment.