Commit Graph

11087 Commits

Author SHA1 Message Date
Pavel Esir
1b24e15e1e
[MO] fix IR graph comparator (#17411)
* fix graph compare (legacy python MO)

* fix failing unit-tests

* fix failing unit-tests: check that shape is defined

* added explanation comment

* Apply suggestions from code review

Co-authored-by: Roman Kazantsev <roman.kazantsev@intel.com>

* minor corrections

* add unit-tests

---------

Co-authored-by: Roman Kazantsev <roman.kazantsev@intel.com>
2023-05-20 10:05:26 +04:00
dependabot[bot]
f2e71cbd0a
Update fastjsonschema requirement from ~=2.15.1 to ~=2.16.3 in /tests (#16623)
Updates the requirements on [fastjsonschema](https://github.com/horejsek/python-fastjsonschema) to permit the latest version.
- [Release notes](https://github.com/horejsek/python-fastjsonschema/releases)
- [Changelog](https://github.com/horejsek/python-fastjsonschema/blob/master/CHANGELOG.txt)
- [Commits](https://github.com/horejsek/python-fastjsonschema/compare/v2.15.1...v2.16.3)

---
updated-dependencies:
- dependency-name: fastjsonschema
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Ilya Lavrenov <ilya.lavrenov@intel.com>
2023-05-20 00:15:36 +04:00
Ilya Lavrenov
da9f6c557f
Fixed linkage when THREADING=SEQ (#17620) 2023-05-19 17:30:29 +00:00
Ekaterina Aidova
dcd034fb4d
[PT FE]: support aten::argmax and aten::argmin (#17489) 2023-05-19 15:55:36 +00:00
Maksim Proshin
2513db5a04
DOCS Update optimization docs with NNCF PTQ changes and deprecation of POT (#17398)
* Update model_optimization_guide.md

* Update model_optimization_guide.md

* Update model_optimization_guide.md

* Update model_optimization_guide.md

* Update model_optimization_guide.md

* Update model_optimization_guide.md

* Update model_optimization_guide.md

* Update home.rst

* Update ptq_introduction.md

* Update Introduction.md

* Update Introduction.md

* Update Introduction.md

* Update ptq_introduction.md

* Update ptq_introduction.md

* Update basic_quantization_flow.md

* Update basic_quantization_flow.md

* Update basic_quantization_flow.md

* Update quantization_w_accuracy_control.md

* Update quantization_w_accuracy_control.md

* Update quantization_w_accuracy_control.md

* Update quantization_w_accuracy_control.md

* Update quantization_w_accuracy_control.md

* Update quantization_w_accuracy_control.md

* Update quantization_w_accuracy_control.md

* Update quantization_w_accuracy_control.md

* Update quantization_w_accuracy_control.md

* Update basic_quantization_flow.md

* Update basic_quantization_flow.md

* Update quantization_w_accuracy_control.md

* Update basic_quantization_flow.md

* Update basic_quantization_flow.md

* Update model_optimization_guide.md

* Update ptq_introduction.md

* Update quantization_w_accuracy_control.md

* Update model_optimization_guide.md

* Update quantization_w_accuracy_control.md

* Update model_optimization_guide.md

* Update quantization_w_accuracy_control.md

* Update model_optimization_guide.md

* Update Introduction.md

* Update basic_quantization_flow.md

* Update basic_quantization_flow.md

* Update quantization_w_accuracy_control.md

* Update ptq_introduction.md

* Update Introduction.md

* Update model_optimization_guide.md

* Update basic_quantization_flow.md

* Update quantization_w_accuracy_control.md

* Update quantization_w_accuracy_control.md

* Update quantization_w_accuracy_control.md

* Update Introduction.md

* Update FrequentlyAskedQuestions.md

* Update model_optimization_guide.md

* Update Introduction.md

* Update model_optimization_guide.md

* Update model_optimization_guide.md

* Update model_optimization_guide.md

* Update model_optimization_guide.md

* Update model_optimization_guide.md

* Update ptq_introduction.md

* Update ptq_introduction.md

* added code snippet (#1)

* Update basic_quantization_flow.md

* Update basic_quantization_flow.md

* Update quantization_w_accuracy_control.md

* Update basic_quantization_flow.md

* Update basic_quantization_flow.md

* Update ptq_introduction.md

* Update model_optimization_guide.md

* Update basic_quantization_flow.md

* Update ptq_introduction.md

* Update quantization_w_accuracy_control.md

* Update basic_quantization_flow.md

* Update basic_quantization_flow.md

* Update basic_quantization_flow.md

* Update ptq_introduction.md

* Update ptq_introduction.md

* Delete ptq_introduction.md

* Update FrequentlyAskedQuestions.md

* Update Introduction.md

* Update quantization_w_accuracy_control.md

* Update introduction.md

* Update basic_quantization_flow.md code blocks

* Update quantization_w_accuracy_control.md code snippets

* Update docs/optimization_guide/nncf/ptq/code/ptq_torch.py

Co-authored-by: Alexander Suslov <alexander.suslov@intel.com>

* Update model_optimization_guide.md

* Optimization docs proofreading  (#2)

* images updated

* delete reminder

* review

* text review

* change images to original ones

* Update filter_pruning.md code blocks

* Update basic_quantization_flow.md

* Update quantization_w_accuracy_control.md

* Update images (#3)

* images updated

* delete reminder

* review

* text review

* change images to original ones

* Update filter_pruning.md code blocks

* update images

* resolve conflicts

* resolve conflicts

* change images to original ones

* resolve conflicts

* update images

* fix conflicts

* Update model_optimization_guide.md

* Update docs/optimization_guide/nncf/ptq/code/ptq_tensorflow.py

Co-authored-by: Alexander Suslov <alexander.suslov@intel.com>

* Update docs/optimization_guide/nncf/ptq/code/ptq_torch.py

Co-authored-by: Alexander Suslov <alexander.suslov@intel.com>

* Update docs/optimization_guide/nncf/ptq/code/ptq_onnx.py

Co-authored-by: Alexander Suslov <alexander.suslov@intel.com>

* Update docs/optimization_guide/nncf/ptq/code/ptq_aa_openvino.py

Co-authored-by: Alexander Suslov <alexander.suslov@intel.com>

* Update docs/optimization_guide/nncf/ptq/code/ptq_openvino.py

Co-authored-by: Alexander Suslov <alexander.suslov@intel.com>

* table format fix

* Update headers

* Update qat.md code blocks

---------

Co-authored-by: Alexander Suslov <alexander.suslov@intel.com>
Co-authored-by: Tatiana Savina <tatiana.savina@intel.com>
2023-05-19 14:36:22 +00:00
Ilya Lavrenov
8b215ca363
Upgrade vresions to 2023.1 in packaging (#17626) 2023-05-19 18:07:05 +04:00
dependabot[bot]
50957cdddf
Bump pytest-timeout from 2.0.1 to 2.1.0 in /tests (#16750)
Bumps [pytest-timeout](https://github.com/pytest-dev/pytest-timeout) from 2.0.1 to 2.1.0.
- [Release notes](https://github.com/pytest-dev/pytest-timeout/releases)
- [Commits](https://github.com/pytest-dev/pytest-timeout/compare/2.0.1...2.1.0)

---
updated-dependencies:
- dependency-name: pytest-timeout
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Ilya Lavrenov <ilya.lavrenov@intel.com>
2023-05-19 13:30:37 +00:00
Alexandra Sidorova
9fafcabb7c
[Snippets] Moved infrastructure to Linear Intermediate Representation (#16402) 2023-05-19 17:16:36 +04:00
Maxim Vafin
41de4ba638
Add transformation to convert adaptive pool to reduce (#17488)
* Add transformation to convert adaptive pool to reduce

* Update src/common/transformations/src/transformations/common_optimizations/moc_transformations.cpp

* Add tests and apply feedback

* Simplify if branches

* Add to common pipeline

* Remove 3d AdaptivePool with out_shape 1

* Skip test instead of remove

---------

Co-authored-by: Andrei Kochin <andrei.kochin@intel.com>
2023-05-19 13:21:19 +02:00
Artyom Anokhov
0b48fc7159
Updated APT/YUM instructions with actual version. Added instructions for Ubuntu22. Updated subfolders naming for APT. (#17562) 2023-05-19 12:46:45 +02:00
Ilya Lavrenov
84db7d0ee6
Build using conanfile.txt (#17580)
* Build using conanfile.txt

* Update .ci/azure/linux_arm64.yml

* Several improvements

* Removed conanfile.py

* Try to use activate / deactivate

* Fixed clang-format code style

* Supported TBB version from Conan

* Added more NOMINMAX

* Fixed static build

* More improvements for static build

* Add usage of static snappy in case of static build

* More fixes

* Small fixes

* Final fixes
2023-05-19 14:01:39 +04:00
Pavel Durandin
54bbc9e603
[GPU] Fix out of range check for pooling (#17612)
* [GPU] Fix out of range check for pooling

* [GPU] Fix out of range check for pooling
2023-05-19 14:01:27 +04:00
Ilya Churaev
4eebd3a976
Register new plugin extensions (#17614)
* Register new plugin extensions

* Fixed build
2023-05-19 09:44:11 +00:00
Vladimir Paramuzov
b95aa84b45
[GPU] Removed some redundant internal passes (#17552) 2023-05-19 13:34:42 +04:00
Asthestarsfalll
36dbe95d9e
【PaddlePaddle Hackathon 4】add paddle flip op (#15828)
* add flip op

* fix

* fix signedness error

* update flip

* use Slice

* remove redundant codes

* unify flip and reverse

* fix bug

---------

Co-authored-by: cecilia peng <cecilia.peng@intel.com>
2023-05-19 11:30:27 +02:00
PuQing
d52efb96ea
【PaddlePaddle Hackathon 4】add paddle index_select op (#15851)
* add index_select

* fix func error

* fix index size error

* add axis native test

* set  default dim 0

* fix supported md

---------

Co-authored-by: Xiuchuan Zhai <xiuchuan.zhai@intel.com>
2023-05-19 10:57:11 +02:00
Ilya Lavrenov
c72a950701
Updated macOS build instruction for arm64 (#17610) 2023-05-19 11:05:02 +04:00
NetPunk
2e5468646c
【PaddlePaddle Hackathon 4】add paddle linspace op (#15835)
* update op linspace

* rewrite function name

* adjust op test

* adjust op test

* adjust op test

* format fuzzy

* remove annotations

* add suppot for int64

* remove umap

---------

Co-authored-by: cecilia peng <cecilia.peng@intel.com>
2023-05-19 08:34:06 +02:00
Egor Duplenskii
2680e9b7aa
[CPU][ARM][TESTS] Expect ref implementation for GeluErf (#17611) 2023-05-19 07:43:05 +02:00
dependabot[bot]
aec146ff8c
Bump pytest-timeout from 2.0.1 to 2.1.0 in /src/bindings/python (#16748)
Bumps [pytest-timeout](https://github.com/pytest-dev/pytest-timeout) from 2.0.1 to 2.1.0.
- [Release notes](https://github.com/pytest-dev/pytest-timeout/releases)
- [Commits](https://github.com/pytest-dev/pytest-timeout/compare/2.0.1...2.1.0)

---
updated-dependencies:
- dependency-name: pytest-timeout
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Ilya Lavrenov <ilya.lavrenov@intel.com>
2023-05-18 22:42:28 +00:00
Eddy Kim
7c84a586f9
[GPU] Fixed deserialization logic for dynamic batch (#17486)
* deserialization of dynamic batch

* updated multi stream tests

* added unit tests

* updated cache dir name

* resolved type conversion warning

* removed teardown()

* added const
2023-05-18 15:40:04 -07:00
Kelvin Choi
fac6668ed1
[GPU] Shape agnostic ref kernels implementation for convolution (#16593) 2023-05-18 15:21:30 -07:00
Pavel Durandin
ff0bea88cc
Reverse instead of sort in NMS ref (#17591) 2023-05-18 21:47:35 +04:00
Nadezhda Ageeva
fba272a298
Api2.0 fixes (#17475)
* Fix exception for BLOCKED layout

* Add set_task_executor/set_callback_executor methods for compiled model

* Fix inccorrect version

* Add SCALAR

* Clear extension in FrontEnd destructor
2023-05-18 18:20:35 +02:00
bstankix
7077ccc1b0
[DOCS] Remove latest from search (#17594) 2023-05-18 17:38:14 +02:00
Maciej Smyk
568f0eb21b
[DOCS] Link adjustment for master (#17607) 2023-05-18 15:12:34 +00:00
Maciej Smyk
d3d249afc6
[DOCS] RST fixes for master (#17603) 2023-05-18 15:55:43 +02:00
Alexandra Sidorova
b01cc9297f
[CPU][Tests] Removed Swish ref primitive (#17597) 2023-05-18 13:04:47 +00:00
Roman Kazantsev
ea35e35090
[MO][TF FE] Document freezing as essential step for pruning SM format (#17595)
* [MO][TF FE] Document freezing as essential step for pruning SM format

Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>

* Update docs/MO_DG/prepare_model/convert_model/Convert_Model_From_TensorFlow.md

Co-authored-by: Tatiana Savina <tatiana.savina@intel.com>

---------

Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
Co-authored-by: Tatiana Savina <tatiana.savina@intel.com>
2023-05-18 14:25:39 +04:00
Irina Efode
8cda1fdc51
Initial commit (#17538) 2023-05-18 11:42:10 +04:00
Egor Duplenskii
20cddb3a6e
[CPU][TESTS] Separate custom single layer tests per architecture (#17520) 2023-05-18 11:02:39 +04:00
Nikolay Shchegolev
2343609a95
[Core][Ref] Conv postcommit compilation fix. (#17585) 2023-05-18 09:05:03 +04:00
Alexey Kazakov
2f3efede4d
Temporary remove cron trigger from stale action (#17586)
* Temporary remove cron trigger from stale action

* Update stale_prs_and_issues.yml
2023-05-17 20:58:32 +02:00
Eddy Kim
2120e5ffe3
[GPU] enables ImportNetwork with remote_context API (#17482)
* enabled two ImportNetwork APIs

* removed unnecessary import_network impl

* added unit tests

* added include file_utils.hpp
2023-05-17 11:21:38 -07:00
David Nam
1173288777
[GPU] Fix layout optimizer removing reorder inappropriately in batch 2 (#17496)
* [GPU] Fix with permute mismatching input layout with ouput in batch 2

* Add unit test

* Fix unit test

* Don't use deprecated interface for layer test
2023-05-17 10:20:26 -07:00
Egor Duplenskii
1e878b6a01
[CPU] Reorganize development documentation (#16708) 2023-05-17 17:29:47 +04:00
Surya Siddharth Pemmaraju
e14d1b2a07
Torchscript backend (#17132)
* Added torch script backend

* Added ts_backend to pytorch layer tests

* Added use_ts_backend fixture to the test suite to activate the
torchscript backend

* Fixed failing test_dict layer test

* Added USE_TS_BACKEND as an env variable

* Removed use_ts_backend fixture

* Added more tests for ts backend

* Added more information in the comments about usage

* Removed convolution3d test from precommit_ts_backend

* Added some torchscript backend tests to ci

* Removed tests from CI as torch.compile doesn't support 3.11 currently

* Fixed linter issues

* Addressed PR comments and linter issues
2023-05-17 14:58:38 +02:00
Evgenya Stepyreva
293fccc4fe
Normalize_L2 relax constant input restriction (#17568)
* Normalize_L2 relax constant input restriction

* Fix warning treated as error during windows build
2023-05-17 12:28:50 +00:00
Jan Iwaszkiewicz
a880cba9b7
[PyOV] Remove numpy strides from Tensor creation (#17515)
* [PyOV] Remove numpy strides from Tensor creation

* [PyOV] Add test for stride calculation

* [PyOV] Fix flake issue

---------

Co-authored-by: Ilya Churaev <ilya.churaev@intel.com>
2023-05-17 12:13:34 +00:00
Nikolay Shchegolev
a6b043b1ca
[Core] Conv reference optimization. (#17303) 2023-05-17 15:54:33 +04:00
Maxim Vafin
db58355fad
Remove posibility to export to onnx (#17442)
* Remove posibility to export to onnx

* Add OOB pytorch convert_model test
2023-05-17 13:39:35 +02:00
Maciej Smyk
43acbf59b6
[DOCS] Precision Control article for master (#17413) 2023-05-17 11:54:48 +02:00
Sun Xiaoxia
ae1beb296e
remove definition of static CPU (#17393)
* remove definition of static CPU

* revert old format

* definition of cpu_info covers macOS

* add lock in is_cpu_map_available
2023-05-17 12:08:38 +04:00
Katarzyna Mitrus
d26c587198
[Spec][Pad-12] Pad-12 op specification (#17510)
* Pad-12 spec init

* Add opset12 to docs

* Enssure output dim is not negative

* Apply review suggestions to description

* Update shrinking to cropping
2023-05-17 10:07:36 +02:00
gklodkox
bbf77b359a
Enable code coverage for github actions (#15767)
* Add code coverage for github actions

* Add code coverage for github actions

* Add code coverage for github actions

* Add code coverage for github actions

* Split tests to parts

* minor fix

* minor fixes

* minor fixes

* minor fixes

* minor fixes

* minor fixes

* minor fixes

* minor fixes

* Fixed dependencies

* Fixed dependencies

* ubuntu 16 cores

* revert ubu and add coverage dependency

* minor fixes

* minor fixes

* minor fixes

* Update coverage.yml

* Update coverage.yml

* Coverage

* Coverage

* ubuntu-latest-16-cores

* ubuntu-latest-16-cores

* change triggers

* add newline

* Added GNinja and ccache

* Change to ubuntu-latest for testing purposes

* Change to ubuntu-latest for testing purposes

* Change to ubuntu-latest for testing purposes

* Fix getting cpu cores

* Disable GNinja

* Enable GNinja, change compiler, warnings no longer as errors

* Enable GNinja, change compiler, warnings no longer as errors

* Enable GNinja, change compiler, warnings no longer as errors

* Enable GNinja, change compiler, warnings no longer as errors

* Enable GNinja, change compiler, warnings no longer as errors

* Enable GNinja, change compiler, warnings no longer as errors

* Enable GNinja, change compiler, warnings no longer as errors

* Enable GNinja, change compiler, warnings no longer as errors

* fixes

* change coverage cmake

* 16-cores

* Disable GNinja

* GNinja comes back, turned off dependencies and py

* Update coverage.yml

* Update coverage.yml

* Update coverage.yml

* only test OV

* only test OV

* install lcov

* change coverage building

* only OV

* no tests

* change coverage building method

* wrong directory fix

* disable onnx

* enable python

* enable python

* enable python

* disable action for cmake

* Revert "disable action for cmake"

This reverts commit d0294570fa82c5ce06170866ab1f3572221c8407.

* disable lcov

* check files after build

* disable gninja for coverage

* change trigger to trigger by /coverage comment

* Added rest of the tests

* Update coverage.yml

* Update coverage.yml

* Update coverage.yml

* Update coverage.yml

* Update coverage.yml

* Update coverage.yml

* Update coverage.yml

* Update coverage.yml

* Update coverage.yml

* Disable gninja, run tests by ctest

* tf req

* Update coverage.yml

* Update coverage.yml

* Update coverage.yml

* Update coverage.yml

* Update coverage.yml

* Update coverage.yml

* Update coverage.yml

* Update coverage.yml

* Update coverage.yml

* Update coverage.yml

* Update coverage.yml

* Update coverage.yml

* Update coverage.yml

* Update coverage.yml

* Update coverage.yml

* Update coverage.yml

* Update coverage.yml

* Update coverage.yml

* Update coverage.yml

* Update coverage.yml

* Update coverage.yml

* Update coverage.yml

* Update coverage.yml

* Update coverage.yml

* Update coverage.yml

* Update coverage.yml

* Update coverage.yml

* Update coverage.yml

* Update coverage.yml

* Update coverage.yml

* Update coverage.yml

* Update coverage.yml

* Update coverage.yml

* Update coverage.yml

* Update coverage.yml

* Update coverage.yml

* Update coverage.yml

* Update coverage.yml

* Update coverage.yml

* Update coverage.yml

* Update coverage.yml

* Update coverage.yml

* Update coverage.yml

* Update coverage.yml

* Update coverage.yml

* Update coverage.yml

* Update coverage.yml

* Update coverage.yml

* Update coverage.yml

* Update coverage.yml

* Update coverage.yml

* Update coverage.yml

* Update coverage.yml

---------

Co-authored-by: Ilya Churaev <ilya.churaev@intel.com>
2023-05-17 12:07:07 +04:00
Ilya Churaev
3cbc5581ab
Mark some legacy API as deprecated (#17469)
* Mark some legacy API as deprecated

* Try to fix some issues

* Fixed some warnings

* Disable deprecation warnings for GNA

* Fixed some warnings

* Disable deprecation errors for all plugins

* Suppress some warnings

* Suppress some warnings

* Suppress deprecated for tests

* Mark all contend as suppressed

* Try to fix extensions

* Suppress more warnings

* Suppress warnings for transformations

* Global suppress of deprecation warnings

* FIxed some warnings

* Fixed comments

* Create macro for deprecation API

* Fixed data tests
2023-05-17 11:31:01 +04:00
Ilya Churaev
92a0108f0d
Fixed mock_engine for proxy tests (#17431)
* Fixed mock_engine for proxy tests

* Fixed some caching tests

* FIxed build

* Fixed CoreThreading tests

* Try to fix crash in functional tests

* Fixed typo

* Fixed typo

* Small change

* Remove shared pointer from MockPluginWrapper

* Small fixes

* Do not throw an exception from device_supports_cache_dir
2023-05-17 11:15:28 +04:00
Nesterov Alexander
96a80ffc3d
[ARM CPU] Enable swish (#17542) 2023-05-17 10:20:42 +04:00
Egor Duplenskii
84b9262aea
[CPU] Get rid of shouldTryBrgconv flag (#17539)
No code logic changed overall
2023-05-17 10:17:36 +04:00
Jade Cho
2cc3a45959
[GPU] Fuse eltwise into MVN (#17473)
* [GPU] Fuse eltwise into MVN
2023-05-17 14:27:24 +09:00