-
Notifications
You must be signed in to change notification settings - Fork 112
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
Degradation in audio and image classification samples with new transformers package #345
Comments
@ljaljushkin, it seems like this is not an Optimum-related problem but rather a Transformer problem. Some relevant issues: https://discuss.huggingface.co/t/distributeddataparallel-object-has-no-attribute-no-sync/5469 |
@ljaljushkin thanks for reporting this. The examples are definitely expected to work out of the box with the version of transformers we install as dependency. Could you try running with torchrun like you changed for some other runs in #315 ? |
Yes, I had verified that. The issue is reproduced for mentioned samples only. |
@helena-intel this is not reproduced on the main branch now. But audio sample still doesn't work #423 |
Audio and image classification samples fail with error
AttributeError: <> object has no attribute 'no_sync'
For example, Command line for finetuning of wave2vec with QAT fails with
AttributeError: 'Wav2Vec2ForSequenceClassification' object has no attribute 'no_sync'
It's reproduced with latest version of transformers: 4.30.0
There's no such issue with 4.22.0 version
The text was updated successfully, but these errors were encountered: