This repository has been archived by the owner on Sep 18, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Api refactor #1728
Merged
Merged
Api refactor #1728
Changes from all commits
Commits
Show all changes
39 commits
Select commit
Hold shift + click to select a range
400e312
fix tools/nni_gpu_tool pylint
d0f65c8
Merge branch 'master' of https://github.com/microsoft/nni
5d1a115
add instrument_layer_hook && fix quantization param calc
cb89e16
Merge branch 'master' of https://github.com/microsoft/nni
493b0f3
add QAT example
bd809a7
remove data
c41a6cc
modify framework
Cjkkkk 1b02f6a
rm irrelevant files
Cjkkkk 61d471e
fix pylint for QAT quantizer
Cjkkkk 3a3f3ce
resolve conflicts
Cjkkkk f884f2a
API refactor
Cjkkkk 47d639f
warning for no weight parameter
Cjkkkk 985dc43
API refactor
Cjkkkk c2e3871
fix pylint for QAT_torch_quantizer.py
Cjkkkk 71c3369
init modules_to_compress to None
Cjkkkk 2897613
modify config
Cjkkkk e837314
add doc string for QAT_quantizer
Cjkkkk e229624
rename quant_delay to quant_start_step
Cjkkkk bca4b51
remove EMA
Cjkkkk 1ddba06
add docstring to explain dequantize in dequantize method
Cjkkkk 439cdec
fix typo
Cjkkkk 34f3b62
fix
Cjkkkk 8ef4c4b
change to stateless
Cjkkkk 4a1d122
update doc
Cjkkkk 6a29346
fix
Cjkkkk 40f9062
remove return name in docstring
Cjkkkk 81bb549
fix test
Cjkkkk 2c09777
update doc
Cjkkkk ce7bea6
fix docstring
Cjkkkk 8102990
fix compressor doc
Cjkkkk 762d74d
Merge branch 'master' of https://github.com/microsoft/nni into api_fa…
Cjkkkk 43df1e1
API_refactor only
Cjkkkk 43eab27
API_refactor only
Cjkkkk 2231d35
rm layerinfo method
Cjkkkk a2e65b7
modify test
Cjkkkk 7631a63
fix wrong return statement & restore doc
Cjkkkk 9c619f2
fix docstring
Cjkkkk bec5297
fix docstring
Cjkkkk 13b1085
change docs
Cjkkkk 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
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.
new_output
undefine?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.
Oh, I follow the
quantize_weight
format. This means user needs to return a tensor, which is the quantized output.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.
OK. At least add
...
here?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.
Sure.
...
will make more sense.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.
I add a comment
I think this will be more clear.