Commit Graph

889 Commits

Author SHA1 Message Date
Maxim Vafin 92a1f959d6
[PT FE] Save state_dict names in Constant name (#22242)
* Save state_dict names in Constant name

* Fix issue with cert

* Fix cert issue again
2024-01-22 10:40:00 +01:00
Karan Jakhar 103fb811e9
[PT FE] Add aten::gcd (#21740)
* Add gcd and test

* constant with static

* exec_condition set to true

* boolean scalar, output condition, zero shape []

* removing unused headers

* more tests added

* code format

* Update src/frontends/pytorch/src/op/gcd.cpp

Co-authored-by: Maxim Vafin <maxim.vafin@intel.com>

* Update src/frontends/pytorch/src/op/gcd.cpp

Co-authored-by: Maxim Vafin <maxim.vafin@intel.com>

* Update src/frontends/pytorch/src/op/gcd.cpp

Co-authored-by: Maxim Vafin <maxim.vafin@intel.com>

* Update src/frontends/pytorch/src/op/gcd.cpp

Co-authored-by: Maxim Vafin <maxim.vafin@intel.com>

* ngraph header removed

* int64

* Add int64 support

* Update tests/layer_tests/pytorch_tests/test_gcd.py

Co-authored-by: Maxim Vafin <maxim.vafin@intel.com>

---------

Co-authored-by: Maxim Vafin <maxim.vafin@intel.com>
2024-01-18 19:55:25 +01:00
Rajat Krishna 1a8f72f342
Parallel execution of TensorFlow Layer 1 Python tests (#22173)
* Update TF Layer 1 tests

* Enable parallel execution of tests

* Fix typo

* Fix typo

* Enable parallel tensorflow tests for windows

---------

Co-authored-by: Roman Kazantsev <roman.kazantsev@intel.com>
2024-01-18 18:46:20 +04:00
Pavel Esir 28b6fc9394
uncomment persimmon-8b-base, tvp-base, pvt-tiny-224 (#22212) 2024-01-17 16:52:19 +01:00
Maxim Vafin 6f5329250b
[PT FE] Fix mask case of aten::index_put_ (#22190) 2024-01-17 15:07:34 +01:00
Roman Kazantsev 14183ae7d1
[TF Hub] Mark up models failing due to unsupported operations (#22207)
* [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>
2024-01-17 11:19:22 +01:00
Maxim Vafin d699522843
[GHA] Update torchbench tests due to remove of phi_1_5 (#22191) 2024-01-16 23:50:10 +01:00
dependabot[bot] 997dda5475
Bump attrs from 23.1.0 to 23.2.0 in /tests (#22093)
Bumps [attrs](https://github.com/sponsors/hynek) from 23.1.0 to 23.2.0.
- [Commits](https://github.com/sponsors/hynek/commits)

---
updated-dependencies:
- dependency-name: attrs
  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>
2024-01-16 22:20:27 +01:00
Roman Kazantsev 464c35181a
[TF FE] Add testing model with tokenizer to precommit (#22141)
* [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>
2024-01-16 10:36:29 +04:00
Ekaterina Aidova cc597ee4fd
[PT FE]: support aten::index_add (#22138)
* [PT FE]: support aten::index_add

* apply review comments, extend tests

* use inplace op

* Update src/frontends/pytorch/src/op_table.cpp
2024-01-16 07:14:06 +01:00
Anastasiia Pnevskaia 41195a4b2a
[TF FE] Set single output tensor name for TF1 formats. (#21075)
* Set single output tensor name for TF1 and TF2 formats.

* Removed debug output.

* Added param for defining if tensor names need indices.

* Clang format.

* Comment corrected.

* Fixed TF1 layer tests.

* Minor correction.

* Fixed errors.

* Error fixed.

* Bug fixes.

* Bug fix.

* Code style, minor corrections.

* Added comments.

* Update src/frontends/tensorflow/src/frontend.cpp

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

* Added tests.

* Optimize imports.

* Code correction.

* Removed WA

* Small correction.

* Moved names alignment logic to adjust_saved_model_names().

* Removed changes in utils.

* Fixed errors, applied comments.

* Test fixed.

* Removed changes from utils.

* Removed commented code.

* Added note.

* Minor corrections.

* Code style.

* Changed set_node_name, removed not needed changes.

* Clang format.

* Fixed names for output places in input model.

* Fixed tensor names of identity.

* Added ticket number.

* Added ticket numbers.

* Added ticket numbers.

* Code style.

* Corrected tests.

* Update tests/layer_tests/ovc_python_api_tests/test_tf.py

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

---------

Co-authored-by: Roman Kazantsev <roman.kazantsev@intel.com>
2024-01-15 21:53:43 +04:00
Pavel Esir b5b53e1749
Keep compressed constants produced by FW (#22095)
* keep FW 16 bit float constants

* add layer tests

* remove leftovers from onnx, pdpd

* rename to MarkCompressedFloatConstants

* remove VisualizeTree

* added explanation why we need MarkCompressedFloatConstants
2024-01-15 15:05:24 +04:00
Pavel Esir 938600fbf7
[tests] resolve HF models 4th batch (#21907)
* add inspect pytorch modules

* add infer for each submodule

* skip -> xfail in several models

* successfull separate modules execution

* revert jukebox, whisper

* ready for rewiew

* rely on tags insted of names

* fix import error
2024-01-15 12:57:24 +04:00
Roman Kazantsev 994438b898
[TF Hub] Move Notebooks tests to Kaggle links (#22108)
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
2024-01-12 10:32:56 +04:00
Roman Kazantsev 2a4ae7c5c0
[TF Hub] Mark up models failing with IndexError for Squeeze (#22070)
* [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>
2024-01-10 18:46:43 +01:00
Georgy Krivoruchko 3722df74e8
[Py] Removing an old API from tests (#22047)
* 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
2024-01-10 19:25:29 +04:00
Roman Kazantsev b0bc95f3e0
[TF FE] Implement native support of string tensors for TensorFlow models (#22024)
* [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>
2024-01-09 20:54:55 +01:00
Roman Kazantsev ce4bbd75b4
[TF Hub] Mark up models failing with timeout error (#22050)
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
2024-01-09 20:28:55 +01:00
Roman Kazantsev 3052310d3b
[TF Hub] Mark up models failing with InvalidArgumentError and AttributeError (#22010)
* [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>
2024-01-08 13:29:28 +01:00
sami0i e2c9f24400
[TF FE] Support Div operation for TensorFlow (#21730)
* Support Div operation for TensorFlow

* Update test_tf_Div.py

* Update div.cpp

* Update op_table and common_op_table

* update translate_div_op

* print inputs

* update div.cpp

* set m_pythondiv to false

* update div.cpp

* update div.cpp

* Update tests/layer_tests/tensorflow_tests/test_tf_Div.py

* Update tests/layer_tests/tensorflow_tests/test_tf_Div.py

---------

Co-authored-by: Roman Kazantsev <roman.kazantsev@intel.com>
2024-01-07 15:04:12 +00:00
Roman Kazantsev dbcb270201
[MO][TF FE] Switch off fallback to legacy FE (#21523)
* [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>
2024-01-05 19:11:04 +01:00
Vitaliy Urusovskij d7ba44f8c3
Replace legacy config in stress_tests/ with Properties (#21988) 2024-01-05 17:27:17 +04:00
Roman Kazantsev 51eb10743a
[TF Hub] Markup models failing with error "Model references undeclared parameters" (#21975)
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
2024-01-05 08:33:01 +00:00
Roman Kazantsev 7953dfafa1
[TF Hub] Markup models failing due to inference results mismatch (#21936)
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
2024-01-03 15:27:12 +01:00
Aleksandr Voron e99af17296
[CPU][ARM] Set `arm64-v8.2-a` as a default architecture (#21545) 2024-01-03 16:39:13 +04:00
Roman Kazantsev bac895b33d
[TF Hub] Mark up tests failing with error "No signature found" (#21920)
* [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>
2024-01-02 16:30:16 +01:00
Abdulrahman Adel Ibrahim ded49387b0
Support ConjugateTranspose for TF (#21586)
* conj transpose

* Update

* Fix Mistakes

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

Co-authored-by: Anastasiia Pnevskaia <anastasiia.pnevskaia@intel.com>

* Update src/frontends/tensorflow/src/op_table.cpp

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

* """Test the conjugate transpose layer."""

* u

* Resolve Issues

* Revert "conj transpose"

This reverts commit 27833f348a.

* Update ConjTranspose

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

* update  clang-format | fix test errors

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

* fix test error

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

---------

Co-authored-by: Anastasiia Pnevskaia <anastasiia.pnevskaia@intel.com>
Co-authored-by: Roman Kazantsev <roman.kazantsev@intel.com>
2023-12-30 20:29:48 +00:00
Maxim Vafin 98c309f96b
[PT FE] Filter timm models prio smaller, adjust models failed in nightly (#21912)
* [PT FE] Filter timm models prio smaller, adjust models failed in nightly

* Remove debug output

* Update tests/model_hub_tests/torch_tests/test_timm.py
2023-12-29 21:12:24 +01:00
Roman Kazantsev fe9c56f688
[TF Hub] Support pb models for testing (#21883)
* [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>
2023-12-27 20:37:10 +04:00
Denis Orlov ffcc2962d5
Remove more GNA related code (#21826)
* Remove more GNA related code

* Remove DEVICE_GNA from tests

* Fix according to review comments

---------

Co-authored-by: Ilya Lavrenov <ilya.lavrenov@intel.com>
2023-12-27 16:09:22 +00:00
Roman Kazantsev 26c01d683d
[TF Hub] Update precommit with model containing TensorListConcatV2 op (#21859)
* [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>
2023-12-27 12:06:22 +01:00
Roman Kazantsev 0c87a19333
[TF FE][GitHub issue] Extend Upsampling2D support for more input types (#21870)
* [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>
2023-12-26 12:59:38 +01:00
Vitaliy Urusovskij 1545418a26
Delete API1.0 migrated tests (#21251)
* 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
2023-12-26 08:35:17 +04:00
Roman Kazantsev 9a5ec1a153
[TF FE] Support different types: tf.i8, u8, i16, u16, i32, u32, i64, u64, f16, f32, bf16 (#21864)
* 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>
2023-12-25 19:03:11 +01:00
Anastasiia Pnevskaia 3ab5ee861d
Fixed names for GraphDef. (#21799) 2023-12-21 17:04:05 +04:00
Ilya Lavrenov c79ae17bbf
Removed GNA plugin from 2024.0 (#21800) 2023-12-21 13:39:06 +01:00
Anastasiia Pnevskaia 12faade22f
[TF FE] Complex type support extended for Separate Bass model. (#21477)
* Complex type support extended, fixed some errors.
* Tests correction.
* FloorDiv, TensorListConcatV2 fixed.
* FloorDiv test added.
* Corrected imports.
2023-12-21 15:17:12 +04:00
Ilya Lavrenov 2463acc5b0
Removed speech_sample (#21801) 2023-12-21 13:06:57 +04:00
Georgy Krivoruchko 27c9ca749d
[ONNX] Switched to ONNX 1.15.0 (#20929)
* [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
2023-12-19 18:55:32 +00:00
Mateusz Mikolajczyk a1e296eaa8
[TF FE][Opset13] Enable Multinomial operator in TF frontend (#20646)
* Enable Multinomial operator in TF frontend

* Implement requested changes

* Update tests/layer_tests/tensorflow_tests/test_tf_Multinomial.py

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

* Align with CPU implementation

---------

Co-authored-by: Roman Kazantsev <roman.kazantsev@intel.com>
2023-12-18 12:00:04 +01:00
Mateusz Mikolajczyk be476519fb
[PT FE] ScaledDotProductAttention fix issue with other float dtypes (#21638)
* Fix scale input

* Improve torch scaled dot tests
2023-12-18 14:32:54 +04:00
Mateusz Mikolajczyk 1783aad48d
[PT FE][Opset13] Add translation for torchscript aten::multinomial operator (#20397)
* 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>
2023-12-18 09:54:06 +01:00
Pavel Esir 137180bce5
[tests] resolves skipped HF tests: 3rd batch (#21678)
* resolves skipped HF tests: 3rd batch

* remove comments

* minor corrections

* replace example input *argc -> **kwargc

* use config instead of dict in example input

* add kwargs
2023-12-15 19:58:12 +04:00
Ahmad Chalhoub c087fb4206
support UniqueWithCounts for TF FE (#21565)
* support UniqueWithCounts for TF FE

* set node name and fix code style
2023-12-15 18:33:29 +04:00
Anastasiia Pnevskaia bf00569ae1
Temporary revert "[TF FE] Support different types" (#21656)
This reverts commit f9d20d5aa0.
2023-12-15 13:27:18 +04:00
Ekaterina Aidova 27bf494355
[PT FE]: support aten::take_along_dim (#21625) 2023-12-14 12:42:32 +01:00
Maxim Vafin 4752237871
[PT FE] Support aten::pow_ (#21630)
* [PT FE] Support aten::pow_

* Fix tests
2023-12-13 18:54:53 +01:00
Maxim Vafin be7c70c8c4
[PT FE] Support aten::scatter_add (#21633) 2023-12-13 17:54:33 +01:00
Pavel Esir 20ad8b43a1
Enable dinov2-base (#21626)
with the newest transformers dinov-2-base started to pass
2023-12-13 13:52:52 +00:00
Maxim Vafin 34b2b66b69
[PT FE] Report unsupported operations with model list (#21607)
* [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
2023-12-12 21:25:27 +00:00