Skip to content

Commit d6e9f71

Browse files
authored
Fix tied weight test (#39680)
Update test_modeling_common.py
1 parent 5da6ad2 commit d6e9f71

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

tests/test_modeling_common.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2565,7 +2565,6 @@ def test_load_save_without_tied_weights(self):
25652565

25662566
def test_tied_weights_keys(self):
25672567
config, _ = self.model_tester.prepare_config_and_inputs_for_common()
2568-
config.get_text_config().tie_word_embeddings = True
25692568
for model_class in self.all_model_classes:
25702569
model_tied = model_class(copy.deepcopy(config))
25712570

0 commit comments

Comments
 (0)