Warning about ValFunction
instantiation when using POT with PyTorch
#337
Labels
ValFunction
instantiation when using POT with PyTorch
#337
Describe the bug
With PyTorch 1.10.1+cu102, using OT on a
tensor
with a gradient, the following warning message is raised:To Reproduce
Steps to reproduce the behavior:
ValFunction
from backend.Expected behavior
Warning should not be raised
Environment
pip
,conda
):poetry
(pip
+virtualenv
)Output of the following code snippet:
Additional context
PR is being prepared to address this issue.
The text was updated successfully, but these errors were encountered: