Commit Graph

144 Commits

Author SHA1 Message Date
Pavel Esir
90f6500871 [tests] switch layer tests to FP16 on pre-commit (#19090)
* switch to FP16 on layer tests on precommit; add Pytorch layer tests for precision sensitive subgraph

* remove redundant changes

* moved precision sensitive tests into test_mo_convert_pytorch.py

* remove redundant dumping

* skip layer tests with chaotic output

* add copy() to avoid side effects
2023-08-21 16:03:47 +04:00
Roman Kazantsev
19ff7fba3d [TF FE] Fix support of CTCLoss and add tests to pre-commit (#19291)
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
2023-08-21 14:26:36 +04:00
Ivan Tikhonov
8509737d0a Fix TransposeSinking for Gather (#19202)
* Fix TS gather

* enable pytest

* revert auto replaced comment
2023-08-15 16:23:01 +00:00
Roman Kazantsev
329abd8864 [TF FE][TF Hub] Support UnsortedSegmentSum operation (#19165)
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
2023-08-13 17:49:38 +00:00
Roman Kazantsev
545c5bbde1 [TF FE][TF Hub] Support FakeQuantWithMinMaxArgs operation (#19154)
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
2023-08-11 16:58:35 +00:00
Roman Kazantsev
1939dd1df0 [TF FE] [TF Hub] Support MaxPoolWithArgmax operation (#19085)
* [TF FE] Support MaxPoolWithArgmax operation

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

* Add ticket number for TS crash

* Correct error message

* Skip crashing tests

* Set additional tensor name for MaxPool

---------

Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
2023-08-09 20:18:27 +04:00
Roman Kazantsev
8d343ef0de [TF FE][TF Hub] Support UnravelIndex operation (#19060)
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
2023-08-08 21:00:04 +04:00
Roman Kazantsev
5a1dc93034 [TF FE][TF Hub] Support AdjustContrastv2 operation (#19029)
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
2023-08-08 13:49:52 +04:00
Roman Kazantsev
710a46cb47 [TF FE][TF Hub] Support InvertPermutation and CheckNumerics operations (#19020) 2023-08-07 23:05:23 +04:00
Roman Kazantsev
b1db7223fd [TF FE][TF Hub] Support DivNoNan and EnsureShape operations (#19007)
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
2023-08-07 17:50:30 +04:00
Roman Kazantsev
b44f915a9d [TF FE] Support ShapeN operation (#18913)
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
2023-08-02 15:28:39 +02:00
Andrey Kashchikhin
b6a32694a5 unskip tests in GHA (#18906) 2023-08-02 00:42:37 +04:00
Maxim Vafin
12b1df5db3 Disable sporadically failing tests (#18694) 2023-07-20 21:34:43 +00:00
Roman Kazantsev
826f345daf [TF FE] Support TF1 Control Flow: Switch, Merge (#18378)
* [TF FE] Support Switch and Merge to fuse into If operation

It introduces support of TF1 control flow with Switch and Merge nodes.

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

* Add script for test model generation

* Fix code-style

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

* Fix build issue

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

* Fix build issue with types

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

* Apply code-review feedback: optimizations in utils

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

* Fix build issue

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

* Apply code-review remarks and cover more cases

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

* Remove commented code

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

* Remove unused vars

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

* Update MO unit-tests wit Switch-Merge case

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

* Fix build issue: remove unused variable

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

---------

Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
2023-07-14 15:56:34 +02:00
Andrey Kashchikhin
c738899408 [CI] Introduce Linux pipeline in GitHub Actions (#18355)
* skip validation, always include cmake

* rm unconditional inclusion of zlib

* always include zlib

* correct path for builtin_extensions

* find builtin extensions recursively

* include test_utils always

* add logs for build_samples

* skip tests with dir accessing

* remove platform specification for samples build

* do not pkgconfig on win, use cmake generic on linux for samples

* rm make

* fix num_threads

* use bare numbers

* skip failing

* skip test_lrn_basic

* find zlib

* print error of downloading

* add linux pipeline

* do not save cache from PRs; add skipif only in GHA

* rm caching

* evaluate against a string

* do not include test_utils to the install dir
2023-07-11 11:54:33 +04:00
Ruslan Nugmanov
28d2e77a92 TFLite layer tests second part (#17688)
* tfl - removes redundant params

* tfl - batch matmul

* tfl - expand_dims

* tfl - squeeze

* tfl - hardswish

* tfl - batch matmul

* tfl - padv2

* tfl - fixes for dynamic shapes

* tfl - where

* tfl - zeros_like

* tfl - zeros_like

* tfl - precommit fix

* tfl - shape and xfail for expand dims
2023-05-29 15:50:34 +04: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
Roman Kazantsev
14e146b7c8 [TF FE] Extend pre-commit for SpaceToBatch after CPU crash (#17278)
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
2023-05-01 17:29:50 +04:00
Nikolay Shchegolev
c8ac7c9b82 [CPU] Infer_request crashes for SpaceToBatch operation. (#16974)
* [CPU] Infer_request crashes for SpaceToBatch operation.

* Fixes as per comments.

* Fixes as per comments 2.
2023-04-26 17:39:54 +04:00
Przemyslaw Wysocki
d72d833a96 [PyOV] Enable Python 3.11 (#15144)
* Bump ONNX version

* Bump protobuf

* Add xfails and skips

* Add tickets

* Skip ONNX Serialization tests

* Compile ONNX with C++17

* Force cpp17 - 2

* Use MSVC check

* Relax python reqs, enable 311 in azure

* Fix setupvars error

* Ignore watchdog error

* Update tensorflow

* Minor change

* Bump onnx to 1.13.1

* Bump protobuf to 3.20.3

* Debug test tf

* Xfail tests in comp

* Update comp tests

* Update tf reqs

* Remove deprecated ONNX function

* Align PDPD FE protobuf req with 2.4.1

* Satisfy dependency review

* Attempt to fix dependency review

* Revert pdpd protobuf

* Skip pdpd tests

* Fix MO-TF-PB test

* Skip TF test case

* Enable py311 on rest of jobs

* Try disabling pdpd req

* Exclude pdpd form cmake

* Update .ci/azure/linux.yml

Fixed unmerged merge-conflict

* CR

* Fix reqs

* Skip pdpd tests

* Disable pdpd tests building in cmake

* Skip another pdpd cmake

* Add file

* Add paddle constraint to tests

* Disable paddle reqs

* Debug prints

* Skip TF test if Python ver is 3.11

* Apply Mish cr comments

* Debug

* Debug

* Constrain tensorflow_addons

* Fix pdpd skipping

* Add debug prints

* Update skips

* Remove prints

* Minor change

* Update OMZ commit

* Fix some tests

* Minor change

* Disable pdpd at all

* Disable pdpd at all

---------

Co-authored-by: Ilya Lavrenov <ilya.lavrenov@intel.com>
2023-04-17 13:30:17 +04:00
Roman Kazantsev
f36ee94b4b [TF FE] Correct SpaceToBatch layer test (#16823)
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
2023-04-10 14:41:02 +04:00
Roman Kazantsev
c034975183 [TF FE] Fix layer tests for BatchToSpace and add to the pre-commit (#16722)
* [TF FE] Fix layer tests for BatchToSpace and add to the pre-commit

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

* Specify type for batch_shape

---------

Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
2023-04-04 18:46:12 +04:00
Roman Kazantsev
f4fca2d578 [TF FE] Activate TopK layer test with the second output in the pre-commit (#16691)
* [TF FE] Test the second output for TopK operation

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

* Switch off no sorted case

---------

Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
2023-04-03 11:38:27 +04:00
Roman Kazantsev
9a5a8f6abc [TF FE] Move to TopK-11 operation and update downgrading TopK transformation (#16590)
* [TF FE] Move to TopK-11 operation

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

* Update downgrading transformation

---------

Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
2023-03-31 17:44:58 +02:00
Roman Kazantsev
0c2308506f [TF FE] Fix leftovers from review (#16619)
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
2023-03-29 16:28:37 +04:00
Roman Kazantsev
17c3e67336 [TF FE] Add layer test for Mish activation function (#16557)
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
2023-03-28 18:43:11 +02:00
Roman Kazantsev
bb9de29062 [TF FE] Add layer test for Bucketize (#16556)
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
2023-03-27 12:03:07 +04:00
Roman Kazantsev
5cb20f8858 [TF FE] Refactor StridedSlice translator and add layer test to precommit (#16376)
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
2023-03-21 08:54:48 +04:00
Roman Kazantsev
3f06a9b6fb [TF FE] Test MatrixDiag translator in the pre-commit (#16377)
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
2023-03-20 12:20:13 +04:00
Georgy Krivoruchko
36c18e29a8 [TF FE] Added Tensorflow CTCLoss layer test (#13644)
Co-authored-by: Roman Kazantsev <roman.kazantsev@intel.com>
2023-03-15 08:18:29 +00:00
Roman Kazantsev
dcc8a36d88 [TF FE] Test Switch and Merge support by TF FE (#16255) 2023-03-14 00:50:47 +04:00
Roman Kazantsev
3b71286f1d [TF FE] Test low-level While support by TF FE (#16257) 2023-03-14 00:50:22 +04:00
Roman Kazantsev
68b7b8e69b [TF FE] Mark-up xfailed layer tests on GPU in nightly (#15981)
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
2023-02-27 21:14:21 +00:00
Roman Kazantsev
5317b909f7 [TF FE] Test Nested While in the pre-commit (#15955)
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
2023-02-26 11:28:51 +00:00
Roman Kazantsev
ad4bd6f752 [TF FE] Simplify FakrQuantWithMinMaxVars translator and add layer test (#15927)
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
2023-02-24 12:13:46 +00:00
Roman Kazantsev
8a56234445 [TF FE] Refactor identity operations and layer test (#15904)
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
2023-02-23 21:22:31 +01:00
Roman Kazantsev
bc8d0ec71e [TF FE] Refactor ReverseSequence and add layer test (#15807)
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
2023-02-20 12:26:19 +00:00
Roman Kazantsev
b75a3b3465 [TF FE] Implement layer test for GatherNd translator (#15813)
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
2023-02-20 12:58:52 +01:00
Roman Kazantsev
699a1d1708 [TF FE] Refactor Gather operations and add layer tests (#15808)
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
2023-02-20 11:02:42 +04:00
Roman Kazantsev
7d13bc6861 [TF FE] Remove NormalizeL2 translator and refactor layer test (#15760)
It turned out that NormalizeL2 is absent in tf.raw_ops api
and always presented in the decomposed form.

Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
2023-02-17 14:37:42 +04:00
Roman Kazantsev
bd0dfbcd7a [TF FE] Refactor OneHot translator and add layer test (#15763)
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
2023-02-17 13:54:40 +04:00
Roman Kazantsev
cabe75da1c [TF FE] Refactor LogSoftmax translator and layer test (#15724)
* [TF FE] Refactor LogSoftmax translator and layer test

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

* Work around for the legacy frontend

* Update src/frontends/tensorflow_common/src/op/log_softmax.cpp

---------

Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
2023-02-15 20:36:46 +00:00
Roman Kazantsev
c6f7d7c98a [TF FE] Refactor IdentityN translator and add layer test (#15727)
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
2023-02-15 15:18:18 +01:00
Roman Kazantsev
cb5c92f829 [TF FE] Refactor Squeeze and layer test (#15723)
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
2023-02-15 12:34:44 +01:00
Roman Kazantsev
ad20add992 [TF FE] Refactor Concat layer test and extend pre-commit (#15726)
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
2023-02-15 12:25:05 +01:00
Roman Kazantsev
65b69fe8ca [TF FE] Fix FusedBatchNormV3 in case of mean and variance empty tensors (#15675)
* [TF FE] Fix FusedBatchNormV3 in case of mean and variance empty tensors

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

* Add to nightly

---------

Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
2023-02-13 15:23:48 +01:00
Roman Kazantsev
4352b9f179 [TF FE] Refactor Reciprocal translator and add layer test (#15652)
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
2023-02-13 11:10:16 +04:00
Roman Kazantsev
a91f173166 [TF FE] Refactor Size translator and add layer test (#15653)
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
2023-02-13 11:09:12 +04:00
Roman Kazantsev
a1a6ba911a [TF FE] Refactor Split and SplitV translators and add layer tests (#15662)
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
2023-02-13 10:49:34 +04:00
Roman Kazantsev
b300df1be6 [TF FE] Refactor ZerosLike and add layer test (#15648)
* [TF FE] Refactor ZerosLike and add layer test

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

* Fix test for Wide and Deep model

---------

Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
2023-02-11 20:50:01 +00:00