Commit Graph

13671 Commits

Author SHA1 Message Date
Anastasia Kuporosova
ba34fa77e8
[PyOV] Expose result op (#21482)
* [PyOV] Expose result op

* update docs with op.Result

* codestyle

* add test and fix flake8 errors

* add result test

* fix transformation tests

* update return type
2023-12-08 13:57:11 +00:00
Georgy Krivoruchko
a3de4c17a1
[ONNX] QDQ uint16 support (#21278)
* [ONNX] QDQ uint16 verification
* Added tests
2023-12-08 17:04:40 +04:00
Sergey Shlyapnikov
0ad0a6bfaa
[GPU] Improve fake alignment logic and fix missed zero point value (#21530)
* [GPU] Improve fake alignment logic and fix missed zero point value

* Add tests
2023-12-08 12:20:35 +00:00
River Li
c565bf0c37
[CPU tests] migrate single layer test cases to be API 2.0 - part 7 (#21538) 2023-12-08 14:43:39 +04:00
River Li
04db11e921
[CPU] CPU plugin api 2.0 migration for TensorDesc (#21002)
* [CPU] CPU API 2.0 migration for TensorDesc

* Fixed CustomOpCPUTest issue

* Cleanup unused code

1. normalize_preprocess
2. MemoryDescUtils::convertToBlockedMemoryDesc
3. Fix a typo issue

* Fix zero dim with none zero strides issue

* Fix Expected and actual shape are different: [] VS [1]

* Remove InferenceEngine::Layout

* Solve rebase issues

* Update for code reviewer's comments

* Keep ov::intel_cpu::node::Generic for legacy compatibility

* Solve scalar data issue

* Solve reviewer's comments

* Restore Generic registeration
2023-12-08 11:28:52 +01:00
Ilya Lavrenov
fbec7be5e0
Try to run arm64 without system tbb (#21524)
* Try to run arm64 without system tbb

* Moved files

* Moved cmake files for auto batch
2023-12-08 13:59:48 +04:00
Maciej Smyk
89e4cb4252
Update learn_openvino.rst (#21539) 2023-12-08 10:58:05 +01:00
Ilya Lavrenov
3481568a39
Fixed Linux CC (#21540) 2023-12-08 13:51:06 +04:00
River Li
8eb26dce6c
[CPU tests] migrate single layer test cases to be API 2.0 - part 6 (#21497)
* [CPU tests] migrate single layer test cases to be API 2.0 - part 6

* Fix duplication issue

* Remove ov::Layout from PriorBox test cases
2023-12-08 13:24:19 +04:00
Xuejun Zhai
9866bc4d37
[CPU tests] migrate single layer test cases to be API 2.0 - part 2 (#21441)
* [CPU tests] migrate single layer test cases to be API 2.0 - part 2

Signed-off-by: Zhai, Xuejun <xuejun.zhai@intel.com>

* [CPU][Single layer test] fix tests error

Signed-off-by: Zhai, Xuejun <xuejun.zhai@intel.com>

* Update augru_sequence.cpp

---------

Signed-off-by: Zhai, Xuejun <xuejun.zhai@intel.com>
2023-12-08 13:22:10 +04:00
dependabot[bot]
df2ff92d21
Bump actions/stale from 8 to 9 (#21535)
Bumps [actions/stale](https://github.com/actions/stale) from 8 to 9.
- [Release notes](https://github.com/actions/stale/releases)
- [Changelog](https://github.com/actions/stale/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/stale/compare/v8...v9)

---
updated-dependencies:
- dependency-name: actions/stale
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-08 12:58:56 +04:00
_bhaskar365
4c67ab7381
Merge changes from upstream/master referencing - test_infer_request.py renamed to test_sync_infer_request.py and new f… #21436 (#21516) 2023-12-08 09:48:13 +01:00
Anastasia Kuporosova
5e3176d617
[PyOV] Hide warning in const op (#21529) 2023-12-08 09:36:10 +01:00
Vladislav Golubev
261cf4e4dc
[Snippets] Brgemm blocking by KN dims at the LIR level (#19335) 2023-12-08 11:58:35 +04:00
Fang Xu
488abd0ad2
fix coredump with numactl (#21393)
* fix coredump with numactl

* record original socketid and numaid

* update comment

* update comments

---------

Co-authored-by: Chen Peter <peter.chen@intel.com>
2023-12-08 14:20:35 +08:00
Aleksandr Voron
2086041552
[CPU] Fix XmlModelWithExtensionFromDSO test (#21507) 2023-12-08 09:21:16 +04:00
River Li
072dcea299
[CPU Test] fix any_layout test (#21490) 2023-12-08 03:30:52 +00:00
Taylor Yeonbok Lee
68d4ed91ed
minor fix on the help message (#21327) 2023-12-08 02:13:33 +00:00
Andrey Kashchikhin
dfc91186a1
[CI] [GHA] Extract test jobs into reusable workflows (#21395)
* 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
2023-12-07 23:44:45 +04:00
Aleksandr Voron
9cdf1a17ad
[CPU] [ARM] Enable Conv SLT tests on ARM (#18061) 2023-12-07 20:50:51 +04:00
Ahmad Chalhoub
aa69f00e8d
support MulNoNan for TF (#21459)
* support MulNoNan for TF

* update test_tf_MulNoNan

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

* update zeros const method

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

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

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

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

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

* Update tests/layer_tests/tensorflow_tests/test_tf_MulNoNan.py

---------

Co-authored-by: Roman Kazantsev <roman.kazantsev@intel.com>
2023-12-07 16:31:41 +00:00
Maxim Vafin
056282b7ef
[PT FE] Unroll lists in a same way as tuples when on input (#21505)
* [PT FE] Unroll lists in a same way as tuples when on input

* Fix codestyle
2023-12-07 16:09:43 +01:00
Irina Efode
fef3d0d3aa
[CONFORMANCE] Fix incorrect comparation model in (#21461) 2023-12-07 18:03:30 +04:00
Mikhail Ryzhov
aa2dcb1f46
[GHA] Test command length excess (#21502)
* debug

* enabled pre-commit

* Disabled shell on Win

* remove shell length

* remove debug print
2023-12-07 18:01:19 +04:00
Maxim Vafin
dd8f4f3661
Fix ClampFusion for case when min is greater then max (#21509) 2023-12-07 17:58:38 +04:00
Roman Kazantsev
ec40652cea
[TF FE] Switch on ConvLSTM2D layer tests in pre-commit (#21520)
* [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>
2023-12-07 13:46:58 +00:00
Xuejun Zhai
e393678590
[CPU tests] migrate single layer test cases to be API 2.0 - part 4 (#21488)
* [CPU tests] migrate single layer test cases to be API 2.0 - part 4

Signed-off-by: Zhai, Xuejun <xuejun.zhai@intel.com>

* [CPU tests] fix test error

Signed-off-by: Zhai, Xuejun <xuejun.zhai@intel.com>

* [CPU Func Test] revert single_layer_tests/group_convolution_backprop_data.cpp change

Signed-off-by: Zhai, Xuejun <xuejun.zhai@intel.com>

---------

Signed-off-by: Zhai, Xuejun <xuejun.zhai@intel.com>
2023-12-07 17:19:46 +04:00
River Li
23424ab73c
[CPU tests] migrate single layer test cases to be API 2.0 - part 1 (#21420)
* [CPU tests] migrate single layer test cases to be API 2.0 - part 1

* Remove LayerTestsDefinitions
2023-12-07 16:45:31 +04:00
River Li
886e0b9f59
[CPU Tests] Migrate subgraph_test to be api 2.0 - part 1 (#21358)
* [CPU Tests] Migrate subgraph_test to be api 2.0 - part 1

* Update

* Handle ngraph::pass::ConvertPrecision issue

* Remove unused config variable
2023-12-07 16:33:54 +04:00
Evgenya Nugmanova
dde7e70771
[DOCS] Reduce Min / Max -- Reducing empty tensor would result in an undefined behavior (#20736) 2023-12-07 13:06:02 +01:00
Pavel Esir
b71906c672
[PT FE] [ONNX FE] Partially upcast random_normal to f32 (#21400)
* upcast randn to fp32

* style fix

* corrected tests

* add layer tests with statistics

* style-fix

* move make_random_normal to cmmmon

* style-fix

* added randn layer tests; updated CMakeLists.txt

* moved to inline

* fix problem with _USE_MATH_DEFINES on Win

* pass NodeRegistry as reference; some other minor corrections

* adjust thresholds to avoid sporadicity

* move random_normal_helper and hide from public api

* fix install

* fix install: 2nd try

* Frontend common

* remove last frontend_common::static

* build fix

* try to fix mock1 build: 2nd attempt

* try to fix mock1 build: 3rd attempt

* Update src/core/tests/CMakeLists.txt

* Fixed build: attemp 2

* Update src/plugins/intel_cpu/tests/unit/CMakeLists.txt

* Update CMakeLists.txt

---------

Co-authored-by: Ilya Lavrenov <ilya.lavrenov@intel.com>
2023-12-07 15:23:03 +04:00
Georgy Krivoruchko
c61de14c66
Aligned reporting with latest implemenration (#21503) 2023-12-07 15:08:05 +04:00
Evgenya Nugmanova
b29a08d15c
RPE operation and fusing transformation (#20734)
* RPE operation and fusing transformation

* Correct includes

* Apply suggestions from code review

Co-authored-by: Pawel Raasz <pawel.raasz@intel.com>

* Comments adressed

* Misprints

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

Co-authored-by: Pawel Raasz <pawel.raasz@intel.com>

* Ivan comments adressed

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

Co-authored-by: Pawel Raasz <pawel.raasz@intel.com>

* Fix includes and adds comments

---------

Co-authored-by: Pavel Durandin <pavel.durandin@intel.com>
Co-authored-by: Pawel Raasz <pawel.raasz@intel.com>
2023-12-07 11:37:43 +01:00
Oleg Pipikin
a8a493accf
Refactor gpu tests (#21448)
* Refator gpu beh tests

* Refactor concurency tests

* Refactor gpu dynamic tests

* Refactor gpu subgraph tests

* Refactor gpu single layer tests

* Fix

* Fix
2023-12-07 14:35:56 +04:00
Vitaliy Urusovskij
8ef3834fe9
ngraph leftovers in CPU shared single_layer and subgraph (#21499)
tests
2023-12-07 14:34:11 +04:00
Pawel Raasz
25e5818645
Fix temporary axes remove from MatMul shape_infer (#21474) 2023-12-07 10:36:00 +01:00
Pawel Raasz
320e2bad57
[shape_infer] Fix Equal upper bound calculation (#21453)
* Fix Equal upper bound calculation

* Correct test name
2023-12-07 09:27:06 +00:00
Evgeny Kotov
90087dbb48
Use time limits instead of number iterations limits in GHA performance tests (#21407)
* 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
2023-12-07 11:53:27 +04:00
Wang, Yang
fd0809ead4
[AUTO] Enable round robin policy for cumulative throughput mode of AUTO plugin (#20439)
* Add and implement the logic of property SCHEDULE_POLICY for MULTI plugin.

* Updated.

* Enable test case for schedule policy test.

* enable test case for property ov::intel_auto::schedule_policy.

* Update.

* Updated.

* Updated.

* Update.

* Update the lock logic here by considering the runtime fallback case.

* Update.

* Update.

* Update.

* Update default value of schedule policy to DEVICE_PRIORITY

* Enable the function test case for schedule policy.

* Add description for inference requests schedule policy within AUTO plugin cumulative mode.

* Updated.

* Python bindings for enum SchedulePolicy and property ov::intel_auto::schedule_policy.

* Update.

* Update.

* Update.

* Updated.

---------

Co-authored-by: Chen Peter <peter.chen@intel.com>
Co-authored-by: Wanglei Shen <wanglei.shen@intel.com>
2023-12-07 07:04:56 +01:00
Roman Kazantsev
33b2e6bb51
[TF FE] Allow any model format extension (#21508)
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
2023-12-07 09:21:38 +04:00
Luo Cheng
0a7d1d770f
[CPU] Optimize ScaledDotProductAttention performance (#21412) 2023-12-07 00:24:49 +01:00
rghvsh
55d7765704
[TF FE] Support Atan2 operation for TensorFlow models (#21076)
* Create atan2.cpp

* Update common_op_table.hpp

Adds atan2 operation to the list

* Update op_table.cpp

Adds atan2 to the list of BinaryOp.

* Create test_tf_Atan2.py

Adds test for Atan2.

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

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

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

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

* Update atan2.cpp

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

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

* Update atan2.cpp

declares x and y , explicitly mentions conditions

* Update atan2.cpp

* Update atan2.cpp

Adds versions.

* Update atan2.cpp

adds namespace

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

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

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

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

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

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

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

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

* Update atan2.cpp

Clang format

* Update atan2.cpp

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

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

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

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

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

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

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

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

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

* Update test_tf_Atan2.py

fixes the datatype of y

* Update tests/layer_tests/tensorflow_tests/test_tf_Atan2.py

* Update test_tf_Atan2.py

shape to float

* Update tests/layer_tests/tensorflow_tests/test_tf_Atan2.py

* Update tests/layer_tests/tensorflow_tests/test_tf_Atan2.py

* Update tests/layer_tests/tensorflow_tests/test_tf_Atan2.py

* Update test_tf_Atan2.py

Makes the range of input inclusive for x<0 and y<0.

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

---------

Co-authored-by: Roman Kazantsev <roman.kazantsev@intel.com>
2023-12-06 21:57:07 +01:00
Roman Kazantsev
148daf035b
[TF FE] Avoid reinterpret_cast for non-standard types (#21506)
Clean-up translator for Placeholder

Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
2023-12-06 19:55:59 +00:00
Roman Kazantsev
cac6aadcc8
[TF FE] Support object removal and Pad for complex type (#21498)
* [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>
2023-12-06 20:03:43 +01:00
Aleksandr Voron
60109caf63
[CPU] FP16 support in EmbeddingBagOffsetSum and EmbeddingBagSum (#21433) 2023-12-06 22:21:02 +04:00
Sergey Shlyapnikov
152b4dfc0d
[GPU] Add SLM support for FC bf tiled kernel (#21435)
* [GPU] Add SLM support for FC bf tiled kernel

* Fix unaligned IFM leftovers processing in case of compressed weights and add decompression scale post op support

* added FullyConnected_bf_tiled::GetUpdateDispatchDataFunc

* updated FullyConnected_bf_tiled::GetUpdateDispatchDataFunc for two types of kernels

---------

Co-authored-by: Kim, Eddy <eddy.kim@intel.com>
2023-12-06 18:18:01 +01:00
Maxim Vafin
8a0317101c
[PT FE] Disable freezing (#20679)
* Disable freezing

* Add rules for freezing

* Update src/bindings/python/src/openvino/frontend/pytorch/ts_decoder.py

* Update src/bindings/python/src/openvino/frontend/pytorch/ts_decoder.py
2023-12-06 15:39:54 +01:00
Xuejun Zhai
275e14d94a
[CPU tests] migrate single layer test cases to be API 2.0 - part 5 (#21489)
Signed-off-by: Zhai, Xuejun <xuejun.zhai@intel.com>
2023-12-06 17:05:44 +04:00
Xuejun Zhai
6391b0c9f6
[CPU tests] migrate single layer test cases to be API 2.0 - part 3 (#21445)
* [CPU tests] migrate single layer test cases to be API 2.0 - part 3

Signed-off-by: Zhai, Xuejun <xuejun.zhai@intel.com>

* [CPU tests] migrate single layer test cases to be API 2.0 - part 3

Signed-off-by: Zhai, Xuejun <xuejun.zhai@intel.com>

---------

Signed-off-by: Zhai, Xuejun <xuejun.zhai@intel.com>
2023-12-06 16:55:44 +04:00
Haiqi Pan
ddc395b6cb
API 2.0 infer request io blob test case (#20336)
* add failToSetUninitializedInputBlob, failToSetUninitializedOutputBlob and canInferWithGetOut

* FailedAsyncInferWithNegativeTimeForWait

* Revert "FailedAsyncInferWithNegativeTimeForWait"

This reverts commit 3b6780102f.

* Update src/tests/functional/plugin/shared/src/behavior/ov_infer_request/io_tensor.cpp

Co-authored-by: River Li <river.li@intel.com>

* Update src/tests/functional/plugin/shared/src/behavior/ov_infer_request/io_tensor.cpp

Co-authored-by: River Li <river.li@intel.com>

---------

Co-authored-by: River Li <river.li@intel.com>
2023-12-06 16:38:10 +04:00