Skip to content

Commit be2722e

Browse files
committed
fix torch
1 parent a335964 commit be2722e

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

docs/requirements.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
-f https://download.pytorch.org/whl/torch_stable.html
2+
numpy
3+
torch
14
sphinx
25
sphinx_rtd_theme
36
sphinx-autodoc-typehints

docs/source/conf.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,6 @@
1414
'sphinx_autodoc_typehints',
1515
]
1616

17-
autodoc_mock_imports = [
18-
'torch',
19-
]
20-
2117
source_suffix = '.rst'
2218
master_doc = 'index'
2319

0 commit comments

Comments
 (0)