From cec41d3817067a2eb3031092735347efe4184237 Mon Sep 17 00:00:00 2001 From: RĂ©mi Flamary Date: Fri, 5 Nov 2021 17:13:14 +0100 Subject: [MRG] Release 0.8 (#289) * working on release * test circleci * try again * cleanup circle ci run * add all PR and releant Issues * update doc * thanks idris * update version + add pyproject.toml * test pyproject.toml * revert tests * build wheels * use windows-latest for tests * add tests python 3.10 * build all whels * all versions * build all wheels * build all wheels * cleanup pep8 and minimal acions * forst shot text release * bettr text * stuff * release text updated * update manifest to allow build from source * update doc again * update release --- ot/gpu/__init__.py | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'ot/gpu/__init__.py') diff --git a/ot/gpu/__init__.py b/ot/gpu/__init__.py index e939610..12db605 100644 --- a/ot/gpu/__init__.py +++ b/ot/gpu/__init__.py @@ -7,7 +7,13 @@ The GPU backend in handled by `cupy `_. .. warning:: - Note that by default the module is not import in :mod:`ot`. In order to + This module is now deprecated and will be removed in future releases. POT + now privides a backend mechanism that allows for solving prolem on GPU wth + the pytorch backend. + + +.. warning:: + Note that by default the module is not imported in :mod:`ot`. In order to use it you need to explicitely import :mod:`ot.gpu` . By default, the functions in this module accept and return numpy arrays @@ -36,7 +42,7 @@ from . import utils from .utils import dist, to_gpu, to_np -warnings.warn('This module will be deprecated in the next minor release of POT', category=DeprecationWarning) +warnings.warn('This module is deprecated and will be removed in the next minor release of POT', category=DeprecationWarning) __all__ = ["utils", "dist", "sinkhorn", -- cgit v1.2.3