-
Notifications
You must be signed in to change notification settings - Fork 19
Activation Ordering #97
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
Changes from 72 commits
Commits
Show all changes
84 commits
Select commit
Hold shift + click to select a range
cfbe5e9
propagate g_idx to scale, zp
horheynm 27ee8d9
intialize empty g_idx
horheynm 4918140
get rid of g_idx in forward
horheynm 88908da
g_idx in forward
horheynm c884a3e
g_idx in _process_quantization
horheynm 460dfbd
remove unnec comments
horheynm a19788a
initialize param to -1, g_idx in forward call
horheynm 9607bdb
comments
horheynm 00b8772
add ability to disable forward pass override during quantization
3ae6698
add pathway for updating weight quant params from curent weight
d472287
add g_idx to observer
horheynm 6b13bd2
fix on load
horheynm c1eb3b4
fix prepopulated observer params
horheynm ae2c158
draft
horheynm 8069335
draft
horheynm 0b2e9ab
draft
horheynm 93749ef
two bug fixes: pass g_idx during compress and decompress, deep copy w…
kylesayrs bd92a10
remove perm from , add and remove comments
kylesayrs d51a8b6
implement `refresh_layer_weight_quant_params`
kylesayrs 5025fb6
update_layer_weight_quant_params reuse
kylesayrs bb35198
simplify grouped forward logic
kylesayrs ddc015a
rename group_id to group_index
kylesayrs 03a2ce9
3 lines to 1 line
kylesayrs 33968a1
clarify defaulting logic
kylesayrs ecf731e
initialize with g_idx if applicable
kylesayrs 4730ec3
update comment
kylesayrs 0aeacfc
add back import
kylesayrs 2e6d6e1
implement quantization cases of varying speeds
kylesayrs 0f804aa
correct typo
kylesayrs 4ef1c04
add g_idx and different quantization cases
kylesayrs 8797eb9
rearrange todos
kylesayrs d326914
comments
kylesayrs a8e2006
better spacing
kylesayrs 18fe91a
apply style
kylesayrs 88ed2cf
consolodate comments
kylesayrs d257106
add document and validation
kylesayrs c75bdc1
apply style
kylesayrs 6556cd5
handle case where g_idx is None
kylesayrs bfdb7f5
use permutation
kylesayrs 23c9f77
use permutation
kylesayrs bb9d6d7
apply style
kylesayrs a3adf88
save for future PR
kylesayrs 0558004
apply style
kylesayrs cf3e4d7
remove unneeded global
kylesayrs e3b1082
remove dangling comment
kylesayrs 0a1b366
Remove extra line
kylesayrs 588f151
detect experimental types using try except and caching
kylesayrs ead5497
add note about activation ordering
kylesayrs fc6faf9
add dtype test
kylesayrs 59d8c97
use sets and helper function
kylesayrs 029473b
fix bugs
kylesayrs 11af88e
apply style
kylesayrs b9fada2
add quantize dequantize tests, apply style
kylesayrs d627368
Merge branch 'g-idx-quantization' into act-order
kylesayrs 09b2dad
remove repeat arguments
kylesayrs acc170b
Merge remote-tracking branch 'origin' into act-order
kylesayrs c47ef41
better validation logic
kylesayrs 6330cfa
break up tests
kylesayrs 0b0d545
fix validate_group
kylesayrs 5887688
move safe_permute to utils
kylesayrs 09b198d
clean up observer, add tests
kylesayrs 2a96ec1
better spacing
kylesayrs bffc144
apply style
kylesayrs 793a610
remove merge dreggs
kylesayrs f1b7b3a
initial commit
kylesayrs d0e214d
add reset implementations
kylesayrs 42acc6b
fix tests import
kylesayrs 51f13cb
fix tests import
kylesayrs 12799b7
Merge branch 'ksayers/move-safe-permute' into act-order
kylesayrs 30e5955
None is okay
kylesayrs 45a3d6f
remove space
kylesayrs b42e04c
Merge remote-tracking branch 'origin/main' into act-order
kylesayrs 21d07c3
use correct dtypes for scale and floating point
kylesayrs 89b41c8
initialize to None and empty
kylesayrs 1ea14ce
do not set attribute if not used
kylesayrs 788eb41
initialize with none to standardize on optional quant_params
kylesayrs 8b8c666
load g_idx for naive_quantized compressor
kylesayrs 647f2e5
apply style
kylesayrs 0f61c8a
add depreciation todo
kylesayrs 50bc5e3
use default of -1s
kylesayrs a77331e
remove comment, do not register parameter if not used
kylesayrs 9777bdf
add tests
kylesayrs 1b869fa
original logic
kylesayrs 7475358
adjust comment
kylesayrs 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
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
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.
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.