Rename test_model_common_attributes -> test_model_get_set_embeddings (#31321)

* Rename to test_model_common_attributes
The method name is misleading - it is testing being able to get and set embeddings, not common attributes to all models

* Explicitly skip
This commit is contained in:
amyeroberts
2024-06-07 19:40:26 +01:00
committed by GitHub
parent c1be42f6f7
commit 25245ec26d
108 changed files with 167 additions and 145 deletions

View File

@@ -567,7 +567,7 @@ class Wav2Vec2ModelTest(ModelTesterMixin, PipelineTesterMixin, unittest.TestCase
# Wav2Vec2 has no inputs_embeds
# and thus the `get_input_embeddings` fn
# is not implemented
def test_model_common_attributes(self):
def test_model_get_set_embeddings(self):
pass
@is_pt_flax_cross_test
@@ -921,7 +921,7 @@ class Wav2Vec2RobustModelTest(ModelTesterMixin, unittest.TestCase):
# Wav2Vec2 has no inputs_embeds
# and thus the `get_input_embeddings` fn
# is not implemented
def test_model_common_attributes(self):
def test_model_get_set_embeddings(self):
pass
def test_retain_grad_hidden_states_attentions(self):