diff --git a/monai/apps/auto3dseg/bundle_gen.py b/monai/apps/auto3dseg/bundle_gen.py index 7c27284a0b..462452007f 100644 --- a/monai/apps/auto3dseg/bundle_gen.py +++ b/monai/apps/auto3dseg/bundle_gen.py @@ -35,7 +35,7 @@ from monai.utils import ensure_tuple logger = get_logger(module_name=__name__) -ALGO_HASH = os.environ.get("MONAI_ALGO_HASH", "d0fa876d") +ALGO_HASH = os.environ.get("MONAI_ALGO_HASH", "d8bec42") __all__ = ["BundleAlgo", "BundleGen"] diff --git a/tests/test_auto3dseg_ensemble.py b/tests/test_auto3dseg_ensemble.py index 0f41717a4a..fba19bc342 100644 --- a/tests/test_auto3dseg_ensemble.py +++ b/tests/test_auto3dseg_ensemble.py @@ -70,7 +70,7 @@ @skip_if_quick -@SkipIfBeforePyTorchVersion((1, 13, 0)) +@SkipIfBeforePyTorchVersion((1, 9, 1)) @unittest.skipIf(not has_tb, "no tensorboard summary writer") class TestEnsembleBuilder(unittest.TestCase): def setUp(self) -> None: diff --git a/tests/test_integration_autorunner.py b/tests/test_integration_autorunner.py index e6d088116b..84583852ef 100644 --- a/tests/test_integration_autorunner.py +++ b/tests/test_integration_autorunner.py @@ -69,7 +69,7 @@ @skip_if_quick -@SkipIfBeforePyTorchVersion((1, 13, 0)) +@SkipIfBeforePyTorchVersion((1, 9, 1)) @unittest.skipIf(not has_tb, "no tensorboard summary writer") class TestAutoRunner(unittest.TestCase): def setUp(self) -> None: diff --git a/tests/test_integration_gpu_customization.py b/tests/test_integration_gpu_customization.py index 1defb8545d..4c8772ea50 100644 --- a/tests/test_integration_gpu_customization.py +++ b/tests/test_integration_gpu_customization.py @@ -69,7 +69,7 @@ @skip_if_quick -@SkipIfBeforePyTorchVersion((1, 13, 0)) +@SkipIfBeforePyTorchVersion((1, 9, 1)) @unittest.skipIf(not has_tb, "no tensorboard summary writer") class TestEnsembleGpuCustomization(unittest.TestCase): def setUp(self) -> None: diff --git a/tests/test_integration_nnunetv2_runner.py b/tests/test_integration_nnunetv2_runner.py index 8e488e7194..ed73f70051 100644 --- a/tests/test_integration_nnunetv2_runner.py +++ b/tests/test_integration_nnunetv2_runner.py @@ -25,6 +25,7 @@ from tests.utils import SkipIfBeforePyTorchVersion, skip_if_downloading_fails, skip_if_no_cuda, skip_if_quick _, has_tb = optional_import("torch.utils.tensorboard", name="SummaryWriter") +_, has_nnunet = optional_import("nnunetv2") sim_datalist: dict[str, list[dict]] = { "testing": [{"image": "val_001.fake.nii.gz"}, {"image": "val_002.fake.nii.gz"}], @@ -46,6 +47,7 @@ @skip_if_quick @SkipIfBeforePyTorchVersion((1, 13, 0)) @unittest.skipIf(not has_tb, "no tensorboard summary writer") +@unittest.skipIf(not has_nnunet, "no nnunetv2") class TestnnUNetV2Runner(unittest.TestCase): def setUp(self) -> None: self.test_dir = tempfile.TemporaryDirectory()