-
Notifications
You must be signed in to change notification settings - Fork 27.9k
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 TF s2s models #9478
Merged
Merged
Fix TF s2s models #9478
Changes from 21 commits
Commits
Show all changes
22 commits
Select commit
Hold shift + click to select a range
97ba5b4
Fix Seq2Seq models for serving
jplu ea7ad59
Apply style
jplu 05245a5
Fix lonfgormer
jplu 93c506d
Fix mBart/Pegasus/Blenderbot
jplu d0994c2
Apply style
jplu e4744e2
Add a main intermediate layer
jplu 568b56e
Apply style
jplu 63c8155
Remove import
jplu f7fc0bc
Apply tf.function to Longformer
jplu 8983943
Fix utils check_copy
jplu 50bd7ec
Update S2S template
jplu ba9d7bf
Fix BART + Blenderbot
jplu 0ce2305
Fix BlenderbotSmall
jplu b570ecc
Fix BlenderbotSmall
jplu af6d323
Fix BlenderbotSmall
jplu e754c77
Fix MBart
jplu 2f3bae1
Fix Marian
jplu a52c4ce
Fix Pegasus + template
jplu a34c625
Apply style
jplu 17b089f
Fix common attributes test
jplu 2d05216
Forgot to fix the LED test
jplu 1e3143e
Apply Patrick's comment on LED Decoder
jplu File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Isn't this a breaking change with version v4.2.x?
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.
Maybe that's more of a bugfix? Should we release a patch before the previous version gets too much usage?
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 a bug that all the Seq2Seq model have I don't know how this has been introduced, but was not part of my PR about Serving. Basically, this prevent the model to have a possible saved model, because all the values must be a tensor, not something else (here a tuple)