Commit Graph

70 Commits

Author SHA1 Message Date
Mateusz Tabaka
154850e8ca Eliminate dequantization shift when zero point == 0 (#13353)
Ticket: 91111
2022-10-27 01:37:13 +02:00
Ilya Churaev
2a344b66cb Update to the latest cmake for Windows (#13604)
* Update to the latest cmake for Windows

* Skip new warnings

* Added compiler flags for old cmake

* Disabled some warnings

* Suppress new warnings

* Fixed some errors

* Disable some warning for lpt

* Fix some warnings

* Disable new warnings

* Fix some warnings

* Disabled Was error for arm

* Fixed some errors

* Fixed some new warnings

* Fixed auto plugin

* Fixed Windows warning

* Fixed Windows

* Disable some warnings

* Some changes

* Small test fixes

* Fixed python build

* Added skip warnings for legacy python API
2022-10-25 18:11:46 +04:00
Vladislav Golubev
a25c2ba665 [LPT] Precision restrictions extending (#13172)
* [LPT] Precision restrictions extending

* Compilation error fixed

* Markup for SubgraphOps fixed

* cleanup

* Review fixes: removed vector<size_t> wrapper in PrecisionRestriction class

* Review fixes: added comments

* docs compilation fix
2022-10-19 12:29:32 +02:00
Vladislav Golubev
372fe475c9 [LPT] Removed legacy limitations on dequantization propagation for several transformations (#13048) 2022-10-10 10:58:23 +04:00
Ilya Churaev
8a9c19e3eb Warning as error for Windows (#13291)
* parent 6e7016ccda
author Ilya Churaev <ilya.churaev@intel.com> 1664281499 +0400
committer Ilya Churaev <ilya.churaev@intel.com> 1664510018 +0400

Fixed warnings on local machine

* Added CMAKE_COMPILE_WARNING_AS_ERROR usage

* Fixed style

* Fixed merge conflicts

* Fixed typo

* Fixed myriad build for macOS

* Fixed warning

* Fixed tests

* Disabled incorrect test

* Try to fix linux tests

* Revert "Try to fix linux tests"

This reverts commit 29224c93ff.

* Fixed tests

* Revert logic with incorrect cast

* Fixed log softmax

* Disable warning as error for cuda

* Try to fix inference_engine_s

* Fixed cmake

* Revert "Fixed cmake"

This reverts commit 87e9e4e674.

* Revert "Try to fix inference_engine_s"

This reverts commit a1adca8b05.

* WA for static symbols in inference_engine_s test library

* Fixed code style

* Fixed static definition for master

* Revert "Fixed static definition for master"

This reverts commit 20d00d215a.

* Revert "Fixed code style"

This reverts commit 0eb2362543.

* Revert "WA for static symbols in inference_engine_s test library"

This reverts commit 75ef86a79d.

* Fixed linker issue for Windows

* Disable WaE by default

* Disable warning as error in the developer package

* Try to fix dev package

* Try to fix Windows Jenkins

* Revert old behavior for tread_warn_as_err variable
2022-10-06 13:44:21 +04:00
Vladislav Golubev
88e4ac5e53 [LPT] Fixes for the cases with convert before subtraction constant (#12835) 2022-09-06 20:41:29 +03:00
Egor Duplenskii
a89c4cfc3f [LPT] Correct a check for whether model is quantized (#12364)
Look inside subgraph operations, such as TensorIterator, Loop, If, etc
2022-08-03 20:36:01 +04:00
River Li
0ef4ccb86f [CC]Fix CC issue for transformation (#12292)
* Revert "Fixed 3 naming issue"

This reverts commit a92d3cfff5.

* Revert "Fix CC issues for transformation and snippets"

This reverts commit d08a3f5aac.

* Fix NGRAPH_PASS_CALLBACK issue to make it can work

* Fix matcher name missing issue
2022-07-27 16:17:53 +04:00
Mang Guo
a571539107 Optimize FullyConnected FakeQuantize post-ops (#11819)
* Optimize FullyConnected FakeQuantize post-ops

* matmul bias fuse

* Add simplifyToScale for FakeQuantize and use it in FC and Conv.

* Add fakequantize documentation

* Update doc and fix accuracy issue

* Update doc

* Fix accuracy regression

* Generalize the judgment Criteria about fake quantization with scale

* Update document

Co-authored-by: Zhang Yi3 <yi3.zhang@intel.com>
Co-authored-by: xuchen-intel <chen.xu@intel.com>
2022-07-05 09:39:42 +08:00
River Li
0571124fd3 Fix CC issues for transformation and snippets (#11798)
* Fix CC issues for transformation and snippets

Matcher should be enabled if it was hit during analyze stage.

* Fixed 3 naming issue
2022-06-13 13:36:35 +08:00
Edward Shogulin
542a374c40 [LPT] Introduce new quantization mode attribute (#11380) 2022-04-04 13:27:03 +03:00
Edward Shogulin
5d821453ae [LPT] Introduce new granularity attribute instead of OperationPerTensorQuantizationRestriction (#11330) 2022-04-03 19:35:04 +03:00
Andrey Zaytsev
cad355a03e Docs labels adjustment (#11227) (#11294)
* Adjusted documentation labels

* Renamed images

* fix doc tests

Co-authored-by: CCR\ntyukaev <nikolay.tyukaev@intel.com>
# Conflicts:
#	docs/IE_PLUGIN_DG/ExecutableNetwork.md
2022-04-01 15:06:55 +03:00
Egor Shulman
23476c8eee CC for LPT transformation call in CPU plugin (#11341)
* Use CC in LPT

* Applied comment
2022-03-31 12:35:27 +03:00
Ilya Lavrenov
19d0e5ba52 CMAKE: IE_VERSION => OpenVINO_VERSION (#11242)
* IE_VERSION => OpenVINO_VERSION

* Reverted installation of python unconditionally
2022-03-28 19:32:21 +03:00
Vladimir Zinoviev
4a2d0f39dd [LPT] Turn back checks in reshape transformation when subtract is absent (#10939) 2022-03-15 11:34:12 +03:00
Ilya Churaev
ad1c4a24c3 Deprecate version inside DiscreteTypeInfo (#10781)
* Deprecate version inside DiscreteTypeInfo

* Fixed code style

* Fixed openvino for macOS

* Fixed build for macOS

* Fixed errors for Windows build
2022-03-14 21:18:00 +03:00
Ilya Churaev
0bc6196d96 Migrate to new RTTI for all transformations and graph structures (#10703)
* Migrate to new RTTI for all transformations and graph structures

* Fixed code style
2022-03-14 06:57:21 +03:00
Vladimir Zinoviev
eebe8c70f9 [LPT] Fix out of bounds access in reshape (#10791) 2022-03-11 18:04:14 +03:00
Edward Shogulin
5be402750a [LPT] FuseConvert transformation extension (#10558)
* [LPT] FuseConvert transformation extension

* [LPT] Tests

* [LPT] Cleanup & tests refactoring
2022-02-22 02:02:11 +03:00
Nikita Demashov
f7a85c59fe [LPT] Disable Move Fake Quantize on shuffle channels pattern (#10389)
* added shuffle channels check

* refactoring
2022-02-21 10:01:37 +03:00
Edward Shogulin
17311c46b3 [LPT] checkElementwise extending for 1D tensor (#10498) 2022-02-18 09:41:17 +03:00
Vladislav Golubev
ff4e97ab09 [LPT] Security fixes (#10465) 2022-02-17 13:47:27 +03:00
Vladislav Golubev
fa4246d531 [LPT] Security fixes (#10381) 2022-02-16 10:31:17 +03:00
Ilya Znamenskiy
523adff17a [GPU] Fully connected int8 optimizations, some fixes, better fused ops support (#10035) 2022-02-15 12:33:16 +03:00
Mingyu Kim
13c024b7a3 Remove unnecessary cout message (#10346) 2022-02-15 16:14:56 +09:00
Maksim Derbasov
bb0d82f724 Fix warnings (#10278) 2022-02-14 07:48:41 +03:00
Nikita Demashov
20d2633af0 removed defaultPrecisions as global variable and added as field in Params class (#9185)
fix canConvolutionBeTransformed arguments

fix isAsymmetricOnWeights in GPU plugin

added defaultPrecisions in TestTransformationParams

set new default attribute precisions

try to set const default precisions in network_helper.cpp

apply precision_set

[LPT] Default precisions

rebase

remove extra const

used defaultPrecision in tests

fixed SimpleLowPrecisionTransformer default argument

fixed AttributeParameters default argument

added defaultPrecisions in functions

fix assign_and_read_value_transformation tests

fixed wrong defaultPrecisions definition

fixed ConcatWithNeighborsWithConvolutionTransformation tests

remove getDefaultPrecisions

rebase

remove getDefaultPrecisions from gpu plugin

remove getDefaultPrecisions from lpt_mkldnn_plugin.cpp

use predefined member

update mkldnn_plugin.cpp & lpt_mkldnn_plugin.cpp

resolved conversations

make all lambda captures by ref
2022-02-11 13:41:03 +03:00
Vladislav Golubev
d28f8b7857 [LPT] Security fixes (#10243) 2022-02-09 20:46:39 +03:00
Vladislav Golubev
051724f0d5 [LPT][Dynamic shapes] MoveFakeQuantize trasformation fix (#10178)
* [LPT] MoveFQ fix

* [LPT] MoveFQ: added check on dynamic channel in case of per-channel fq

* [LPT] MoveFQ: tests extending
2022-02-09 13:55:50 +03:00
Edward Shogulin
c4e54d882b [LPT] StridedSlice extending (#10148)
* [LPT] StridedSlice extending

* [LPT] tests
2022-02-09 11:23:18 +03:00
Edward Shogulin
c6c9a06d41 [LPT] getDataPrecision extending (#10071)
* [LPT] getDataPrecision extending

* [LPT] getDataPrecision unit tests addition
2022-02-07 19:49:01 +03:00
Nikita Demashov
74fa60cf86 [LPT] Fixed an incorrect condition & added test to MoveFakeQuantize transformation (#10009)
* fixed an incorrect condition & added test

* fixed an incorrect condition & added test
2022-02-07 12:32:49 +03:00
Vladislav Golubev
265ab03314 Transformations: eltwise and FQ fusings fixes (#10078)
* FQ fusings fixes

* FQ Fusings: added negative test-cases for non-broadcasted constant
2022-02-04 17:57:13 +03:00
Edward Shogulin
e8b88b9021 [LPT] foldFakeQuantize extending to support empty shapes (#10116) 2022-02-03 23:01:27 +03:00
Edward Shogulin
cc19ff74f1 [LPT] [GPU] Multiply to group convolution (#9971)
* [LPT] MultiplyToGroupConvolution optimization for GPU

* [LPT] MatMul in FP32 in GPU workarround support

* [LPT] GPU plugin tests
2022-02-01 08:10:27 +03:00
Edward Shogulin
1176b0f1f9 [LPT] MoveFakeQuantize parent output fix & refactoring (#9872)
* [LPT] MoveFakeQuantize parent output fix & refactoring

* [LPT] tests extending
2022-01-29 10:04:07 +03:00
Edward Shogulin
72583261fc [LPT] Coverity issue fix: getMinValue (#9991) 2022-01-28 17:49:38 +03:00
Vladislav Golubev
bd7a5db029 [LPT] Reduced gaps between static and dynamic execution (#9775)
* LPT: removed limitations on Dq by dynamic channel

* [TESTS] LPT tests updated
2022-01-27 15:07:42 +03:00
Vladislav Golubev
a3e2dbe353 [LPT] MoveFQ fix (#9821) 2022-01-21 10:06:17 +03:00
Alexey Suhov
a79830cb55 Update year to 2022 in copyright notice (#9755) 2022-01-19 01:07:49 +03:00
Edward Shogulin
bd97d1edc6 [LPT] SharedValueAttribute extending (#9534)
* [LPT] SharedValueAttribute extending

* [LPT] tests + comments
2022-01-14 13:33:07 +03:00
Nikita Demashov
1df9f958e2 [LPT]MoveFakeQuantize resolved minor comments (#9614)
* Q/DQ + mulichannel support

backup

fix interval

mfk_functiun.cpp

WIP moveDequantizationBefore

add moveDequantizationBefore function

add cpu and gpu tests

attribute cmp false

attribute cmp false

rm temp line

mkl-dnn update

concat with multichanels for mOve_fake_quantize_function, bad runtime info for q/dq

rm extra qualification

fix run time info for q/dq

add support of multichanel fakequantize, bad test for it

work tests for multi chanel FQ

rm workaround

cpplint fix

cpplint fix

don't worl Variadic split

ieFuncTest work

cpuFuncTest work

Fix benchmark_app build (#7577)

[GPU] Added onednn dependency. (#6564)

cpp lint

cpplint

fix get_shape

fix fq constants

cpp lint

some fix in mfk.cpp

resolve conversations, add spil_nodes function

add new tests for multi-chanels, rename NetworkHelper::split_consts_before_concat()

fix get fq constants

* add new multi-chanels test and use constant_fold to split constant

* remove extra spaces

fix namespase terminated

fix namespase terminated

* resolved minor comments

* added check for convert_q
2022-01-14 10:40:10 +03:00
Vladimir Zinoviev
b6d60a2c82 [LPT] Support FakeQuantize with convert on intervals (#9579)
* [LPT] Support FakeQuantize with convert on intervals

* [LPT] GPU tests
2022-01-12 14:50:19 +03:00
Nikita Demashov
dce2aa2c0e [LPT]MoveFakeQuantize Q/DQ (#7430)
* Q/DQ + mulichannel support

backup

fix interval

mfk_functiun.cpp

WIP moveDequantizationBefore

add moveDequantizationBefore function

add cpu and gpu tests

attribute cmp false

attribute cmp false

rm temp line

mkl-dnn update

concat with multichanels for mOve_fake_quantize_function, bad runtime info for q/dq

rm extra qualification

fix run time info for q/dq

add support of multichanel fakequantize, bad test for it

work tests for multi chanel FQ

rm workaround

cpplint fix

cpplint fix

don't worl Variadic split

ieFuncTest work

cpuFuncTest work

Fix benchmark_app build (#7577)

[GPU] Added onednn dependency. (#6564)

cpp lint

cpplint

fix get_shape

fix fq constants

cpp lint

some fix in mfk.cpp

resolve conversations, add spil_nodes function

add new tests for multi-chanels, rename NetworkHelper::split_consts_before_concat()

fix get fq constants

* add new multi-chanels test and use constant_fold to split constant

* remove extra spaces

fix namespase terminated

fix namespase terminated
2022-01-11 22:49:16 +03:00
Vladimir Zinoviev
acdbbf4363 [LPT] fix build (#9566) 2022-01-11 13:25:36 +03:00
Edward Shogulin
2c6078e96c [LPT] Documentation (developer guide) (#7444)
* [LPT] Documentation

* 1) ToC was removed 2) SVG => PNG temporary conversion

* [LPT] Refactoring + developer guide

* [LPT] attribute doxygen documentation was added

* [LPT] Developer Guide to Reference API links were added

* [LPT] comments fixes

* [LPT] Reference API to Developer Guide links were added

* [LPT] titles were changed

* [LPT] comments fixes #2

* [LPT] root document was moved to Plugin DG

* [LPT] Documentation: image link quick fix

* [LPT] Docummentation: PrecisionsAttribute description quick fix

* fix comments from Karol

* fixes

* movement

* directive was added

* movement #2

* LPT reference in Executable Network rollback

* snippets were updated ini accordance with new API
2022-01-11 11:51:15 +03:00
Vladimir Zinoviev
b744c11b88 [LPT] INT16, INT32 leftovers (#7653) 2022-01-10 21:09:10 +03:00
Alexander Zhogov
32bc7840fc Revert "Revert "[LPT] Assign + ReadValue transformation (#8690)" (#9457)" (#9460)
This reverts commit d51f337934.
2021-12-27 22:51:23 +03:00
Alexander Zhogov
d51f337934 Revert "[LPT] Assign + ReadValue transformation (#8690)" (#9457)
This reverts commit c5824b8494.
2021-12-27 18:25:11 +03:00