* [TF FE] Support mutable tensors produced by variables and resources
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
* Update documentation
* Fix build and move variable.hpp to public
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
* Add missing variable.hpp header file
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
* Add layer tests for Assign operations
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
* Add translators for AssignVariable operations
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
* Document new operations
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
* Add layer tests for AssignVariableOps
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
* Fix build
* Fix code-style issue
* Update src/frontends/tensorflow/include/openvino/frontend/tensorflow/node_context.hpp
* Update src/frontends/tensorflow/include/openvino/frontend/tensorflow/variable.hpp
* Update src/frontends/tensorflow/include/openvino/frontend/tensorflow/variable.hpp
* Update src/frontends/tensorflow/src/op/assign.cpp
* Update src/frontends/tensorflow/src/op/assign_add.cpp
* Update src/frontends/tensorflow/src/op/assign_sub.cpp
* Do not change node name for read_variable_op
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
* Make assign_variable_op backward-compatible
* Fix layer tests to run them in parallel
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
* Fix testing model
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
---------
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
* fixed list index out of range error in node_decoder.py
* Improved and Modified as per review feedback
- Added a Model in the precommit_models for precommit validation.
- Removed skip and xfail marrks for the issue (129232 IndexError list
index out of range for Squeeze)
- Added explicilty return None in node_decoder.py
* Update tests/model_hub_tests/tf_hub_tests/nightly_models
* Update tests/model_hub_tests/tf_hub_tests/nightly_models
* Update tests/model_hub_tests/tf_hub_tests/nightly_models
* Apply suggestions from code review
* Update tests/model_hub_tests/tf_hub_tests/precommit_models
* Update tests/model_hub_tests/tf_hub_tests/precommit_models
---------
Co-authored-by: Roman Kazantsev <roman.kazantsev@intel.com>
* [TF Hub] Mark up models failing due to unsupported operations
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
* Update tests/model_hub_tests/tf_hub_tests/nightly_models
---------
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
* [TF FE] Add testing model with tokenizer to precommit
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
* Fix typo
---------
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
* [TF Hub] Mark up models failing with IndexError for Squeeze
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
* Add xfail for nightly
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
---------
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
* Removed usage of old api
* Removed use_old_api
* Removed use_old_api in common files
* Removed use_old_api from tests
* MO/OVC related changes
* Renamed InferAPI20
* Removed use_old_api from tf_Placeholder test
* Removed transpose step
* Removed forced use_old_api=False for TF Lite
* [TF FE] Implement native support of string tensors for TensorFlow models
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
* Update unit-test for model with string tensor
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
* Update graph comparator for string Constant comparison
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
* Update unit-test
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
* Add layer tests for string tensor
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
---------
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
* [TF Hub] Mark tests failing with InvalidArgumentError
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
* [TF Hub] Mark test models failing with AttributeError
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
---------
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
* [MO][TF FE] Switch off fallback to legacy FE
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
* Support complex condition for TF While
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
* Support TensorArrayV3 of a dynamic size
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
* Test TensorArrayV3 of dynamic size
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
---------
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
* [TF Hub] Mark up tests failing with error "No signature found"
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
* Update tests/model_hub_tests/tf_hub_tests/nightly_models
---------
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
* [TF Hub] Support pb models for testing
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
* Fix model hub tests
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
---------
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
* Remove more GNA related code
* Remove DEVICE_GNA from tests
* Fix according to review comments
---------
Co-authored-by: Ilya Lavrenov <ilya.lavrenov@intel.com>
* [TF Hub] Update precommit with model containing TensorListConcatV2 op
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
* Update tests/model_hub_tests/tf_hub_tests/precommit_models
---------
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
* [TF FE][GitHub issue] Extend Upsampling2D support for more input types
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
* Fix output type
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
---------
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
* Clean up `tests/fuzz` from API1.0
* Clean up `tests/memory_tests` from API1.0
* Clean up `tests/stress_tests` from API1.0
* Clean up `tests/time_tests` from API1.0
* Clean up `tests/lib` from API1.0
* Clean up `tests/` from `inference_engine.hpp` include
* Revert "Temporary revert "[TF FE] Support different types" (#21656)"
This reverts commit bf00569ae1.
* Correct unpacking compressed fp16 constant and exclude handling compressed bf16 constant
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
* Update layer tests to cover more smart range values
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
---------
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
* [ONNX] Switched to ONNX 1.15.0
* Updated usage of ONNX serialization API
* Updated xfailed lists
* Updated xfailed lists
* Added xfailed ML-operators
* Added xfailed float8 cases
* Fixing mo tests
* Reverted legacy tests
* Sets default opset version in layer tests
* Skipped test which breaks moving on 1.15
* Updated xfailed list
* Fixed typo and added more tests to skipped
* Added xfailed tests
* Reduced opset due to need to work on onnx 1.13
* Removed unnecessary xfails
* Skipped misaligned tests
* WA for old compiler build
* Enable aten::multinomial in PT FE
* Add aten::multinomial test
* Fix typo
* Update tests/layer_tests/pytorch_tests/test_multinomial.py
Co-authored-by: Roman Kazantsev <roman.kazantsev@intel.com>
* Update multinomial to changes in specification
* rm ;
* Add temporary convert for multinomial i64 support
* Revert convert
* Fix torch test
---------
Co-authored-by: Roman Kazantsev <roman.kazantsev@intel.com>
* [PT FE] Report unsupported operations with model list
* Continue on error
* Disable more models
* Check if file exists
* continue of error
* Fix on failure
* Fix file path
* Apply suggestions from code review
* resolve skipped HF models: 2nd batch
* commented out models with no info and less than 10 downloads
* Revert "commented out models with no info and less than 10 downloads"
This reverts commit a55861ed69.
* replace with self.image
* resolve todo
* Update tests/model_hub_tests/torch_tests/test_hf_transformers.py
Co-authored-by: Maxim Vafin <maxim.vafin@intel.com>
* Update tests/model_hub_tests/torch_tests/test_hf_transformers.py
---------
Co-authored-by: Maxim Vafin <maxim.vafin@intel.com>
* extract cpu func tests into a reusable workflow
* add needs
* check paths
* correct paths
* rm usage of setupvars
* extract samples
* use yaml string
* split mac workflow
* check variables
* try github workspace
* check full dir
* set variables
* try with sub directory
* Revert "try with sub directory"
This reverts commit d891ee3f28.
* extract c++ tests from linux
* change
* use cxx workflow in mac workflows
* add noninteractive
* extract cpu func tests
* rm unused
* enable mac
* fix reusable workflow name
* correct path for sparse-checkout
* extract python UT
* remove unnecessary asterisk
* remove another unnecessary asterisk
* use reusable action for linux cc
* add check for setupvars existence
* check with manually installed opencl
* add components input to samples workflow; rm pr triggers for mac workflows
* add missing needs
* add missing option for deps install script
* use disables in test themselves instead of ifs in workflows
* use reusable workflow for cxx tests in linux arm
* use python reusable workflow in linux arm
* add missing endif
* use self-hosted for samples, add x86_64 constraint for jax
* check paths
* find gompby partial name
* skip failing tests on arm; correct gomp finding for ovc
* check tests
* add debian packages job; use job_ prefix for reusable workflows with jobs
* extract tf hub model tests
* extract tf model hub perf tests
* extract pytorch models tests
* do not use container on GHA runners
* extract onnx runtime
* add missing deps
* skip test for linux arm
* rm always()s
* fix quotes
* correct paths
* correct ifs, check dir for onnxruntime
* correct path for onnxruntime utils folder; install python3
* use self-hosted as input
* check for self-hosted runner via name, pass version
* skip cpu plugin unittest
* check cxx tests
* rm pr trigger
* [TF FE] Switch on ConvLSTM2D layer tests in pre-commit
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
* Remove extra blank line
---------
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
* use perf_counter_ns to measure performance; meausure within time not count
* fixes
* remove nightly
* set 60 secs by default
* fix output html
* code review fixes
* fix runtime duration
* remove unneeded inference
* cleanup
* [TF FE] Support object removal and Pad for complex type
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
* Add test for Pad on complex type
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
---------
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
* Port properties in time and stress tests to API2.0
* Port CC tests infer_tool.py to API2.0
* Update tests/conditional_compilation/tools/infer_tool.py
Co-authored-by: Ilya Lavrenov <ilya.lavrenov@intel.com>
---------
Co-authored-by: Ilya Lavrenov <ilya.lavrenov@intel.com>
* add arm as a matrix for build job
* uncomment
* comment
* try inside pipeline
* check location
* another dirs
* try to privide correct action path
* use corrected action
* use newer commit
* use newer commit
* use newer commit
* use newer action commit
* add setting
* rm from pipeline, adapt action iteslf
* add missing deps
* enable samples and debian jobs
* correct yml
* correct image name
* correct syntax, use self-hosted option
* enable onnx runtime and c++, use newer action
* enable Python and CPU Func tests
* add missing deps for arm64
* increase timeout for python tests
* disable some tests, add more time
* skip failing tests
* skip speech sample test on arm
* dummy chang
* skip mxnet mo on arm, run all tests
* rm quotes
* separate linux x86 and arm64 workflows
* rm unused matrix refs, add timeouts
* add skips for c++ tests and some Python tests
* correct cache keys, extend timeout
* skip more python tests
* add more skips: for python and CPU func
* extend cpu func list with skips
* disable cpu func tests and python api 2.0 tests
* rm disable job
* styling, rm pr trigger, rm always(), rm unnecessary changes
* revert
* use ifs instead of comments, provide better wording for skips
* [TF FE] Support different types: u16, u64, u32, boolean
Support constants of different types and dtype attribute values
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
* Use map instead of unordered_map
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
* Add tests with different types
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
---------
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
* [PT FE] Fix timm model list according to newest version
* Remove xfail for hf model passed in latest nightly
* Fix code for loading vit_h model
* Restore torchvision
* Update reverse infer to allow changing shape if it already partially defined
* Update tests
* Remove changes in If
---------
Co-authored-by: Roman Kazantsev <roman.kazantsev@intel.com>
* Use system model cache when running torch hub tests locally
* Update tests/model_hub_tests/torch_tests/test_torchvision_models.py
* Update tests/model_hub_tests/torch_tests/test_torchvision_models.py
* Input/output order Keras tests.
* Added precommit mark.
* Added xfail.
* Small correction.
* Check input/outputs by names in FW.
* Moved output order tests to Python API group.
* Corrected comments.
* [TF FE] Fix TF1 SSD PPN model conversion
It contains a case when one Merge node eliminated different conditional flows.
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
* Add layer test
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
---------
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
* Added experimental ScaledDotProductAttention operation in opset12. Supported in PT FE for aten::scaled_dot_product_attention translation. Decomposed in the common optimizations as functional reference.
* Better ScaledDotProductAttention
- Moved decomposition to the decomposing transformation
- Implemented more ctors for the op
- Renamed is_causal to causal
- Shape/type inference native code instead of using decomposition
- Moved the op from opset12 to opset13
- Added Python wrapper for ScaledDotProductAttention
* Fix test that counts ops in the opsets
* Update src/core/src/op/scaled_dot_product_attention.cpp
Co-authored-by: Katarzyna Mitrus <katarzyna.mitrus@intel.com>
* Update src/core/src/op/scaled_dot_product_attention.cpp
Co-authored-by: Katarzyna Mitrus <katarzyna.mitrus@intel.com>
* Move ScaledDotProductAttentionDecomposition from fusions to decompositions.
* Remove not used legacy shape inference in ScaledDotProductAttention
* Better namespace usage
* Register all nodes in ScaledDotProductDecomposition for correct tracking of nodes and running next mather passes on all new nodes.
* Don't use register_new_node_
* ScaledDotProductAttention specification (with an extra scale argument)
* Code style fix
* Scale input implementation for ScaledDotProductAttention
* Handle attention_mask=0 case in the op spec
* Better description of scale input
* N->M in scale description
* Code style fix, remove debug print.
* Apply suggestions from code review
Co-authored-by: Katarzyna Mitrus <katarzyna.mitrus@intel.com>
Co-authored-by: Mateusz Mikolajczyk <mateusz.mikolajczyk@intel.com>
* Fix for case when is_causal is not passed
* Extended description of ScaledDotProduct op
* Better description in py op wrapper
* Basic shape propagation tests for ScaledDotProductAttention
* Added ScaledDotProductAttention to toc.
* Add op impl check
---------
Co-authored-by: Katarzyna Mitrus <katarzyna.mitrus@intel.com>
Co-authored-by: Mateusz Mikolajczyk <mateusz.mikolajczyk@intel.com>
* [TF FE] Fix conversion of TF1 OD models out-of-the-box
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
* Add test While with nested If operation
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
* Update tests/layer_tests/tensorflow_tests/test_tf_While.py
---------
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
* [TF FE] Support complex tensors
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
* Align output type for Real and Imag operations
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
* Update decoding complex types
* Add support for ComplexAbs, FFT and IFFT operations
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
* Correct axes based on a number of inner-most dimensions
* Add layer tests
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
* Update supported ops documentation
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
* Add a comment for ComplexTypeMark
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
---------
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
* [TF FE] Switch off TF1 While support totally
This is a total switch off due to GPU limitation
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
* Need additional fallback in Enter to avoid shapes problem
* Disable tests with While op
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
* Disable layer test for TF1 While
* Remove extra spaces
---------
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
* [TF FE] Fix body graph injection, CumSum and SparseFillEmptyRows
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
* Do not handle non-parameters in body
* Update layer test to cover default parameter and attribute values
* Fix layer tests
---------
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
* [TF FE] Provide full support of TF1 Control flow and TensorArray ops
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
* Add missed header for TensorArrayV3 op
* Temporarily disable GRU cell fusion
* Update src/common/transformations/src/transformations/common_optimizations/moc_transformations.cpp
* Fix a case when element_shape for TensorArrayV3
* Fix translator for TensorArrayCloseV3
* Update summarize graph with TensorArrayCloseV3
* Add layer tests for TensorArrayScatterV3, Close, Size, Array
* Fix output shape for Merge node
* Remove unused variable
* Fix translator for TensorArrayConcatV3
* Fix translator for TensorArrayConcatV3
* Add layer tests for TensorArrayWriteV3, Gather, and Concat
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
* Add translator for GatherTree
* Fix TF FE unit-test for GatherTree
* Fix GatherTree translator
* Fix GatherTree translator to handle 1d end_token
* Fix undeclared parameter issue
* Fix GatherTree unit-test
* Add TensorArrayV3Replacer transformation
* Temporarily disable dangling transformation
* Recover RemoveMultiSubGraphOpDanglingParamsResults transformation
* Recover GRUCellFusion transformation
* Simplify check for GRUCellFusion transformation
* Use proper name for unit-tests
* Simplify translator for TensorArrayWriteV3
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
* Fix RemoveMultiSubgraphOpDanglingParamsResults transformation
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
* Additional fix for remove_multi_subgraph_op_dangling_params
* Make static TI run a dynamic subgraph
* Dedicated SL test
* Change condition to respect stat shapes
* Adjust test to cover the code path properly
* Recover fallback for still failing case GNMT
---------
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
Co-authored-by: Maksim Kutakov <maksim.kutakov@intel.com>
* add m1 mac pipelines as a matrix parameter
* Update mac.yml
disable java_api because of macos arm64 - Java is not available on macOS arm64 runners
* Update mac.yml
added always condition for all tests
* Update mac.yml
* Update mac.yml
* Update mac.yml
* Update setup.py
temp commit
* Update tools/openvino_dev/setup.py
* use matrix for var
* add mxnet to extras only for x86_64
* skip failing tests
* use xfail for Python tests; add missing filter for transformations tests
* skip CPU func tests on x86_64 mac; skip some tests from CPU func tests on arm mac
* Update mac.yml
* skip tests on mac arm
* skip tests on darwin; apply review
* add more skips for python and c++ tests
* skip tf tests
* skip more tf tests; skip more Python UT stages
* rm alwayses, rm triggers, add nightly trigger
---------
Co-authored-by: Ilya Lavrenov <ilya.lavrenov@intel.com>
* Update model list and install cpu torch
* Move to hub tests
* Update tests/model_hub_tests/torch_tests/requirements.txt
* Make pytorch mainteiners owners of torch tests
* [TF FE] Support TF 2.14 and add OnesLike translator
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
* Update tests constraints
* Update open_model_zoo
* Adopt TF Lite test to 2.14 TF
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
* Support TF Lite layer tests for diffrent TF versions
---------
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
* skip gna-related tests on mac; rm unused in pipelines
* rm unused env var
* use if instead of commenting out
* add name
* return pr trigger
* rm pr trigger
* [TF FE] Support TF1 While Control flow
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
* Apply code-style fix
* Update API for OpPlace to store back edge
* Fix build: no rvalue by reference passing
* Fix build issue: correct type
* Fix TF FE unit-tests
* Apply code-review feedback: remove unused vars
* Fix fusing complicated case of TF1 While
* Remove unused variable
* Update MO unit test
* Fix layer tests for While
* Handle Switch and NextIteration nodes connected directly
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
---------
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
* Use FindPython3.cmake
* Fixed compilation on macOS 14 with new core development tools
* Try to use Python3_SOABI instead of PYTHON_MODULE_EXTENSION
* Use Development.Module
* Keep specifying only Python3_EXECUTABLE
* Print PYTHON_MODULE_EXTENSION
* Added check for minimal cmake version for python API
* Returned Python3_INCLUDE_DIR for cross-compilation case
* Try to allow cmake older than 3.18
* Use build python interpreter to check cython dependency
* revert changes in .ci/openvino-onnx/Dockerfile
* removed unused code
* Fixed issue with variables scope
* Experiment: remove include dirs
* Corrected docs
* Use pybind11 function to set extension
* Revert "Experiment: remove include dirs"
This reverts commit 6f7f90211c.
* Refactor ConvolutionBackpropDataLayerTest, ConvolutionLayerTest, DeformableConvolutionLayerTest (#19810)
* Refactor ConvolutionBackpropDataLayerTest
* Refactor ConvolutionLayerTest
* Refactor DeformableConvolutionLayerTest
* Apply comments
* Apply comments
* Fix
* Updated minimum cmake version for Windows
* Simplified check
* Removed useless message status
* Use puiblic option
---------
Co-authored-by: Oleg Pipikin <oleg.pipikin@intel.com>
* Added support of shapes and types from paddle, torch and tf.
* Removed changes from requirements.
* Corrected test.
* Moved helper methods to utils.
* Separated tests by frameworks.
* Removed changes from complex_params test.
* Refactored Linix GHA pipeline
* Move ONNX tests to Unit
* Install tests together with openvino
* Added checks for GNA usage in docs python snippets
* Install openssl for working pip
* Disabled onnx_dyn_shapes_expand_1_dyn_shape ONNX test
* exclude dyn shapes from onnx
* Migrated samples tests
* Fixed ONNX tests
* caches for PT tests dependencies
* Build Contrib separately from main OpenVINO
* More fixes
* Added python install for samples stage
* Installed manifests for ONNX FE tests
* Try to avoid libgl1 dependency in tests
* Clean-up
* Fixed issue with manifests in ONNX tests
* [OVC] do not parse inputs
* fix unit-tests
* remove redundant lines, add test case
* add one more unit-test
* skip None values
* replace str with List in test_mo_import_from_memory
* corrected type hints, added a safety assert
* [TF Hub] Cover TF Hub use cases with adoption to OpenVINO
This is necessarily to demonstrate support of models programmed with TF Hub API
through OV notebooks.
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
* Preserve original keras input and output tensor names
* Add tests with TF Hub API models
* No KerasLayer handling
* Handle specific signature
---------
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
* [TF Hub] Set seed for input data generation and fix integer input data
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
* Clean-up workflow
* Update precommit model scope
* Avoid legacy generator
---------
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
* [TF Hub][TF FE] Preserve outputs of ConcreteFunction from signature and their names
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
* Fix naming and complete TODO
* Apply code-review: extra assert to check input_signature
* Fix inputs for fw
* Fix input data preparation and import convert_model
* Correct variable detection among all inputs
* Handle special input and output signature
* Fix adjust_saved_model_names
---------
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
* [TF Hub][GA] Set correct scheduler and model scope for regular validation
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
* Remove empty line
* Update .github/workflows/linux.yml
Co-authored-by: Andrey Kashchikhin <andrey.kashchikhin@intel.com>
* Correct a path to output html report
---------
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
Co-authored-by: Andrey Kashchikhin <andrey.kashchikhin@intel.com>
* [TF Hub][TF FE] Use multiprocessing based tests for TF Hub validation
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
* Fix import and initialization
* [TF Hub][TF FE] Make TF Hub validation more robust and add convenient marking for failing cases
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
---------
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
* Add all scope of models for testing
* Fix signature in test
* Fix workaround with output tensor names
* Fix unknown rank input resource case
* [TF Hub][TF FE] Fix TF Hub model validation and extend precommit
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
* Remove unneeded comments
---------
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
* fix parsing output
* use always coma backspace to separate outputs ', '
* update docstring
* call parser only for ovc cli tool
* docstring correction
* separate docs for cli tool and convert_model; other minor changes
* drop redundant arg from cli_parser_test.py
* more solid test cases added
* remove redundant argv.framework from cli_parser_test.py
* shape correction in concat
* Apply suggestions from code review
fix: coma -> comma
Co-authored-by: Roman Kazantsev <roman.kazantsev@intel.com>
* apply review suggestions
* remove extra ')'
---------
Co-authored-by: Roman Kazantsev <roman.kazantsev@intel.com>
* [TF FE] Support Selu operation and add test
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
* Fix layer test
---------
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
* [TF Hub][TF FE] Support TensorListLength and TensorListResize operations
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
* Add test with empty tensor list
* remove assert
---------
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
* [JAX][TF Hub][TF FE] Introduce JAX layer tests and support of XLA operations
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
* Fix JAX layer tests infa
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
* Extend run for JAX layer tests
* Use ovc convert_model
* Fix translator and extend layer test cases
* Exclude jax testing on Windows
---------
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
* Add `recreate_and_infer_in_thread` memleak test
* Add custom threshold for memleak test
* Update tests/stress_tests/common/ie_pipelines/pipelines.cpp
* Added support of tuple in input, removed type syntax from OVC tool.
* Removed type syntax tests.
* Apply suggestions from code review
* Method annotation corrected.
* Type annotation corrected.
---------
Co-authored-by: Sergey Lyalin <sergey.lyalin@intel.com>
* Removed 'example_output' from ovc and ovc.convert_model, used output for this purpose
* Update tools/ovc/openvino/tools/ovc/convert.py
* Update tools/ovc/openvino/tools/ovc/convert_impl.py
* Reverted mo parts not affected by remove of example_output
* fix PDPD convert_model tests
---------
Co-authored-by: Xiuchuan Zhai <xiuchuan.zhai@intel.com>
* Added shape and type infer for result nodes in MOC transformations.
* Clang format.
* Added validate_nodes_and_infer_types() pass at the end of MOC pipeline.
* Clang format.
* Added test.
* Clang format.
* Fixed output_model logic.
* Removed InputCutInfo, disabled input cut in ovc.
* Disabled output cut, added tests for setting shapes or types for not all inputs.
* Returned support of numpy type.
* Separated MO and OVC python API tests.
* Small corrections.
* Added output dir test, exceptions test.
* Tests fixed.
* Corrected extension param description.
* Corrected input description, minor code corrections.
* [PT FE] Use weight share switch in frontend
* Return static for function
* Update src/bindings/python/src/openvino/frontend/pytorch/ts_decoder.py
* Fix issue with quantized constants
* Add tests for shared
* Change `VPUX`/`VPU` occurrences to `NPU`
* Switch `HARDWARE_AWARE_IGNORED_PATTERNS` VPU to NPU
* Rename `MYRIAD plugin`
* Rename vpu_patterns to npu_patterns in tools/pot
* Rename vpu.json to npu.json in tools/pot
* Rename restrict_for_vpu to restrict_for_npu in tools/pot
* Change keembayOptimalBatchNum to npuOptimalBatchNum
---------
Co-authored-by: Dan <mircea-aurelian.dan@intel.com>
* [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>