has_attentions - consistent test skipping logic and tf tests (#17495)

This commit is contained in:
amyeroberts
2022-06-09 09:50:03 +02:00
committed by GitHub
parent 66e8656778
commit dfc76b2542
9 changed files with 141 additions and 115 deletions

View File

@@ -144,6 +144,10 @@ class VanModelTest(ModelTesterMixin, unittest.TestCase):
def create_and_test_config_common_properties(self):
return
@unittest.skip(reason="Van does not output attentions")
def test_attention_outputs(self):
pass
@unittest.skip(reason="Van does not use inputs_embeds")
def test_inputs_embeds(self):
pass