@@ -550,9 +550,6 @@ class ExamplesTests(TestCasePlus):
|
|||||||
--seed 42
|
--seed 42
|
||||||
""".split()
|
""".split()
|
||||||
|
|
||||||
if is_torch_fp16_available_on_device(torch_device):
|
|
||||||
testargs.append("--fp16")
|
|
||||||
|
|
||||||
with patch.object(sys, "argv", testargs):
|
with patch.object(sys, "argv", testargs):
|
||||||
run_wav2vec2_pretraining_no_trainer.main()
|
run_wav2vec2_pretraining_no_trainer.main()
|
||||||
model = Wav2Vec2ForPreTraining.from_pretrained(tmp_dir)
|
model = Wav2Vec2ForPreTraining.from_pretrained(tmp_dir)
|
||||||
|
|||||||
Reference in New Issue
Block a user