Commit Graph

13398 Commits

Author SHA1 Message Date
Oleg Pipikin
eaa3098920
Refactor ConvReshapeAct (#21219) 2023-11-27 14:33:03 +00:00
Karol Blaszczak
558e713043
[DOCS] fixes lts disclaimer master 2023-11-27 14:58:10 +01:00
Vitaliy Urusovskij
6dd448d9cc
Fix COPY_INSTEAD_OF_MOVE and AUTO_CAUSES_COPY (#21267)
* Fix `AUTO_CAUSES_COPY` for hetero compiled_model

* Fix `COPY_INSTEAD_OF_MOVE`

* Fix `AUTO_CAUSES_COPY` in template comp_model
2023-11-27 16:31:32 +04:00
Mateusz Tabaka
b027766b0a
Stop constantfold_subgraph on nonconstfoldable ShapeOf (#21171)
* Stop constantfold_subgraph on nonconstfoldable ShapeOf

Ticket: CVS-124628

* pass tensor to Constant constructor

---------

Co-authored-by: Ivan Tikhonov <ivan.tikhonov@intel.com>
2023-11-27 12:30:54 +01:00
River Li
b02ddc5831
[CPU] API 2.0 migration for cpu plugin properties (#20022) 2023-11-27 15:02:41 +04:00
River Li
45d6aa2171
[CPU Tests] migrate FuseTransposeAndReorderTest to API 2.0 (#21297) 2023-11-27 10:18:23 +00:00
Vladislav Golubev
598da6e5c0
[Transformations] Leftovers: FuseU4WeightsAndZeroPoint transformation (#20709)
* util::visit_constant_path

* ConvertU4WeightsZeroPointToScalar: avoid unnecessary insert

* Review comments applied

* codestyle fix
2023-11-27 10:38:05 +01:00
Vladislav Golubev
c50bd2b55f
[Snippets] MHA tests: bf16 inputs generation restored (#21250) 2023-11-27 13:20:05 +04:00
Sungeun Kim
1a235ffe79
get layout from get_output_layout in primitive_inst (#21294) 2023-11-27 13:02:02 +04:00
Maxim Vafin
e52f922d35
[PT FE] Unify hub tests, add marks for timm models (#21283)
* Unify hub tests, add marks for timm models

* Fix hf tests
2023-11-27 12:22:13 +04:00
Xuejun Zhai
4fdbb2d4e8
Xuejun/snippet remove inference engine (#21293)
* [CPU Plugin][Snippet] remove InferenceEngine, replace with ov

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

* [CPU Plugin][Snippet] remove ngraph namespace

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

---------

Signed-off-by: Zhai, Xuejun <xuejun.zhai@intel.com>
2023-11-27 12:00:58 +04:00
Anastasia Kuporosova
815980f290
[PyOV] Replace legacy assert (#21268)
* [PyOV] Replace legacy assert

* codestyle

* apply comments

* Update src/bindings/python/src/pyopenvino/graph/dict_attribute_visitor.cpp
2023-11-27 11:51:01 +04:00
Mateusz Mikolajczyk
ed061d5179
[Opset13][FP8] FakeConvert-13 input validation improvements (#21226)
* Improve shape type infer for FakeConvert-13

* Fix formatting

* Formatting + missing test

* Implement requested changes

* Improve type merge

* Fix formatting

* Add requested type_prop tests

* Implement requested changes

* Fix formatting

* Implement requested changes

* Use template type
2023-11-27 07:38:08 +00:00
Chenhu Wang
6b898fc8d9
[CPU] Interpolate extend to rank 3 input support (#21003) 2023-11-27 07:32:18 +00:00
Ekaterina Aidova
eaae00c2ca
[PT FE]: support aten::empty_like (#21258)
* [PT FE]: support aten::empty_like

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

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

---------

Co-authored-by: Maxim Vafin <maxim.vafin@intel.com>
2023-11-27 07:15:19 +00:00
Ekaterina Aidova
a5d53aeaef
[PT FE]: fix for aten::index_put_ if values.r > indices.r (#21255)
* [PT FE]: fix for aten::index_put_ if values.r > indicies.r

* add more complex test case
2023-11-27 07:01:16 +00:00
Roman Kazantsev
9421f4cf2d
[TF FE] Speed up compilation - part 5 (#21288)
* [TF FE] Speed up compilation - part 5

Avoid usage of heavy opsetX header

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

* Complete constant.hpp template methods for string Tensor

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

* Revert "Complete constant.hpp template methods for string Tensor"

This reverts commit 8f86ab2e7b.

---------

Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
2023-11-27 10:51:18 +04:00
River Li
a6463c1ac6
[Core]lstm test api20 (#21031)
* [Core] lstm api fix

* Fix LSTMCell failure issues

* Solve GNA failures

* Update for comments

* Minor update

* Use new ov::test::utils::makeEltwise

---------

Co-authored-by: Durandin, Pavel <pavel.durandin@intel.com>
2023-11-27 10:25:58 +04:00
Xuejun Zhai
058001eb84
[Coverity Scan Issue] fix cs issues in scaled_attn.cpp (#21270)
* [Coverity Scan Issue] fix cs issues in scaled_attn.cpp

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

* Fix review comments

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

---------

Signed-off-by: Zhai, Xuejun <xuejun.zhai@intel.com>
2023-11-27 10:25:02 +04:00
Wanglei Shen
72cb4e4820
add additional checks for bad cache information in VM (#21059)
* add additional checks for bad cache information in VM

* update implementation
2023-11-27 07:51:44 +08:00
Luo Cheng
91660b1c05
[CPU] Fix ScaledDotProductAttension accuracy problem (#21217) 2023-11-26 14:47:04 +04:00
Pavel Esir
493a338ad2
resolve TODO in efficient compression: return hashing compression back (#21141)
* turn on compression by searching duplicate blobs (by hash) for fp16

* style-fix

* apply comments

* added multimap

* style fix
2023-11-25 08:35:35 +00:00
Tomasz Jankowski
8231d57c38
[core] Migrate ScatterNDUpdate operator to new API (#21231)
* Drop legacy stuff

* Repalce HostTensor with ov::Tensor
2023-11-25 11:33:28 +04:00
Roman Kazantsev
9f87f72ca6
[TF FE] Speed up compilation - part 4 (#21269)
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
2023-11-25 01:06:20 +04:00
Evgeny Kotov
965313ba0b
[TF Hub][Perf Tests]Implement performance tests in precommit to compare read_model and convert_model paths (#21023)
* begin

* fixes

* measure time and compare

* fix bug + update precommint models

* cleanup

* add wget to install requirements; add to linux.yml

* fixes + improvements

* output results to html

* remove unneeded code

* fix

* code review fixes

* store downloaded models in cache

* use 1000 runs

* use model paths from tf-hub tests

* use tf hub api to download instead of wget; measure some time stats

* small fixes

* remove unneeded files

* use own list of models

* remove uneeded if

* remove unstable models

* remove unstable models

* fix requirements

* code review fixes

* Update .github/workflows/linux.yml

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

* fix round_num function

* remove unstable network

* Update tests/model_hub_tests/models_hub_common/test_performance_model.py

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

* code review fixes

* build fix

* code review fixes

* code review fixes

* code review fixes

* Update tests/model_hub_tests/models_hub_common/test_performance_model.py

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

* Update tests/model_hub_tests/performance_tests/test_tf_hub_perfomance_model.py

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

* Update tests/model_hub_tests/performance_tests/test_tf_hub_perfomance_model.py

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

* Update tests/model_hub_tests/models_hub_common/test_performance_model.py

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

* code review fixes: use autoflake

* remove unneeded tensorflow_text

* Update .github/workflows/linux.yml

* Update linux.yml

Added TensorFlow_Hub_Performance_Models_Tests to final status check

---------

Co-authored-by: Roman Kazantsev <roman.kazantsev@intel.com>
Co-authored-by: Ilya Lavrenov <ilya.lavrenov@intel.com>
2023-11-24 18:13:44 +04:00
Ilya Lavrenov
e087ed083c
Revert "the proxy device with id should be also a proxy device. (#21248)" (#21271)
This reverts commit c491381a0d.
2023-11-24 17:49:37 +04:00
Andrzej Kopytko
758524978b
[DOCS] tabs styling (#21272) 2023-11-24 13:11:50 +01:00
Maxim Vafin
fe6ae4fbdd
[PT FE] Get input dtype for aten::sum from graph (#21262) 2023-11-24 15:45:42 +04:00
Georgy Krivoruchko
71836a959d
[TFLite] Moved tests to a separate file 2023-11-24 13:20:10 +04:00
Georgy Krivoruchko
a8e9989383
[CMAKE] Keep frontend's folder structure for Visual Studio (#21222) 2023-11-24 13:16:10 +04:00
Xuejun Zhai
807b77c38e
[Func Test] Upgrade func test of QuantizedConvolutionBatchNorm related to 2.0 (#21053)
* [Func Test] Upgrade func test of QuantizedConvolutionBatchNorm related to 2.0

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

* [Func Test] fix QuantizedConvolutionBatchNorm test error, caused by error input

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

* [Func Test] fix format issue

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

* [Func Test] Fix errors

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

* [Func Test] Fix format issue

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

* [Func Test] Fix TransformationTestsF test error

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

* [Func Test] Fix test error

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

* [Func Test] Fix review comments

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

---------

Signed-off-by: Zhai, Xuejun <xuejun.zhai@intel.com>
2023-11-24 13:07:15 +04:00
Katarzyna Mitrus
63e7e2dd3e
[Opset13][FP8] FakeConvert evaluate and reference impl (#21034)
* FakeConvert op init

* Update dest types names

* Update op hpp

* Update opset ops number

* Init type_prop tests

* Add attributes tests

* Add op check test

* Update namespace in fc cpp

* Update getters

* Refactor static member

* Make destination_type lower case

* Update type in test

* Move get_valid_types out of class

* Update ops number in opset

* Evaluate init

* Init poc evaluate

* Update types name

* Style update

* FakeConvert eval tests

* Add support for FP16 input

* Remove unused functions

* Use const auto and constexpr

* Create fake_convert reference file and move ref functions

* FakeConvert eval and reference update

* Remove unused is_normal variable

* Add bf16 tests

* Update construtor in tests

* adjust convert helper name

* Update comments

* Make func params as constexpr

* Update types

* Non scalar scale shape tests

* Use autobrodacast_select

* Use single autobroadcast_select

* Check scale_shape size

* Add var to keep scale_shift lambda

* Use lamda only for autobroadcast

* More checks for per channel scale

* Remove union half_t

* Change template to fp16 type for emulate

* Use f8e4m3_min_val as constexpr

* Update unsigned short to uint16_t

* Minor style refactor

* Minor comments update

* Update fake_convert_details namespace to func

* Update apply_conversion return type

* Add doxygen text

* Update supported type assert

* Remove duplicated tests

* Update namespace move to cpp

* Fill init with zeroes instead of reserve

* Use add div mul sub reference for applying scale

* Use autobroadcast_select for applying scale

* Bring back opt broacast cases

* Reuse scale_shift as func

* Adjust s and o var names

* Update multiplication in loop tu accumulate
2023-11-24 09:54:19 +01:00
Katarzyna Mitrus
65c3c7c20a
[Opset13] Fix NMSRotated-13 reference sorting across batch (#20669)
* Add sort to test params

* Add more tests, batch, classes, sort

* test_sort_batch

* Fix sorting if sort_result_desc true

* Diable clang for test data

* Reenable type tests

* Fix comment

* Use std tie for values comparison

* Update var names to lhs and rhs

* Apply alignment with nms patch for GPU

---------

Co-authored-by: Michal Lukaszewski <michal.lukaszewski@intel.com>
2023-11-24 09:51:40 +01:00
Wang, Yang
c491381a0d
the proxy device with id should be also a proxy device. (#21248) 2023-11-24 12:09:46 +04:00
Maxim Vafin
44310535ff
Remove fp32 aligning for aten::round (#21257) 2023-11-24 12:09:34 +04:00
Anastasia Kuporosova
ccfe58cf84
[PyOV] Update imports in py api tests (#21252)
* [PyOV] Update imports in py api tests

* update year and back test_compression_4bit.py

* missed import
2023-11-24 11:16:57 +04:00
Sun Xiaoxia
b7edd5df69
migrate threading related interface from API 1.0 to 2.0 (#21167)
* migrate threading related interface from API 1.0 to 2.0

* fix code style

* fix @ref issue in doc

* change <> to quotation marks

* restore threading related interface API 1.0

* restore the changes of legacy code
2023-11-24 10:52:44 +04:00
Alina Kladieva
cf0c141e12
[GHA] Add GPU stub job to collect statistics (#21260) 2023-11-24 10:49:12 +04:00
rdorrepaal
0ea23ec538
adding resnet_50_prune and quantize_script for ov2023.1 (#21213) 2023-11-24 10:47:34 +04:00
Tomasz Jankowski
0829e8262d
[core] Migrate NonZero operator to new API (#21109)
* Drop ngraph remains

* Use ov::Tensor

instaed of ngraph::HostTensor

* Refactor NonZero reference implementation

* Align code

* Refactor NonZero reference implementation

* Reduce binary size

* Reduce binary size

* Use proper type name
2023-11-24 07:00:41 +01:00
Alina Kladieva
613e4f5fac
[GHA] Rename overall status check (#21227) 2023-11-23 17:12:58 +01:00
Pawel Raasz
94de12b19d
[CI]Correct assertion in PlainTensor::slice (-Wsign-compare) (#21246)
* Correct assertion in PlainTensor member functions
- PlainTensor::size
- PlainTensor::stride

* Correct assertion in PlainTensor::slice
2023-11-23 12:15:56 +01:00
Maxim Vafin
0e08ba1edc
[PT FE] Support aten::prod and aten::fmod (#21243) 2023-11-23 11:26:08 +01:00
Sergey Shlyapnikov
e23704ef5e
[GPU] Update FC batch blocking for INT4 weights (#21228) 2023-11-23 13:24:14 +04:00
Fang Xu
03d54a579e
binding pcore for stream calculation (#19550)
* binding pcore for stream calculation

* remove useless branch

* modify the function of query cache size

* fix compilation error

* use MT2.0 interface

* bind core when there is ecore

* initialize Xbyak::util::Cpu object at the begining of compile_model

* restore the file

* initialize Xbyak::util::Cpu object at the beginning of cpu plugin

* remove unused header

* extract task executor creation into a separate function

---------

Co-authored-by: Wanglei Shen <wanglei.shen@intel.com>
2023-11-23 12:14:36 +08:00
Vitaliy Urusovskij
bd7b6b3358
CPU func/beh tests to API 2.0 (#21236) 2023-11-22 22:51:29 +01:00
Edward Shogulin
9ee5d867d6
[CPU] Bitwise operations: x64 JIT implementation (#20664) 2023-11-22 18:16:12 +01:00
Andrey Babushkin
57425b934f
Switch Windows workflow to self-hosted runners in AKS (#20972)
* Switch Windows workflow to self-hosted runners in AKS

* Uncomment 'pull_request' event

* Fix YAML indentation

* Fix YAML indentation again

* trying to pre-create sccache dir

* Fix yaml syntax

* Add sccache blob storage prefix

* sccache directory creation seems unneeded

The issue was in the usage of bsdtar instead of GNU tar - the former
is in C:\Windows\System32, which is the first entry in the PATH

* Fix sccache --zero-stats command for Linux

* [windows] Replace ccache-action with sccache-action sccache install

We don't need to use GitHub Actions cache feature as we have sccache
and Azure Blob Storage

* Switch the rest of the stages to AKS runners

* Hardcode VS Build Tools version

* Revert "Hardcode VS Build Tools version"

This reverts commit ea9ae1fb33.

* Increase timeout for C++ Unit tests

* Increase timeout for particular step

* Further increase of timeout

* Switch Windows Conditional Compilation workflow to AKS runners

* Fix YAML syntax

* Revert "Increase timeout for C++ Unit tests"

This reverts commit e9a00c41ad.

* Revert "Fix YAML syntax"

This reverts commit ecc1b15552.

* Revert "Switch Windows Conditional Compilation workflow to AKS runners"

This reverts commit d5969d58cd.

* Disable PR trigger for Windows workflow

Let's run this in test mode on master branch only for a while
2023-11-22 16:43:14 +00:00
Anastasiia Pnevskaia
823d327476
Fixed verbose param. (#21234) 2023-11-22 17:32:20 +04:00
Helena Kloosterman
309539667a
Add hint to install patchelf with pip (#21237) 2023-11-22 16:19:11 +04:00