-
Notifications
You must be signed in to change notification settings - Fork 31.4k
[core] Fix torchao #42289
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
[core] Fix torchao #42289
Changes from all commits
Commits
Show all changes
70 commits
Select commit
Hold shift + click to select a range
fd8e607
inital commit
ArthurZucker 7990c49
up
ArthurZucker 1a9f77a
update unexpected later on
ArthurZucker c82b5c8
Merge branch 'main' of github.com:huggingface/transformers into vlm-u…
ArthurZucker 30e405a
fix
ArthurZucker e9fcb66
update
ArthurZucker 4204535
simplify our lives
ArthurZucker 1da30a6
isolate a bit more
ArthurZucker 5c71300
fixup
ArthurZucker 6c33dc8
small nits
ArthurZucker e53e1c6
style
ArthurZucker 5e2e0c4
nit
ArthurZucker eb8493c
fix common cases
ArthurZucker 526001e
Merge branch 'main' of github.com:huggingface/transformers into vlm-u…
ArthurZucker 74c524d
fix post merge
ArthurZucker 7c04b0f
bnb needs missing keys
ArthurZucker 935e77f
small fix
ArthurZucker 6c23f3e
bettrer documentation
ArthurZucker b5adc5b
no veradict + base class
ArthurZucker 2746e0f
rake review comments
ArthurZucker b7591da
take all comments
ArthurZucker 138d415
fix super init
ArthurZucker cb63300
update doc to be more real
ArthurZucker 12a74d9
up
MekkCyber 1b6f64d
fix some tests
MekkCyber fe089ea
weight convertor
MekkCyber f1e8731
up
MekkCyber 9607be8
mostly correct
MekkCyber 4cc5912
oups
MekkCyber da2d82e
skip non linears
MekkCyber 4e7903f
only some tests to go
MekkCyber 6dfc5b1
need quantization
MekkCyber 4842c3a
fix tests
MekkCyber 18e677d
Merge branch 'main' into fix-torchao-v2
MekkCyber 81daea7
rm comment
MekkCyber a59b4d3
revert
MekkCyber c0f44e4
revert 2
MekkCyber ac87da6
style
MekkCyber 1900da8
up
MekkCyber a1f575e
up
MekkCyber 6261f34
remove unsafe loading path
MekkCyber d58a69b
fix
MekkCyber 33a3034
fix
MekkCyber 29fe298
fix
MekkCyber b673170
up
MekkCyber 81f0bc4
rm Dtensor import
MekkCyber 955b7b5
rm replicate import
MekkCyber 8a8ab52
fix imports
MekkCyber cbcf907
up
MekkCyber 564fbd3
minor modifications
SunMarc 10ed7b9
add quantizaton_operation
MekkCyber dfc2fc8
delattr
SunMarc df5a5fc
Merge remote-tracking branch 'upstream/fix-torchao-v2' into fix-torch…
SunMarc f90d29b
fix
SunMarc bff9528
fix get_param_buffer
SunMarc 07cc7fa
better to just set module initialized
SunMarc e713f43
rm tie_weights
MekkCyber e7aae58
guard imports
MekkCyber edcd1a0
up
MekkCyber cabd4e2
rm offloading for now
MekkCyber 7043cb8
add license
MekkCyber 396e06f
don't guard torch
MekkCyber d215565
comment
MekkCyber 56f695f
fix
MekkCyber 0dd7a35
rm torch.grad
MekkCyber 1f904ed
revert
MekkCyber 2bcc1a7
Merge branch 'main' into fix-torchao-v2
MekkCyber c63dfb9
fix
MekkCyber 755a2ba
add guard
MekkCyber 8ebf64f
add second guard
MekkCyber 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
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
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
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.
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.
most of the args should be optional kwargs so that we can clean the other convert function with **kwargs and only put args that are being used but that's fine, we should do that later on
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.
agreed