[Speech models] Disable non-existing chunking in tests (#15163)

This commit is contained in:
Patrick von Platen
2022-01-16 17:15:19 +01:00
committed by GitHub
parent 669e3c50c9
commit 7a787c68c6
6 changed files with 36 additions and 0 deletions

View File

@@ -428,6 +428,10 @@ class SEWModelTest(ModelTesterMixin, unittest.TestCase):
if hasattr(module, "masked_spec_embed") and module.masked_spec_embed is not None:
module.masked_spec_embed.data.fill_(3)
@unittest.skip(reason="Feed forward chunking is not implemented")
def test_feed_forward_chunking(self):
pass
@slow
def test_model_from_pretrained(self):
model = SEWModel.from_pretrained("asapp/sew-tiny-100k")