We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7ae6347 commit 1c50a5fCopy full SHA for 1c50a5f
tests/models/test_modeling_common.py
@@ -1948,6 +1948,7 @@ def test_push_to_hub_library_name(self):
1948
@require_torch_2
1949
@is_torch_compile
1950
@slow
1951
+@require_torch_version_greater("2.7.1")
1952
class TorchCompileTesterMixin:
1953
different_shapes_for_compilation = None
1954
@@ -2046,6 +2047,7 @@ def test_compile_on_different_shapes(self):
2046
2047
@require_torch_accelerator
2048
@require_peft_backend
2049
@require_peft_version_greater("0.14.0")
2050
2051
2052
class LoraHotSwappingForModelTesterMixin:
2053
"""Test that hotswapping does not result in recompilation on the model directly.
0 commit comments