-
Notifications
You must be signed in to change notification settings - Fork 240
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix incorrect scales in SmoothQuant algo (#2830)
### Changes Incorrect processing of https://github.com/openvinotoolkit/nncf/blob/49e98205975e46fc81a227ca4b2e66ca043ef91e/nncf/quantization/algorithms/smooth_quant/algorithm.py#L141-L143 ### Reason for changes * To avoid error: operands could not be broadcast together with shapes, when we try to apply scales from previous group to node. SQ should be ignored for such nodes with an appropriate message: `DEBUG:nncf:Skipped SmoothQuant for nodes after <node_name> because of the empty scale`. ### Related tickets * 147043 ### Tests <!--- How was the correctness of changes tested and whether new tests were added -->
- Loading branch information
Showing
2 changed files
with
2 additions
and
2 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