-
Notifications
You must be signed in to change notification settings - Fork 27.4k
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
Proper build() methods for TF #27794
Merged
Merged
Changes from all commits
Commits
Show all changes
83 commits
Select commit
Hold shift + click to select a range
778e8d4
Add a convenience method for building in your own name scope
Rocketknight1 078d6d1
Second attempt at auto layer building
Rocketknight1 560f1fb
Revert "Second attempt at auto layer building"
Rocketknight1 f226cb8
Attempt #3
Rocketknight1 b85e78e
Revert "Attempt #3"
Rocketknight1 fcb197c
Add missing attributes that we're going to need later
Rocketknight1 80ab7a2
Add some attributes we're going to need later
Rocketknight1 23a01d6
A fourth attempt! Feel the power flow through you!
Rocketknight1 3512ad8
Revert "A fourth attempt! Feel the power flow through you!"
Rocketknight1 2fc9c52
Add more values we'll need later
Rocketknight1 1598499
TF refactor that we'll need later
Rocketknight1 08f6920
Revert "TF refactor that we'll need later"
Rocketknight1 fda421c
Revert "Revert "TF refactor that we'll need later""
Rocketknight1 6d3d21b
make fixup
Rocketknight1 4e05867
Attempt five!
Rocketknight1 74fa85e
Revert "Attempt five!"
Rocketknight1 ff32320
Attempt six - this time don't add empty methods
Rocketknight1 eaa2657
Revert "Attempt six - this time don't add empty methods"
Rocketknight1 fb341eb
Attempt seven - better base model class detection!
Rocketknight1 454b4e9
Revert "Attempt seven - better base model class detection!"
Rocketknight1 3acfb9b
Another attribute we'll need later
Rocketknight1 6107b79
Try again with the missing attribute!
Rocketknight1 0d1f682
Revert "Try again with the missing attribute!"
Rocketknight1 e3cc28e
This is the attempt that will pierce the heavens!
Rocketknight1 01de371
Revert "This is the attempt that will pierce the heavens!"
Rocketknight1 2de4263
Attempt seven - snag list is steadily decreasing
Rocketknight1 f4216fb
Revert "Attempt seven - snag list is steadily decreasing"
Rocketknight1 d58b13d
Attempt eight - will an empty snag list do it?
Rocketknight1 0f1fdb3
Revert "Attempt eight - will an empty snag list do it?"
Rocketknight1 3086783
Fixes to Hubert issues that cause problems later
Rocketknight1 f632a59
Trying again with Conv1D/SeparableConv fixes
Rocketknight1 6a33350
Revert "Trying again with Conv1D/SeparableConv fixes"
Rocketknight1 f3c5145
Apply the build shape fixes to Wav2Vec2 as well
Rocketknight1 a4cd293
One more attempt!
Rocketknight1 8e49790
Revert "One more attempt!"
Rocketknight1 a169fd2
Another attempt!
Rocketknight1 c5175d9
Revert "Another attempt!"
Rocketknight1 7cb3679
Let's see how many failures we get without the internal build method
Rocketknight1 3da8e67
Fix OpenAI
Rocketknight1 04264f4
Fix MobileBERT
Rocketknight1 cbcd61e
(Mostly) fix GroupVIT
Rocketknight1 a814073
Fix BLIP
Rocketknight1 355de20
One more BLIP fix
Rocketknight1 2ea0f87
One more BLIP fix!
Rocketknight1 c771a90
Fix Regnet
Rocketknight1 6ec68e0
Finally fully fix GroupViT
Rocketknight1 a421239
Fix Data2Vec and add the new AdaptivePool
Rocketknight1 d619185
Fix Segformer
Rocketknight1 790222c
Fix Albert
Rocketknight1 7e6f7ce
Fix Deberta/DebertaV2
Rocketknight1 a858347
Fix XLM
Rocketknight1 d73fbbe
Actually fix XLM
Rocketknight1 46d3e66
Fix Flaubert
Rocketknight1 79b5c42
Fix lxmert
Rocketknight1 6591d93
Fix Resnet
Rocketknight1 f58a28f
Fix ConvBERT
Rocketknight1 47fd55e
Fix ESM
Rocketknight1 53f8c3e
Fix Convnext / ConvnextV2
Rocketknight1 2b3badc
Fix SAM
Rocketknight1 c6d784d
Fix Efficientformer
Rocketknight1 8aca4d6
Fix LayoutLMv3
Rocketknight1 843b021
Fix speech_to_text
Rocketknight1 eba42e5
Fix mpnet and mobilevit
Rocketknight1 73a71c2
Fix Swin
Rocketknight1 8dc4808
Fix CTRL
Rocketknight1 54ce3a9
Fix CVT
Rocketknight1 a560a33
Fix DPR
Rocketknight1 d59aaed
Fix Wav2Vec2
Rocketknight1 08a72b6
Fix T5
Rocketknight1 1855891
Fix Hubert
Rocketknight1 6c25b54
Fix GPT2
Rocketknight1 3a2c834
Fix Whisper
Rocketknight1 b7553a2
Fix DeiT
Rocketknight1 5e6524e
Fix the encoder-decoder / dual-encoder classes
Rocketknight1 25550fb
make fix-copies
Rocketknight1 a130cbc
build in name scope
Rocketknight1 7aebcb4
Merge branch 'main' into proper_tf_weight_building
Rocketknight1 ef281aa
Fix summarization test
Rocketknight1 5adb89b
Fix tied weight names for BART + Blenderbot
Rocketknight1 deff359
Fix tied weight name building
Rocketknight1 b13ed89
Fix to TFESM weight building
Rocketknight1 568f9aa
Update TF SAM
Rocketknight1 5e31b77
Expand all the shapes out into Big Boy Shapes
Rocketknight1 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
Oops, something went wrong.
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.
What's the significance of "summary" here?