-
Notifications
You must be signed in to change notification settings - Fork 149
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Extend quantizable layer types (#881) * Creates support to adding modules to the list of quantizable modules via a modifier flag. * Passed layer_class_argument to recursive call. * Changed flag name to have better contrast to exclude_module_types * Style and quality fixes * Update src/sparseml/pytorch/sparsification/quantization/helpers.py Co-authored-by: dbogunowicz <97082108+dbogunowicz@users.noreply.github.com> * Dea-activate conversions that remove Q/DQ after matmul * Remove unused code * Use public property name instead of alias * Replace conditional by dictionary * Style and quality fixes * Changed flag name to custom_quantizable_module_types to make it a bit less confusing when contrasted w/ existing flag exclude_module_types (sometimes the same module needs to be listed in both flags). * Fix of calls to set _exclude_module_types Co-authored-by: dbogunowicz <97082108+dbogunowicz@users.noreply.github.com> Co-authored-by: Rahul Tuli <rahul@neuralmagic.com> * Revert dtype conversion. Dictionary was breaking in some cases (#989) Co-authored-by: dbogunowicz <97082108+dbogunowicz@users.noreply.github.com> Co-authored-by: Rahul Tuli <rahul@neuralmagic.com>
- Loading branch information
1 parent
e7c5009
commit 1e5b27b
Showing
3 changed files
with
40 additions
and
35 deletions.
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