-
Notifications
You must be signed in to change notification settings - Fork 431
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
Integrate INT8 mixed-precision from torchao 0.7 #1552
Open
gau-nernst
wants to merge
41
commits into
pytorch:main
Choose a base branch
from
gau-nernst:int8mp
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+193
−0
Open
Changes from 3 commits
Commits
Show all changes
41 commits
Select commit
Hold shift + click to select a range
cf3355e
add int8mp
gau-nernst d3bbaeb
Merge branch 'pytorch:main' into int8mp
gau-nernst 5a61d3e
add a flag
gau-nernst 560039d
create a quantizer
gau-nernst 2b6e066
add notes on when speedup can be expected
gau-nernst d32f5b8
clarify doc message
gau-nernst 60dad97
update docs
gau-nernst 8395070
add tiny log
gau-nernst b7b8a7d
update comment
gau-nernst 2829b03
add guard on torch version and CUDA sm
gau-nernst 688a1c8
add integration test
gau-nernst 21391ad
update test
gau-nernst f885d56
use dummy alpaca
gau-nernst 7db782c
fix typo
gau-nernst 8306f9a
Merge branch 'pytorch:main' into int8mp
gau-nernst 25a2451
convert speed test to smoke test
gau-nernst 86d5f04
Merge branch 'int8mp' of github.com:gau-nernst/torchtune into int8mp
gau-nernst 6094cdb
fix test
gau-nernst 19a2d3e
add ao version guard
gau-nernst faec18d
fix
gau-nernst f4f1945
Merge branch 'pytorch:main' into int8mp
gau-nernst 8fc2826
attempt LoRA
gau-nernst 911df57
fix lora
gau-nernst 51bbeac
skip LoRA
gau-nernst 1e5ae92
skip NF4
gau-nernst 1e4eaf6
Merge branch 'pytorch:main' into int8mp
gau-nernst 30585c2
Merge branch 'main' into int8mp
felipemello1 45b4365
typo
felipemello1 3e5b040
Merge branch 'main' into int8mp
gau-nernst 1ac836a
remove unwanted chnages
gau-nernst 5d94cb3
use module swap
gau-nernst 06abd88
remove unused import
gau-nernst 0ff702e
update docs. change to mixed_precision
gau-nernst 05563f2
add test. small fixes
gau-nernst 3050c32
add config entries
gau-nernst 864c6fb
remove extra compile
gau-nernst 1fed859
fix lora finetune
gau-nernst 66e8cdd
Merge branch 'main' into int8mp
gau-nernst 207308b
Merge branch 'main' into int8mp
gau-nernst 0fecc26
fix version check
gau-nernst 39e1fc1
dont set inductor config
gau-nernst 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
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.
since there may be issues around lora, can we duplicate this function and add it for LoRA too?