From 0e347f98809e95c27b5bc5a988440394af1bfbb9 Mon Sep 17 00:00:00 2001 From: YunLiu <55491388+KumoLiu@users.noreply.github.com> Date: Tue, 13 Aug 2024 11:52:11 +0800 Subject: [PATCH 1/2] fix #8012 Signed-off-by: YunLiu <55491388+KumoLiu@users.noreply.github.com> --- tests/test_vit.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_vit.py b/tests/test_vit.py index d638c0116a..a3ffd0b2ef 100644 --- a/tests/test_vit.py +++ b/tests/test_vit.py @@ -106,7 +106,7 @@ def test_ill_arg( ) @parameterized.expand(TEST_CASE_Vit[:1]) - @SkipIfBeforePyTorchVersion((1, 9)) + @SkipIfBeforePyTorchVersion((2, 0)) def test_script(self, input_param, input_shape, _): net = ViT(**(input_param)) net.eval() From 91a6a1af1d026fb5a5cbe8d7a92027bd5045b3e0 Mon Sep 17 00:00:00 2001 From: YunLiu <55491388+KumoLiu@users.noreply.github.com> Date: Tue, 13 Aug 2024 13:39:16 +0800 Subject: [PATCH 2/2] remove generative dependency Signed-off-by: YunLiu <55491388+KumoLiu@users.noreply.github.com> --- requirements-dev.txt | 1 - 1 file changed, 1 deletion(-) diff --git a/requirements-dev.txt b/requirements-dev.txt index 76f1952345..9aad0804e6 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -58,5 +58,4 @@ lpips==0.1.4 nvidia-ml-py huggingface_hub pyamg>=5.0.0 -git+https://github.com/Project-MONAI/GenerativeModels.git@7428fce193771e9564f29b91d29e523dd1b6b4cd git+https://github.com/facebookresearch/segment-anything.git@6fdee8f2727f4506cfbbe553e23b895e27956588