Revert low cpu mem tie weights (#29135)

* Revert "Add tie_weights() to LM heads and set bias in set_output_embeddings() (#28948)"

This reverts commit 725f4ad1cc.

* Revert "Patch to skip failing `test_save_load_low_cpu_mem_usage` tests (#29043)"

This reverts commit 4156f517ce.
This commit is contained in:
amyeroberts
2024-02-20 12:06:46 +00:00
committed by GitHub
parent 15cfe38942
commit 0996a10077
26 changed files with 0 additions and 144 deletions

View File

@@ -329,12 +329,6 @@ class FSMTModelTest(ModelTesterMixin, GenerationTesterMixin, PipelineTesterMixin
def test_resize_embeddings_untied(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
@require_torch
class FSMTHeadTests(unittest.TestCase):