You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
EDIT This has now been resolved with an update to Transformers 24th Jan 2024 to version 4.37.1.
A new version of Transformers has been released 4.37 https://github.com/huggingface/transformers/releases which causes a load/import problem ImportError: cannot import name 'SampleOutput' from 'transformers.generation.utils' at this time, I'm unsure if this is a bug in their code as I cannot find any breaking changes currently. I have forced pip install transformers==4.36.2 in the requirements files.
If you experience this, you can load your python environment that AllTalk runs within and run pip install transformers==4.36.2 to force a downgrade.
I have raised an issue with the Transformers developers to ask them for help/guidance or to look into this issue.
The text was updated successfully, but these errors were encountered:
erew123
changed the title
ImportError: cannot import name 'SampleOutput' from 'transformers.generation.utils'
🔄 ImportError: cannot import name 'SampleOutput' from 'transformers.generation.utils'
Jan 22, 2024
EDIT This has now been resolved with an update to Transformers 24th Jan 2024 to version 4.37.1.
A new version of Transformers has been released 4.37 https://github.com/huggingface/transformers/releases which causes a load/import problem
ImportError: cannot import name 'SampleOutput' from 'transformers.generation.utils'
at this time, I'm unsure if this is a bug in their code as I cannot find any breaking changes currently. I have forcedpip install transformers==4.36.2
in the requirements files.If you experience this, you can load your python environment that AllTalk runs within and run
pip install transformers==4.36.2
to force a downgrade.I have raised an issue with the Transformers developers to ask them for help/guidance or to look into this issue.
The text was updated successfully, but these errors were encountered: