mirror of
https://github.com/huggingface/transformers.git
synced 2025-07-13 17:48:22 +06:00
parent
48ba1e074f
commit
a85ea4b19a
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user