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:
@@ -183,7 +183,7 @@ class EncodecModelTest(ModelTesterMixin, PipelineTesterMixin, unittest.TestCase)
|
||||
pass
|
||||
|
||||
@unittest.skip("The EncodecModel is not transformers based, thus it does not have `inputs_embeds` logics")
|
||||
def test_model_common_attributes(self):
|
||||
def test_model_get_set_embeddings(self):
|
||||
pass
|
||||
|
||||
@unittest.skip("The EncodecModel is not transformers based, thus it does not have the usual `attention` logic")
|
||||
|
||||
Reference in New Issue
Block a user