File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff 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
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments