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:
@@ -171,7 +171,7 @@ class AlignVisionModelTest(ModelTesterMixin, unittest.TestCase):
|
||||
pass
|
||||
|
||||
@unittest.skip(reason="AlignVisionModel does not support input and output embeddings")
|
||||
def test_model_common_attributes(self):
|
||||
def test_model_get_set_embeddings(self):
|
||||
pass
|
||||
|
||||
def test_forward_signature(self):
|
||||
@@ -489,7 +489,7 @@ class AlignModelTest(ModelTesterMixin, PipelineTesterMixin, unittest.TestCase):
|
||||
pass
|
||||
|
||||
@unittest.skip(reason="AlignModel does not have input/output embeddings")
|
||||
def test_model_common_attributes(self):
|
||||
def test_model_get_set_embeddings(self):
|
||||
pass
|
||||
|
||||
# override as the `temperature` parameter initilization is different for ALIGN
|
||||
|
||||
Reference in New Issue
Block a user