Skip to content

Commit 63ba1c4

Browse files
committed
[run-slow] Fixing minimum
1 parent 238dd11 commit 63ba1c4

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

tests/models/base.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ def test_classification_head(self):
137137

138138
self.assertEqual(cls_probs.shape[1], 10)
139139

140-
@requires_torch_greater_or_equal("2.0.0")
140+
@requires_torch_greater_or_equal("2.0.1")
141141
def test_save_load_with_hub_mixin(self):
142142
# instantiate model
143143
model = smp.create_model(
@@ -173,7 +173,7 @@ def test_save_load_with_hub_mixin(self):
173173
self.assertIn("my_awesome_metric", readme)
174174

175175
@slow_test
176-
@requires_torch_greater_or_equal("2.0.0")
176+
@requires_torch_greater_or_equal("2.0.1")
177177
def test_preserve_forward_output(self):
178178
from huggingface_hub import hf_hub_download
179179

tests/models/test_segformer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ class TestSegformerModel(base.BaseModelTester):
1111
test_model_type = "segformer"
1212

1313
@slow_test
14-
@requires_torch_greater_or_equal("2.0.0")
14+
@requires_torch_greater_or_equal("2.0.1")
1515
def test_load_pretrained(self):
1616
hub_checkpoint = "smp-hub/segformer-b0-512x512-ade-160k"
1717

0 commit comments

Comments
 (0)