-
Notifications
You must be signed in to change notification settings - Fork 27.8k
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
Fix Mega chunking error when using decoder-only model #25765
Fix Mega chunking error when using decoder-only model #25765
Conversation
Hey! Feel free to ping me when the PR is ready for review 😉 |
The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. |
@ArthurZucker You may review it now! |
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.
Nice! Can you add a test in the testing suite? This way we can make sure the chunking mode is properly tested!
Will do. Two questions regarding this:
|
|
Thanks for confirming @ArthurZucker. I have added a test that checks here if the If the checks I added in Is this correct, or shall I make any changes? Update: The tests are failing because of an error in Wav2Vec2 model, here: A Github Pull should fix it. |
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.
This is nice! Thanks for the long due fix 😉
Added your suggested changes @ArthurZucker! With |
Perfect! If you can just rebase on main to make sure the CIs are green? |
ae262e5
to
aa2ff48
Compare
Done @ArthurZucker! |
Congrats on the PR 🚀 thanks for fixing! |
Thanks a lot for helping @ArthurZucker! |
What does this PR do?
This PR aims to fix the error caused by
MegaModel
when theis_decoder
setting is used in conjunction withuse_chunking
andchunk_size
settings.The error is described in detail here.
Fixes #23331
Who can review?
@ArthurZucker