summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorRémi Flamary <remi.flamary@gmail.com>2020-04-24 13:59:19 +0200
committerRémi Flamary <remi.flamary@gmail.com>2020-04-24 13:59:19 +0200
commitc3115bce070cbf567c4dda3dfe87114166595423 (patch)
tree59b2ea4d741aa2fc0aa09ee891f95571c02f287a /docs
parent53b063ed6b6aa15d6cb103a9304bbd169678b2e9 (diff)
mockj module cupy for gpu focumentation
Diffstat (limited to 'docs')
-rw-r--r--docs/source/conf.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/source/conf.py b/docs/source/conf.py
index 880c71d..3699156 100644
--- a/docs/source/conf.py
+++ b/docs/source/conf.py
@@ -36,9 +36,9 @@ class Mock(MagicMock):
return MagicMock()
-MOCK_MODULES = ['ot.lp.emd_wrap', 'autograd', 'pymanopt', 'cupy', 'autograd.numpy', 'pymanopt.manifolds', 'pymanopt.solvers']
+MOCK_MODULES = [ 'cupy']
# 'autograd.numpy','pymanopt.manifolds','pymanopt.solvers',
-#sys.modules.update((mod_name, Mock()) for mod_name in MOCK_MODULES)
+sys.modules.update((mod_name, Mock()) for mod_name in MOCK_MODULES)
# !!!!
# If extensions (or modules to document with autodoc) are in another directory,