Skip test while the model is not available (#12740)

This commit is contained in:
Lysandre Debut 2021-07-15 15:14:12 +02:00 committed by GitHub
parent 8c7bd1b97b
commit eb2e006b35
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -31,6 +31,7 @@ if is_torch_available():
@require_tokenizers
class MegatronGPT2IntegrationTest(unittest.TestCase):
@slow
@unittest.skip("Model is not available.")
def test_inference_no_head(self):
directory = "nvidia/megatron-gpt2-345m/"
if "MYDIR" in os.environ: