From df0a12c3dc18c87f57a5cba802e4d032f7526634 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Flamary?= Date: Wed, 17 Aug 2022 17:20:36 +0200 Subject: [PATCH 1/2] skip tets if not torch installed --- test/test_bregman.py | 1 + 1 file changed, 1 insertion(+) diff --git a/test/test_bregman.py b/test/test_bregman.py index c674da64c..0f47c3f17 100644 --- a/test/test_bregman.py +++ b/test/test_bregman.py @@ -879,6 +879,7 @@ def test_empirical_sinkhorn_divergence(nx): ot.bregman.empirical_sinkhorn_divergence(X_sb, X_tb, 1, a=ab, b=bb, log=True) +@pytest.mark.skipif(not torch, reason="No torch available") def test_empirical_sinkhorn_divergence_gradient(): # Test sinkhorn divergence n = 10 From f9de98d871e09a3bf9341aa27d9eae47a6b85e77 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Flamary?= Date: Wed, 17 Aug 2022 17:25:43 +0200 Subject: [PATCH 2/2] update release.md --- RELEASES.md | 1 + 1 file changed, 1 insertion(+) diff --git a/RELEASES.md b/RELEASES.md index 571cd74b8..e6e0ba443 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -9,6 +9,7 @@ #### Closed issues +- Fixed an issue where sinkhorn divergence did not have a gradients (Issue #393, PR #394) - Fixed an issue where we could not ask TorchBackend to place a random tensor on GPU (Issue #371, PR #373) - Fixed an issue where Sinkhorn solver assumed a symmetric cost matrix (Issue #374, PR #375)