-
Notifications
You must be signed in to change notification settings - Fork 2.8k
[LPT] QDQ stripping #32266
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
base: master
Are you sure you want to change the base?
[LPT] QDQ stripping #32266
Conversation
5f34c30 to
e5042b0
Compare
1a40855 to
a911da0
Compare
1e75852 to
8faa050
Compare
|
@aobolensk could you please review LPT part? |
.../tests/functional/shared_tests_instances/low_precision_transformations/fq_transformation.cpp
Show resolved
Hide resolved
src/plugins/intel_gpu/tests/functional/subgraph_tests/dynamic/qdq_stripping.cpp
Show resolved
Hide resolved
src/plugins/intel_gpu/tests/functional/subgraph_tests/dynamic/qdq_stripping.cpp
Outdated
Show resolved
Hide resolved
...mon/transformations/src/transformations/common_optimizations/convert_quantize_dequantize.cpp
Show resolved
Hide resolved
...mon/transformations/src/transformations/common_optimizations/convert_quantize_dequantize.cpp
Outdated
Show resolved
Hide resolved
...mon/transformations/src/transformations/common_optimizations/convert_quantize_dequantize.cpp
Show resolved
Hide resolved
...mon/transformations/src/transformations/common_optimizations/convert_quantize_dequantize.cpp
Show resolved
Hide resolved
...mon/transformations/src/transformations/common_optimizations/convert_quantize_dequantize.cpp
Show resolved
Hide resolved
...mon/transformations/src/transformations/common_optimizations/convert_quantize_dequantize.cpp
Outdated
Show resolved
Hide resolved
| manager.register_pass<ov::pass::ConvertQuantizeDequantize>(TypeVector{i16, u16}, TypeVector{f32}, true); | ||
| // 3. Strip FQ layers with unsupported levels | ||
| bool replace_with_clamp = ov::util::getenv_bool("REPLACE_QDQ_WITH_CLAMP", true); | ||
| std::cout << "[ QDQ STRIPPING INFO ] replace_with_clamp = " << replace_with_clamp << std::endl; |
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.
Please remove unnecessary log message
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.
Removed, thanks. The REPLACE_QDQ_WITH_CLAMP env variable should be also removed if accuracy validation show no issues
|
@v-Golubev did you validate this PR on existing model/validation set? |
|
The PR can be merged after we get accuracy validation results on real models |
Details:
Tickets: