示例#1
0
def test_run():
    runner = unittest.TextTestRunner(failfast=True)

    # Add test suites here.
    pytest_hack(runner.run(Megatron_GPT2.suite()))
    pytest_hack(runner.run(Megatron_GPT2.checkpoint_suite()))
    pytest_hack(runner.run(BingBertSquad.suite()))
示例#2
0
def test_megatron_checkpoint():
    runner = unittest.TextTestRunner(failfast=True)
    pytest_hack(runner.run(Megatron_GPT2.checkpoint_suite()))