-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
torchaudio 11.0 yields different results than torchaudio 12.1 when loading MP3 #4889
Comments
Maybe we can just pass this along to torchaudio @lhoestq @albertvillanova ? It be great if you could investigate if the errors lies in datasets or in torchaudio. |
torchaudio did a change in 0.12 on MP3 decoding (which affects common voice):
|
Do we have a solution for this now? Should we just upgrade to |
|
Closing as we no longer use |
Describe the bug
When loading Common Voice with torchaudio 0.11.0 the results are different to 0.12.1 which leads to problems in transformers see: huggingface/transformers#18749
Steps to reproduce the bug
If you run the following code once with
torchaudio==0.11.0+cu102
andtorchaudio==0.12.1+cu102
you can see that the tensors differ. This is a pretty big breaking change and makes some integration tests fail in Transformers.Having saved the tensors the print output yields:
Expected results
torchaudio 11.0 and 12.1 should yield same results.
Actual results
See above.
Environment info
datasets
version: 2.1.1.dev0The text was updated successfully, but these errors were encountered: