-
Notifications
You must be signed in to change notification settings - Fork 3.1k
[LPT] FQStripping transformation rework #33989
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
v-Golubev
merged 77 commits into
openvinotoolkit:master
from
v-Golubev:vg/lpt/qdq_stripping_rework
Mar 4, 2026
Merged
Changes from 75 commits
Commits
Show all changes
77 commits
Select commit
Hold shift + click to select a range
0bf796a
Added QDQ stripping pipeline to CPU plugin
v-Golubev 86044a8
CPU QDQ Stripping tests
v-Golubev 94ab742
[TMP] Add debug serialization
v-Golubev 4a5f8cd
Refactor FQStripping
v-Golubev 18aca0c
Tests refactoring
v-Golubev 30df189
NeedScalingMulMatMul
v-Golubev 3360153
Added third pattern
v-Golubev 23c839e
WIP: 1st stage
v-Golubev aaed259
Tests further modification
v-Golubev c4ed9d8
Pass simplification
v-Golubev b218b13
Original implementation WIP
v-Golubev 927bd27
Added dubug serialization for GPU
v-Golubev cbc3120
Restore old build_shared_dq_pattern builder
v-Golubev 05fa938
Adjust quantization values
v-Golubev 522f4ec
Simplified impl: first steps
v-Golubev 883079e
Scale adjustment initial impl
v-Golubev 470aee5
All tests passed
v-Golubev 1b57039
Logging via env variable
v-Golubev b219805
Add scale_factor related env variables
v-Golubev 414460e
Added serialization via env variable
v-Golubev 777dacd
Removed debug serialization from plugins
v-Golubev f23c48f
Change debug log env var name
v-Golubev bcf272c
Added SERIALIZE_MODEL env var
v-Golubev 1f95a5d
Convert on zero point
v-Golubev ef74512
tests builder unification
v-Golubev 55dd75d
Minor pass adjustments
v-Golubev e2067c1
Add bias after ONNX FE conversion support
v-Golubev 66ca640
Fixed max dq scale computation
v-Golubev 691d2f5
Reproduce f16 overflow in tests in case when scale adjustment doesn't…
v-Golubev 9dcb2c5
Stop backward propagation at ShapeOf nodes
v-Golubev dfcc682
MatMul with bias support
v-Golubev f2b8e31
Cover MM with bias with tests
v-Golubev f21cb93
NeedScalingResidualBlock: tightened threshold
v-Golubev aab88d5
NeedScalingMulMatMul: tightened threshold
v-Golubev 8555aa8
Threshold is aligned for all tests
v-Golubev e9338e7
Logging extended
v-Golubev fb1356d
QDQ stripping: implement forward propagation for scale adjustment
v-Golubev e836b87
QDQ stripping: handle FQ in propagation and merge into single pass
v-Golubev 644ae12
Track stripped FQs and prevent skip-connection double-scaling in forw…
v-Golubev 4ac06a6
Add FQ on residual block Conv branch to test backward propagation fro…
v-Golubev 83ee56b
Use 65536 levels for test FQs so they are stripped after range adjust…
v-Golubev c28e302
Add TransformationTestsF tests for QDQ stripping algorithm
v-Golubev 8135ae7
Fixed fq_ranges_are_the_same lambda
v-Golubev de6e1fd
Fix FQ ranges in GPU and LPT QDQ stripping tests
v-Golubev ada023e
style
v-Golubev 5eb3721
ratio is set to 10
v-Golubev a5f0823
Moved builders to tests
v-Golubev 0e03f19
LPT subgraph tests
v-Golubev c5c1aad
style
v-Golubev 8678278
Reverted CPU related changes
v-Golubev 088a020
Introduced need_weights_adjustment parameter
v-Golubev 9b2604b
LPT tests extending
v-Golubev 8b8ecfc
Handle Result in forward propagation
v-Golubev f0998c1
debug info cleanup
v-Golubev b7262ac
Per-channel FQ support
v-Golubev f7752b6
refactoring
v-Golubev b68350a
Further code cleanup
v-Golubev eb47692
Simplification
v-Golubev cc8e3b4
Avoid double scaling
v-Golubev 3f0b856
Refactoring
v-Golubev be62a55
Handle mul/MatMul with 2 activations
v-Golubev 85a4951
Cleanup
v-Golubev bb2d73d
Some refactoring
v-Golubev 3b695fe
Handled bias during forward propagation
v-Golubev bb9c6be
Forward/Backward propagation significantly simplified
v-Golubev 4112f19
Further simplification
v-Golubev 8a4b222
ScaleAdjuster: is_allowed_node introduced for safety
v-Golubev 4ef530c
Remove some nodes from is_allowed_node
v-Golubev b922711
Code cleanup
v-Golubev e8d81aa
Added some docs
v-Golubev 20bb11e
Tests cleanup
v-Golubev 24c7ecc
Fixed shared_dq test case
v-Golubev 36ab9ce
fixed build_residual_block_pattern
v-Golubev 721e31e
Review comments applied
v-Golubev 767438a
LPT test builders correction
v-Golubev e42db4d
[TESTS] Residual block pattern: added shortcut convolution
v-Golubev 46c7182
Merge branch 'master' into vg/lpt/qdq_stripping_rework
v-Golubev 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
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.