Skip to content

Commit ede6f59

Browse files
committed
remove old tests
1 parent 37c7478 commit ede6f59

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

tests/unittests/image/test_d_lambda.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -118,12 +118,6 @@ def test_d_lambda_functional(self, preds, target, p):
118118
metric_args={"p": p},
119119
)
120120

121-
# SpectralDistortionIndex half + cpu does not work due to missing support in torch.log
122-
@pytest.mark.xfail(reason="Spectral Distortion Index metric does not support cpu + half precision")
123-
def test_d_lambda_half_cpu(self, preds, target, p):
124-
"""Test dtype support of the metric on CPU."""
125-
self.run_precision_test_cpu(preds, target, SpectralDistortionIndex, spectral_distortion_index, {"p": p})
126-
127121
@pytest.mark.skipif(not torch.cuda.is_available(), reason="test requires cuda")
128122
def test_d_lambda_half_gpu(self, preds, target, p):
129123
"""Test dtype support of the metric on GPU."""

0 commit comments

Comments
 (0)