Ekaterina Aidova
26d18c924b
[PT FE]: support aten::broadcast_tensors ( #19994 )
...
* broadcast tensors
* [PT FE]: support aten::broadcast_tensors
* apply review comments
* remove add
2023-09-22 13:54:44 +04:00
Maxim Vafin
2151e5f979
[PT FE] Add tests for timm models ( #19997 )
...
* Add tests for timm models
* Apply suggestions from code review
* Some improvements
* Update tests/model_hub_tests/torch_tests/test_transformers.py
2023-09-22 10:34:07 +02:00
Ekaterina Aidova
8d59fcd34f
[PT FE]: extend logical operations support ( #19981 )
...
* [PT FE]: extend logical operations support
* tests
* more tests
2023-09-22 10:11:36 +04:00
Ekaterina Aidova
fde054e4a6
[PT FE]: support aten::minimum aten::maximum ( #19996 )
2023-09-22 09:30:57 +04:00
Maxim Vafin
058b45e608
[PT FE] Fix aten::repeat regression ( #19991 )
...
* Revert "[PT FE] Simplify repeat operation (#19926 )"
This reverts commit f926e0e392 .
* Fix aten::repeats regression
* Simplify
* Update src/frontends/pytorch/src/op_table.cpp
* Add impacted model
2023-09-21 23:58:09 +02:00
Maxim Vafin
02f5b7a7e3
[PT FE] Add huggingface hub tests ( #19858 )
...
* [PT FE] Add huggingface hub tests
* Update requirements.txt
* natten can't be installed
* Remove librosa
* Add xfail and skip marks
* Remove t5
* Free up space
* Apply suggestions from code review
* Report free space
* Clean pip cache
* Temporarily disable det2 models
* More du info
* Remove tmp info
* More du stats
* Fix du report
* Optimize du
* Ignore error
* Finalize changes
* Update tests/model_hub_tests/torch_tests/test_transformers.py
2023-09-21 17:30:17 +02:00
Vitaliy Urusovskij
b00fbd04c5
Fix StressMemLeaksTests with several models ( #19986 )
...
* Fix `StressMemLeaksTests` with several models
* Fix OMZ branch name in `get_testdata.py`
2023-09-21 15:59:18 +02:00
Maxim Vafin
37d54bcb42
[PT FE] Support prim::TupleIndex operation ( #19978 )
...
* [PT FE] Support prim::TupleIndex
* Update src/frontends/pytorch/src/op/tuple_index.cpp
* Update src/frontends/pytorch/src/op/tuple_index.cpp
2023-09-21 15:57:42 +02:00
Ekaterina Aidova
2c88fbf798
[PT FE]: support mixed precision in aten::min/max ( #19936 )
...
* [PT FE]: support mixed precision in aten::min/max
* fix eltwise dtype alignment for float16
2023-09-20 11:26:18 +04:00
Anastasiia Pnevskaia
215a2f435b
tf.Graph decoder accuracy fixes ( #19903 )
...
* Fixed outputs passing from decoder.
* Fixed get_variable method.
* Code style.
* Removed xfails from precommit models.
* Minor fix.
* Comment fixed.
* Added test.
2023-09-19 19:04:24 +02:00
dependabot[bot] and dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
472ad39a9d
Update numpy requirement from <1.26,>=1.16.6 to >=1.16.6,<1.27 in /tests ( #19938 )
...
Updates the requirements on [numpy](https://github.com/numpy/numpy ) to permit the latest version.
- [Release notes](https://github.com/numpy/numpy/releases )
- [Changelog](https://github.com/numpy/numpy/blob/main/doc/RELEASE_WALKTHROUGH.rst )
- [Commits](https://github.com/numpy/numpy/compare/v1.16.6...v1.26.0 )
---
updated-dependencies:
- dependency-name: numpy
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-19 18:18:42 +04:00
Roman Kazantsev
a139fb48b7
[TF FE][JAX] Add upper bound for jax dependencies ( #19943 )
...
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com >
2023-09-19 14:00:54 +04:00
Vitaliy Urusovskij
6b5a22a656
Add bert-base-ner in MemLeak tests ( #19817 )
...
* Add `bert-base-ner` in MemLeak tests
* Fix segfault caused by `fillTensorRandom()`
2023-09-19 11:27:23 +04:00
Roman Kazantsev
6556d07c32
[TF FE][Tests] Fix sporadic failure in CTCLoss test ( #19920 )
2023-09-18 20:25:44 +00:00
Maxim Vafin
c10b45fe9e
[PT FE] Fix issue with http error when using torch.hub ( #19901 )
...
* [PT FE] Fix issue with http error when using torch.hub
* Mark failing models as xfail
* Remove incorrect model names
2023-09-18 17:04:39 +02:00
Roman Kazantsev
d90ceb93d1
[TF Hub][TF FE] Fix 5D case for FusedBatchNorm ( #19904 )
...
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com >
2023-09-18 12:51:33 +00:00
Roman Kazantsev
df19699e3a
[TF Hub API][TF FE] Support TF Keras Model OOB without example_input ( #19892 )
...
* [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 >
2023-09-18 12:18:05 +00:00
Maxim Vafin and Roman Kazantsev
a4cbac3dee
[PT FE] Add tests for detectron2 models ( #19888 )
...
* [PT FE] Add tests for detectron2 models
* Fix names of tests
* Apply suggestions from code review
Co-authored-by: Roman Kazantsev <roman.kazantsev@intel.com >
* Create secondary requirements file
---------
Co-authored-by: Roman Kazantsev <roman.kazantsev@intel.com >
2023-09-18 13:40:40 +02:00
Ilya Lavrenov
ba67db66ae
Properly enable CMAKE_COMPILE_WARNING_AS_ERROR ( #19828 )
...
* Properly enable CMAKE_COMPILE_WARNING_AS_ERROR_DEFAULT
* Properly enable CMAKE_COMPILE_WARNING_AS_ERROR
2023-09-15 01:20:00 +04:00
Anastasiia Pnevskaia
18f29c02d2
Fixed scalar creating in tf.Graph decoder ( #19735 )
...
* Fixed scalar logic in tf.Graph decoder.
* Passed memory sharing flag to all Tensor constructors.
* Small correction.
* Test correction.
2023-09-14 23:36:22 +04:00
Przemyslaw Wysocki
b1b3343ffc
[PyOV] Bump scipy to a secure version and bump OMZ ( #19458 )
...
* Bump omz and scipy
* Separate versions per python version
* Change scipy in pot
2023-09-14 13:41:27 +02:00
Maxim Vafin
1a950f9e8d
[PT FE] Torchvision NMS can accept negative scores ( #19826 )
2023-09-14 11:07:24 +02:00
Maxim Vafin
4f92676c85
[PT FE] Support aten::one_hot ( #19779 )
...
* [PT FE] Support aten::one_hot
* Apply code style
2023-09-13 20:37:47 +02:00
Maxim Vafin
3c762240f3
[PT FE] Add tests for torchvision models ( #19702 )
...
* [PT FE] Add tests for torchvision models
* Update tests/model_hub_tests/torch_tests/requirements.txt
* Apply review comments
* Clean tmp directory and make this separate job
* Update .github/workflows/linux.yml
* Update tests/model_hub_tests/torch_tests/test_torchvision_models.py
2023-09-13 15:24:09 +04:00
Roman Kazantsev
d1a8c8f914
[TF Hub] Set seed for input data generation and fix integer input data ( #19765 )
...
* [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 >
2023-09-13 00:30:39 +04:00
Maxim Vafin
a6bc78dd0f
[PT FE] Separate tracing and scripting modes ( #19676 )
...
* [PT FE] Separate scripting and tracing in decoder
* Fix convert_model to accept decoder
* Some fixes
* Fix code style
* Fix preprocessor tests
* Fix tests
* Fix tests
* Fix more tests
* Fix ovc tests
2023-09-12 12:40:20 +04:00
Roman Kazantsev
530da61a4e
[TF Hub] Fix compute output size issue in test ( #19719 )
...
It helps to get 4 new models passed and other 2 models failed with accuracy issue.
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com >
2023-09-11 12:14:09 +04:00
Roman Kazantsev
37f61551a3
[TF FE][TF Hub] Use ConcreteFunc input and output signatures ( #19690 )
...
* [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 >
2023-09-10 03:46:01 +00:00
Maxim Vafin and Piotr Krzemiński
e83697ded4
[PT FE] Implement override_all_inputs, override_all_outputs ( #19642 )
...
* Implement override_all_inputs, override_all_outputs
* Apply suggestions from code review
Co-authored-by: Piotr Krzemiński <piotrkrzeminski1234@gmail.com >
* Update src/frontends/pytorch/src/input_model.cpp
* Update src/frontends/pytorch/src/input_model.cpp
* Resolve problem with self input
* Update place.cpp
* Update place.cpp
* Fix build
---------
Co-authored-by: Piotr Krzemiński <piotrkrzeminski1234@gmail.com >
2023-09-08 22:31:49 +02:00
Roman Kazantsev and Andrey Kashchikhin
63a6d4c41e
[TF Hub][GA] Set correct scheduler and model scope for regular validation ( #19658 )
...
* [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 >
2023-09-06 22:51:31 +02:00
Maxim Vafin
bacb83f8a2
Support aten::tile op ( #19645 )
2023-09-06 17:28:22 +00:00
Roman Kazantsev
4f7ac430fc
[TF Hub][TF FE][GA] Establish regular validation for all TF Hub models ( #19649 )
...
* [TF Hub][TF FE] Establish regular validation for all TF Hub models
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com >
* Correct names of reports
* Simplify configuration
---------
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com >
2023-09-06 17:02:59 +02:00
Roman Kazantsev
023a2f462a
[TF Hub][Notebook] Secure future notebook models in the precommit ( #19652 )
...
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com >
2023-09-06 18:43:30 +04:00
Roman Kazantsev
188d53d813
[TF Hub][TF FE] Clean-up all downloaded files for TF Hub models validation ( #19612 )
...
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com >
2023-09-05 13:07:13 +00:00
Roman Kazantsev
4eadef9e61
[TF Hub][TF FE] Make TF Hub validation more robust and add convenient xfail test marking ( #19596 )
...
* [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 >
2023-09-05 09:41:01 +04:00
Mateusz Mikolajczyk
c46f6bf115
[PT FE] Add aten::swapaxes ( #19483 )
...
* Add aten::swapaxes
* Add comment
* Improve swapaxes tests
2023-09-04 13:04:28 +02:00
Ekaterina Aidova and Piotr Krzemiński
90ef7096b9
[PT FE]: support PReLU ( #19515 )
...
* [PT FE]: support PReLU
* Update tests/layer_tests/pytorch_tests/test_prelu.py
* Apply suggestions from code review
Co-authored-by: Piotr Krzemiński <piotrkrzeminski1234@gmail.com >
---------
Co-authored-by: Piotr Krzemiński <piotrkrzeminski1234@gmail.com >
2023-09-04 07:36:42 +00:00
Roman Kazantsev
44657183f3
[TF Hub][TF FE] Fix TF Hub models validation and extend precommit ( #19567 )
...
* 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 >
2023-09-04 07:41:42 +02:00
Pavel Esir and Roman Kazantsev
b8226db465
[OVC] Fix output parsing ( #19425 )
...
* 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 >
2023-09-01 11:20:22 +02:00
Roman Kazantsev
2cf8f2bc1f
[TF FE][GitHub issue] Support Selu operation and add test ( #19528 )
...
* [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 >
2023-09-01 09:09:58 +00:00
Vitaliy Urusovskij
81a02c5586
Fix stoi out_of_range issue ( #19455 )
...
* Fix `stoi` out_of_range issue
* Handle incorrect behavior and throw exception
* Remove use of `getVmSizeInKB()` in `TestsCommon()`
2023-08-31 04:19:13 +04:00
Roman Kazantsev
928c75623b
[JAX][TF Hub][TF FE] Support XlaConvV2 operation and add JAX test ( #19466 )
...
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com >
2023-08-29 12:28:12 +04:00
Maxim Vafin
c5b64e458b
[PT FE] Align bool types and same bit int types ( #19399 )
...
* [PT FE] Align bool types and same bit int types
* Fix max value
2023-08-24 22:30:59 +02:00
Roman Kazantsev
8df85badf8
[TF Hub][TF FE] Support TensorListLength and TensorListResize operations ( #19390 )
...
* [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 >
2023-08-24 17:54:13 +02:00
Roman Kazantsev
1d0d00bf22
[TF Hub][GitHub Actions][TF FE] Introduce TF Hub Models Validation in GitHub Actions ( #19368 )
2023-08-23 18:40:31 +00:00
Ekaterina Aidova
80b8b6fff1
[PT FE]: allow example input list with single tensor ( #19308 )
2023-08-23 12:08:39 +04:00
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
5539d052b0
[JAX][TF Hub][TF FE] Introduce JAX layer tests and support of XLA operations ( #19269 )
...
* [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 >
2023-08-21 16:01:48 +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
Maxim Vafin
d55e45f677
[PT FE] Support non boolean inputs for __or__ and __and__ operations ( #19268 )
...
* [PT FE] Support non boolean inputs for __or__ and __and__ operations
* Add test for __or__
2023-08-21 10:55:30 +02:00