[testing] LanguageModelGenerationTests require_tf or require_torch (#4616)

This commit is contained in:
Sam Shleifer
2020-05-27 09:10:26 -04:00
committed by GitHub
parent a9aa7456ac
commit 07797c4da4
11 changed files with 11 additions and 0 deletions

View File

@@ -430,6 +430,7 @@ class XLMModelTest(ModelTesterMixin, unittest.TestCase):
self.assertIsNotNone(model)
@require_torch
class XLMModelLanguageGenerationTest(unittest.TestCase):
@slow
def test_lm_generate_xlm_mlm_en_2048(self):