-
Notifications
You must be signed in to change notification settings - Fork 31.5k
🚨 Remove Constrained Beam Search decoding strategy #40518
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
🚨 Remove Constrained Beam Search decoding strategy #40518
Conversation
|
The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update. |
gante
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
important: we need to deprecate classes before we remove them (the classes we remove from __init__ were not deprecated)
…sformers into remove-constrained-bs
|
build-doc |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 🧹 🧹 🧹
(added a few minor nits)
|
[For maintainers] Suggested jobs to run (before merge) run-slow: csm, dia, qwen2_5_omni, recurrent_gemma, rwkv, whisper |
Removes Constrained Beam Search generation strategy from the codebase. Directs users to the
transformers-community/constrained-beam-searchrepository.It has been a warning for a few releases, but now
trust_remote_code=Trueis required to run constrained beam search.Depends on #40480 and #40495