-
Notifications
You must be signed in to change notification settings - Fork 30k
Revert FA2 kwargs construction #40029
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
base: main
Are you sure you want to change the base?
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. |
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.
So if I understand the PR correctly we're moving back to prepare during generate instead of during the fa forward? 👀
yep, to be explicit + a lil faster than computing in FA2 utils per layer |
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.
Thx LGTM, will merge this into #40002 then - hopefully we have a somewhat more clean fa then :D
Failing tests are mostly timeout issues, CI has issues today. Only thing is probably style which is correct failure.
Morning @zucchini-nlp. I have a question here 🖐️
What about BART-based models? They use three types of attention: edit for more clearer: If we initialize fa kwargs during generation, can we set different kwargs for |
@ducviet00 You're right that in this form it won't work for Bart but it also doesn't support the It has to be changed in the future then tho, I agree! |
What does this PR do?
As per title, discussed internally