Skip to content

Commit a8080fc

Browse files
authored
Skip "test_gaussian_filter" as a workaround for blossom killed (#7474)
workaround for #7445 ### Types of changes <!--- Put an `x` in all the boxes that apply, and remove the not applicable items --> - [x] Non-breaking change (fix or new feature that would not break existing functionality). - [ ] Breaking change (fix or new feature that would cause existing functionality to change). - [ ] New tests added to cover the changes. - [ ] Integration tests passed locally by running `./runtests.sh -f -u --net --coverage`. - [ ] Quick tests passed locally by running `./runtests.sh --quick --unittests --disttests`. - [ ] In-line docstrings updated. - [ ] Documentation updated, tested `make html` command in the `docs/` folder. --------- Signed-off-by: YunLiu <[email protected]>
1 parent ff43028 commit a8080fc

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tests/test_gaussian_filter.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
from parameterized import parameterized
1919

2020
from monai.networks.layers import GaussianFilter
21-
from tests.utils import skip_if_quick
21+
from tests.utils import SkipIfAtLeastPyTorchVersion, skip_if_quick
2222

2323
TEST_CASES = [[{"type": "erf", "gt": 2.0}], [{"type": "scalespace", "gt": 3.0}], [{"type": "sampled", "gt": 5.0}]]
2424
TEST_CASES_GPU = [[{"type": "erf", "gt": 0.8, "device": "cuda"}], [{"type": "sampled", "gt": 5.0, "device": "cuda"}]]
@@ -34,6 +34,7 @@
3434
]
3535

3636

37+
@SkipIfAtLeastPyTorchVersion((2, 2, 0)) # https://github.com/Project-MONAI/MONAI/issues/7445
3738
class TestGaussianFilterBackprop(unittest.TestCase):
3839

3940
def code_to_run(self, input_args):
@@ -94,6 +95,7 @@ def test_train_slow(self, input_args):
9495
self.code_to_run(input_args)
9596

9697

98+
@SkipIfAtLeastPyTorchVersion((2, 2, 0)) # https://github.com/Project-MONAI/MONAI/issues/7445
9799
class GaussianFilterTestCase(unittest.TestCase):
98100

99101
def test_1d(self):

0 commit comments

Comments
 (0)