[configuration] remove redundant classmethod (#38812)

* remove redundant classmethod

* warning message, add space between words

* fix tests

* fix copies
This commit is contained in:
Raushan Turganbay
2025-07-28 12:38:48 +02:00
committed by GitHub
parent 02ea23cbde
commit b56d721397
31 changed files with 117 additions and 210 deletions

View File

@@ -216,7 +216,7 @@ class EfficientLoFTRModelTest(ModelTesterMixin, unittest.TestCase):
self.assertListEqual(
list(hidden_states[0].shape[-2:]),
[self.model_tester.image_height // 2, self.model_tester.image_width // 2],
[self.model_tester.image_height, self.model_tester.image_width],
)
config, inputs_dict = self.model_tester.prepare_config_and_inputs_for_common()