Skip test while the model is not available (#12740)
This commit is contained in:
@@ -31,6 +31,7 @@ if is_torch_available():
|
|||||||
@require_tokenizers
|
@require_tokenizers
|
||||||
class MegatronGPT2IntegrationTest(unittest.TestCase):
|
class MegatronGPT2IntegrationTest(unittest.TestCase):
|
||||||
@slow
|
@slow
|
||||||
|
@unittest.skip("Model is not available.")
|
||||||
def test_inference_no_head(self):
|
def test_inference_no_head(self):
|
||||||
directory = "nvidia/megatron-gpt2-345m/"
|
directory = "nvidia/megatron-gpt2-345m/"
|
||||||
if "MYDIR" in os.environ:
|
if "MYDIR" in os.environ:
|
||||||
|
|||||||
Reference in New Issue
Block a user