-
Notifications
You must be signed in to change notification settings - Fork 33.9k
[loading/saving] Reverse all loading operations when saving #42396
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
Merged
Merged
Changes from all commits
Commits
Show all changes
36 commits
Select commit
Hold shift + click to select a range
47570d7
first shot
Cyrilvallez 69e5c9e
default to reversing
Cyrilvallez 8fdc41f
oupso
Cyrilvallez 9388354
oupsi 2
Cyrilvallez a9eb211
oupsi 3
Cyrilvallez ab05578
fix renamed kwargs
Cyrilvallez 96880e0
fix timm_wrapper
Cyrilvallez a73101b
remove fix_state_dict methods
Cyrilvallez eaf9ef3
can do it all the time, with __init__ as well
Cyrilvallez aa71dc4
doc
Cyrilvallez 04eeab9
oupsi
Cyrilvallez 67d9288
fix
Cyrilvallez ac25074
create helper
Cyrilvallez 9df2627
fix annotation annoying isue
Cyrilvallez 2530a52
small fix
Cyrilvallez d996f7c
small fixes
Cyrilvallez 9a80e7b
alright commit all that already
Cyrilvallez 6b161e0
oupsi
Cyrilvallez d5cecba
the fix
Cyrilvallez 17a8628
update quantizers
Cyrilvallez 5b4e695
this works
Cyrilvallez a4f2cb5
the hardcoded regex got me hard....
Cyrilvallez faa2179
style
Cyrilvallez 5c64084
the final one
Cyrilvallez 30bae5f
cleanup a bit
Cyrilvallez 58cc5b4
better
Cyrilvallez 2ef7399
style
Cyrilvallez 20e6927
oupsi readded it
Cyrilvallez b1a6621
do it inside the ops instead - no need for full names anymore
Cyrilvallez 20bcbdd
reverse quantizers and simplify signatures
Cyrilvallez 9e1bb41
small thingy
Cyrilvallez 1a240e6
add no_grad decorator
Cyrilvallez 8cda0fd
utils to rename keys
Cyrilvallez ca6445b
oupssii again
Cyrilvallez 6362901
add test
Cyrilvallez 59a97ad
simplify nicely
Cyrilvallez 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 hidden or 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.
Uh oh!
There was an error while loading. Please reload this page.