-
Notifications
You must be signed in to change notification settings - Fork 28.1k
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 usage of unpad_input function #35925
Conversation
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, but I'll let @ArthurZucker do the final review!
See huggingface#35899 In the [commit](Dao-AILab/flash-attention@cdbbe84) return type of `unpad_input` was changed. Now the code support older and newer versions
023afeb
to
5b3e53d
Compare
@ArthurZucker Hi, could please have a look? |
cc @Cyrilvallez for final review if Arthur is busy! |
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.
Thanks for the fix!
Fix usage of unpad_function See #35899 In the [commit](Dao-AILab/flash-attention@cdbbe84) return type of `unpad_input` was changed. Now the code support older and newer versions Co-authored-by: Pavel Gein <pavel.gein@gmail.com>
Fix usage of unpad_function See huggingface#35899 In the [commit](Dao-AILab/flash-attention@cdbbe84) return type of `unpad_input` was changed. Now the code support older and newer versions Co-authored-by: Pavel Gein <pavel.gein@gmail.com>
Fix usage of unpad_function See huggingface#35899 In the [commit](Dao-AILab/flash-attention@cdbbe84) return type of `unpad_input` was changed. Now the code support older and newer versions Co-authored-by: Pavel Gein <pavel.gein@gmail.com>
What does this PR do?
In the commit return type of
unpad_input
was changed. Now the code support older and newer versionsFixes #35899
Before submitting
Pull Request section?
to it if that's the case.
documentation guidelines, and
here are tips on formatting docstrings.
Who can review?
@ArthurZucker