Commit Graph

348 Commits

Author SHA1 Message Date
Maciej Smyk 84cd71a71b
[DOCS] 2024.2 version update for master (#24746)
Docs version update to 2024.2
2024-05-29 09:04:29 +00:00
Ilya Lavrenov e2b646f91e
Simplify cmake check for Ninja multi-config (#24651)
### Details:
 - *item1*
 - *...*

### Tickets:
 - *ticket-id*
2024-05-24 00:08:08 +00:00
oogee c76b5f2776
Use shell parameter expansion to make getting source path work in non-bash shells (#24598)
Currently `BASH_SOURCE[0]` was used, which is only available on bash.

I changed it to `${BASH_SOURCE:-$0}` which is supported by at least
bash, zsh and dash, as explained by
[https://stackoverflow.com/a/68359914/9028340](https://stackoverflow.com/a/68359914/9028340)

It uses shell parameter expansion

https://www.gnu.org/software/bash/manual/html_node/Shell-Parameter-Expansion.html

https://zsh.sourceforge.io/Doc/Release/Expansion.html#Parameter-Expansion

Addresses #17392
2024-05-21 15:28:52 +00:00
Xiping Yan df257c52a6
cpu_convert enable u4/i4 ->f32,bf16,i8,u8 (#24297)
### Details:
 - *cpu_convert enable u4/i4 -> f32/bf16/i8/u8*

### Tickets:
 - *124834*
 - *139282*
 - *140112*

---------

Signed-off-by: xipingya <xiping.yan@intel.com>
2024-05-16 07:16:55 +00:00
Bogdan Pereanu 3302535334
[SAMPLES] Get the correct batch size when running with pre-compiled models (#24507)
### Details:
 - *get the correct batch size when running with pre-compiled models*

### Tickets:
 - *CVS-140703*
2024-05-15 12:08:26 +00:00
Nikolay Shchegolev 77f69957b1
[CPU][GPU] Mismatch tensor and port types: i64 vs i32 (#23859)
HETERO plugin ('HETERO:GPU,CPU') raises an error [GPU] Mismatch tensor
and port types: i64 vs i32

### Details:
 - *Do not convert Result element type after Extension if required;*
- *Eliminate converts after the second call of the ConvertPrecisoin
pass;*
 - *Support string input in the `benchmark_app`*.


### Tickets:
 - *136752*
2024-04-18 07:18:15 +00:00
Jacek Pawlak 239466ca5d
copyright year update (#23370)
New PR due to merge
conflicts(https://github.com/openvinotoolkit/openvino/pull/22917)

Updated the copyright year from 2018-2023 to 2018-2024 in all openvino
files

Ref. to script: CVS-101144

Command used:
```bash
git grep -lz '2018-2023 Intel Corporation' | xargs -0 sed -i '' -e 's/2018-2023 Intel Corporation/2018-2024 Intel Corporation/g'
```
2024-03-14 09:37:02 +00:00
Zlobin Vladimir 2d3805f6db
Test acutal model (#22841)
Ticket 25942
2024-03-06 11:12:39 +00:00
Maciej Smyk 8d49595476
[DOCS] Update of hyperlinks to 2024 + new ov homepage diagram image for master (#23091)
* Update of links in docs to 2024 in repo.
* Replaced ov homepage diagram with a new version without Kalid, MXNet
and Caffe
2024-02-28 07:54:04 +00:00
Sebastian Golebiewski da5e76263d
[DOCS] Update OpenVINO API references (#22884)
Changing references from "OpenVINO API 2.0" to "OpenVINO API", as
mentioned in
https://github.com/openvinotoolkit/openvino/pull/22873#discussion_r1492115073

---------

Co-authored-by: Ilya Lavrenov <ilya.lavrenov@intel.com>
2024-02-19 09:27:14 +00:00
Pawel Raasz 3986f55da2
[core] Support OpenVINO compilation with cpp20 (#22784)
### Details:
 - Add support to OpenVINO to build it with standards newer than cpp11

### Tickets:
 - [CVS-128282](https://jira.devtools.intel.com/browse/CVS-128282)

---------

Co-authored-by: Ilya Lavrenov <ilya.lavrenov@intel.com>
2024-02-17 19:10:20 +00:00
Zlobin Vladimir d9714eeddc
tests/samples_tests/smoke_tests: enable multiprocessing testing (#22766)
Concurrency introduction breaks tests because different tests write to
the same location. So I rewrote them. It’s possible to refactor tests
even further. But the current state already enables multiprocessing
testing
2024-02-12 11:38:53 +00:00
Xuejun Zhai 3bdd728995
Remove property with string for 1.0 (#22746)
### Details:
 - Remove property with string for 1.0
 - *...*

### Tickets:
 - *ticket-id*

---------

Signed-off-by: Zhai, Xuejun <xuejun.zhai@intel.com>
Co-authored-by: Ilya Lavrenov <ilya.lavrenov@intel.com>
2024-02-11 22:45:56 +00:00
Vitaliy Urusovskij dfe0699503
Rename IE to OV (#22733) 2024-02-09 13:36:41 +00:00
Sebastian Golebiewski faf97c1333
[DOCS] Remove nGraph from docs (#22723)
Removing nGraph from docs.

---------

Co-authored-by: Ilya Lavrenov <ilya.lavrenov@intel.com>
Co-authored-by: Tomasz Jankowski <tomasz1.jankowski@intel.com>
2024-02-09 11:18:32 +00:00
River Li 6d2d2d8e28
[Core]remove ie plugin config (#22479)
* [Core] remove ie_plugin_config

* Remove ie_internal_plugin_config and ie_plugin_config

* Remove ov::caching_properties and ov::exclusive_async_requests

* Fix failure cases and resolve comments

* Fix build error

* Remove myriad custom_op.cpp

* Fix build warning

* Fix capi auto plugin test failures

---------

Co-authored-by: Pavel Durandin <pavel.durandin@intel.com>
2024-02-01 08:56:31 +00:00
Oleg Pipikin 1e3039f1d0
Remove ngraph_visibility.hpp / deprecated.hpp / check.hpp (#22520)
* Remove ngraph visibility

* Remove ngraph deprecated

* Remove ngraph check

* Fix clang-format
2024-01-30 16:59:52 +00:00
Sun Xiaoxia 1616f1e849
Add description of deprecated property ov::Affinity (#22029)
* add description of affinity

* add @deprecated
2024-01-29 08:43:27 +00:00
Andrei Kashchikhin 312ffb1a5c
[SCRIPTS] Introduce `build_samples` for Powershell (#22185)
* add pwsh build_samples script

* install ps1 script, use it for win workflow

* correct syntax

* use pwsh script in win cc samples building

* align args; add aliases; rm postfixes

* return postfix for bat
2024-01-20 20:24:34 +04:00
Sebastian Golebiewski 9ebacbb379
[DOCS] Merge Samples Articles Language Versions (#21661)
* Merge samples

* Update docs/articles_en/learn_openvino/openvino_samples/automatic_speech_recognition.rst

Co-authored-by: Maciej Smyk <maciejx.smyk@intel.com>

* Update docs/articles_en/learn_openvino/openvino_samples.rst

Co-authored-by: Maciej Smyk <maciejx.smyk@intel.com>

* Update docs/articles_en/learn_openvino/openvino_samples.rst

Co-authored-by: Maciej Smyk <maciejx.smyk@intel.com>

* additional resources

* Update docs/articles_en/learn_openvino/openvino_samples/model_creation.rst

Co-authored-by: Maciej Smyk <maciejx.smyk@intel.com>

* Update docs/articles_en/learn_openvino/openvino_samples/automatic_speech_recognition.rst

Co-authored-by: Maciej Smyk <maciejx.smyk@intel.com>

* reorganize contents of requirements

* remove api reference

* add links to READMEs on repo

* remove speech recognition sample

* removal of deprecation notice

* update conversion steps

* Revert remove speech recognition sample

* remove trailing spaces

* fix links

* Removed unwanted changes from submodules

* applying suggestions

* update api reference

* apply suggestions

---------

Co-authored-by: Maciej Smyk <maciejx.smyk@intel.com>
2024-01-12 14:24:15 +01:00
HyungKi Jeong 58af209120
M_PI(math.h) using fix & dirent.h is existed in MinGW (#22054)
* M_PI(math.h) using fix & dirent.h is existed in MinGW

* fix for clang codestyle
2024-01-10 10:23:57 +01:00
Maciej Smyk c0d564a465
[DOCS] Hyperlink 23.3 update for master (#21908)
* link update

* link update

* link update

* Update dev_api_references.rst

* Update dev_api_references.rst

* Update apidoc.py

* notebooks links

* notebook link update

* filename update

* link update

* link update api
2024-01-08 12:40:54 +01:00
Ilya Lavrenov 2463acc5b0
Removed speech_sample (#21801) 2023-12-21 13:06:57 +04:00
River Li dc64268564
Remove ov::hint::PerformanceMode::UNDEFINED (#21592)
* Remove ov::hint::PerformanceMode::UNDEFINED

* Update for reviewer comments and build issue

* Fix build error - may be used uninitialized

* Update

---------

Co-authored-by: Ilya Lavrenov <ilya.lavrenov@intel.com>
2023-12-20 21:15:26 +04:00
Maciej Smyk 95accde9df
[DOCS] README files for Samples + name update for Get Started for master (#21157) 2023-11-21 13:20:25 +01:00
Anatoliy Talamanov f890bf7930
Extend throughput benchmark with device CLI parameter (#20816)
* Extend throughput benchmark CLI parameters

* Added device name as the second CLI parameter with default CPU value

* Update samples/cpp/benchmark/throughput_benchmark/main.cpp

Co-authored-by: Zlobin Vladimir <vladimir.zlobin@intel.com>

* Fix comments to review

* Modified python version
* Modified documentation

* Fix comments to review

* Fixed the comment
* Modified python doc
* Fixed device name handling in python version

* Update main.cpp

* Update throughput_benchmark.py

---------

Co-authored-by: Zlobin Vladimir <vladimir.zlobin@intel.com>
2023-11-03 09:57:04 +01:00
Anatoliy Talamanov c20d52dc4f
Extend sync benchmark CLI parameters (#20844) 2023-11-03 09:51:22 +01:00
Ilya Lavrenov b13cb8ce12
Make RPM packages compatible with wide range of RHEL systems (#20762) 2023-10-31 10:25:35 +04:00
Ilya Lavrenov 34467ef45e
Improved warning message for BA + OpenCL case (#20725)
* Improved warning message for BA + OpenCL case

* Update samples/cpp/benchmark_app/CMakeLists.txt

Co-authored-by: Helena Kloosterman <helena.kloosterman@intel.com>

---------

Co-authored-by: Helena Kloosterman <helena.kloosterman@intel.com>
2023-10-30 18:33:04 +04:00
Ilya Churaev 52d3588358
Move create model sample to the last opset (#20333)
* Move create model sample to the last opset

* Downgrade to opset8

* Migrate sample to the last opset

* Fixed code style
2023-10-26 19:24:24 +00:00
Ilya Lavrenov 56d74a82cb
Relocatable developer package (#20327)
* Merge Linux CC + static build + clang compiler

* Improvements

* Removed ie prefixes from cmake scripts

* Fixes for NPU

* Initial relocatable OpenVINO Developer package

* Improvements

* Try to fix

* improvements

* Export a lot of headers

* Removed NVIDIA pipeline; make it to be a job

* Fixes

* Fixes 2

* Try ilya-lavrenov repo

* Clean-up

* More imrpovements

* Even more improvements

* Override export, install

* Override export, install

* Disable pythonwheel generation for relocatable OV dev package

* Fixed issues with versions

* Fixed android build

* Fixed android build

* Fixed NPU build

* Update src/bindings/python/CMakeLists.txt
2023-10-12 22:59:04 +00:00
Ilya Lavrenov 6519afd4d3
Removed check for openvini::runtime::c in samples (#20425) 2023-10-12 19:33:24 +04:00
Sebastian Golebiewski 1e05949888
Changing file structure of Learn Openvino section (#20337) 2023-10-10 08:34:53 +02:00
Ilya Lavrenov e30f75bb4d
Rpath story (#20297) 2023-10-10 06:27:26 +02:00
Ilya Lavrenov ead4b8a0ec
Moved cmake functions, variables to API 2.0 naming style (#20281)
* Merge Linux CC + static build + clang compiler

* Improvements

* Removed ie prefixes from cmake scripts

* Fixes for NPU
2023-10-09 22:30:32 +04:00
Wang Xin 904f992e0b
fix a wrong comment (#20307) 2023-10-09 12:44:42 +04:00
Ilya Lavrenov 142c6a4b67
Ability to compile samples without API 1.0 headers (#20299) 2023-10-08 23:24:28 +04:00
Ilya Lavrenov d37326b37e
Disable pkg-config search on Android via CMAKE_DISABLE_FIND_PACKAGE_PkgConfig (#20179) 2023-10-03 09:16:56 +04:00
Alina Kladieva 86dfacbc51
[build_samples_msvc] Exit properly on error (#20191) 2023-10-02 21:34:08 +04:00
Zlobin Vladimir 7e709a0ecc
benchmark: remove deprecation notice (#20175)
Python version didn't mark -api as deprecated
2023-10-02 13:50:49 +04:00
Ilya Lavrenov 35a0706dff
Replaced several cmake utilities with new ov_ prefix (#19819)
* Replaced several cmake utilities with new ov_ prefix

* Replaced several cmake utilities with new ov_ prefix
2023-09-14 16:22:50 +04:00
Ilya Churaev dc1339d8e3
Remove legacy API from samples (#19608) 2023-09-05 22:16:18 +04:00
Karol Blaszczak 06003f18d5
[DOCS] speech sample deprecation (#19228) 2023-08-25 12:26:44 +02:00
Zlobin Vladimir 3813b0bc55
classification_sample_async: state that the samples support NCHW model layout only (#19259)
Ticket 107409
2023-08-21 09:02:29 +04:00
Ilya Lavrenov 75b48e9cdc
Added OpenCV minimal versions (#19231) 2023-08-17 16:45:01 +04:00
Zlobin Vladimir 396a899b75
benhcmark_app: fix -api sync -i multiple images (#19142)
The Python version uses `app_inputs_info` to represent different input configurations, but the C++ version extends that use case and uses `app_inputs_info` to represent different input images as well. That means that the assumption that if `app_input_info.size() > 1`, then input shape is dynamic, doesn’t always hold for C++

Ticket 117673
2023-08-11 19:09:48 +04:00
Stefania Hergane 24f8c4105e
[EISW-89824] [master] Rename VPUX to NPU (#19004)
* 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>
2023-08-10 00:20:07 +04:00
Tatiana Savina 803843dad9
[DOCS] Change sample structure (#18942) 2023-08-04 13:21:15 +02:00
Marcin Kacprzak e1ec17013d
[GNA] Fix for GeminiLake detection (#18653)
* [GNA] Fix for GeminiLake detection

* Added HWGeneration::GNA_1_0_E enumerator
Added DeviceVersion::GNAEmbedded1_0 enumerator, changed the meaning of DeviceVersion::GNA1_0.
Updated ConvLowPrecision test with all supported targets

* [GNA] Extended a few tests with GNA1.0
2023-07-28 08:18:22 +02:00
Mircea-Aurelian Dan 5397e299fd
[EISW-81712] Rename `VPUX` to `VPU` in openvino codebase (#17949)
* Change `VPUX` occurrences to `VPU`

* Switch `VPU` library name

* Change remaining references to `VPUX`
2023-07-19 15:55:24 +04:00