Fix wav2vec2 params (#27515)

Fix test
This commit is contained in:
Zach Mueller 2023-11-15 09:24:03 -05:00 committed by GitHub
parent 48ba1e074f
commit a85ea4b19a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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