Skip to content
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

ImportError: cannot import name 'SequenceToTextOutput' from 'fairseq2.generation' #349

Open
gangbanyegeirichuan opened this issue Feb 28, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@gangbanyegeirichuan
Copy link

from fairseq2.generation import SequenceToTextOutput, SequenceGeneratorOptions
ImportError: cannot import name 'SequenceToTextOutput' from 'fairseq2.generation' (/usr/local/lib/python3.10/dist-packages/fairseq2/generation/init.py)

/usr/local/lib/python3.10/dist-packages/fairseq2/generation# ls
init.py pycache beam_search.py chat.py generator.py sampling.py step_processor.py text.py utils.py

Successfully installed fairseq2-0.2.0

@gangbanyegeirichuan gangbanyegeirichuan added the bug Something isn't working label Feb 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant