Patch to skip failing test_save_load_low_cpu_mem_usage tests (#29043)

* Patch to skip currently failing tests

* Whoops - wrong place
This commit is contained in:
amyeroberts
2024-02-15 17:26:33 +00:00
committed by GitHub
parent 6d1f545665
commit 4156f517ce
6 changed files with 40 additions and 0 deletions

View File

@@ -372,6 +372,12 @@ class MarianModelTest(ModelTesterMixin, GenerationTesterMixin, PipelineTesterMix
def test_training_gradient_checkpointing_use_reentrant_false(self):
pass
@unittest.skip(
"Not currently compatible. Fails with - NotImplementedError: Cannot copy out of meta tensor; no data!"
)
def test_save_load_low_cpu_mem_usage(self):
pass
def assert_tensors_close(a, b, atol=1e-12, prefix=""):
"""If tensors have different shapes, different values or a and b are not both tensors, raise a nice Assertion error."""