Commit Graph

390 Commits

Author SHA1 Message Date
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
Przemyslaw Wysocki
c3a90f8f70 [PyOV] Add lower bound to datasets (#20674) 2023-10-30 11:24:37 +00: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
Georgy Krivoruchko
10c3b60aac Updated model_creation_sample.py (#19989)
Removed usage of ngraph in the sample
2023-09-22 02:05:24 +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
Anastasia Kuporosova
2bf8d910f6 [Docs][PyOV] update python snippets (#19367)
* [Docs][PyOV] update python snippets

* first snippet

* Fix samples debug

* Fix linter

* part1

* Fix speech sample

* update model state snippet

* add serialize

* add temp dir

* CPU snippets update (#134)

* snippets CPU 1/6

* snippets CPU 2/6

* snippets CPU 3/6

* snippets CPU 4/6

* snippets CPU 5/6

* snippets CPU 6/6

* make  module TODO: REMEMBER ABOUT EXPORTING PYTONPATH ON CIs ETC

* Add static model creation in snippets for CPU

* export_comp_model done

* leftovers

* apply comments

* apply comments -- properties

* small fixes

* rempve debug info

* return IENetwork instead of Function

* apply comments

* revert precision change in common snippets

* update opset

* [PyOV] Edit docs for the rest of plugins (#136)

* modify main.py

* GNA snippets

* GPU snippets

* AUTO snippets

* MULTI snippets

* HETERO snippets

* Added properties

* update gna

* more samples

* Update docs/OV_Runtime_UG/model_state_intro.md

* Update docs/OV_Runtime_UG/model_state_intro.md

* attempt1 fix ci

* new approach to test

* temporary remove some files from run

* revert cmake changes

* fix ci

* fix snippet

* fix py_exclusive snippet

* fix preprocessing snippet

* clean-up main

* remove numpy installation in gha

* check for GPU

* add logger

* iexclude main

* main update

* temp

* Temp2

* Temp2

* temp

* Revert temp

* add property execution devices

* hide output from samples

---------

Co-authored-by: p-wysocki <przemyslaw.wysocki@intel.com>
Co-authored-by: Jan Iwaszkiewicz <jan.iwaszkiewicz@intel.com>
Co-authored-by: Karol Blaszczak <karol.blaszczak@intel.com>
2023-09-13 21:05:24 +02:00
Ilya Churaev
dc1339d8e3 Remove legacy API from samples (#19608) 2023-09-05 22:16:18 +04:00
Maciej Smyk
3677dda457 [DOCS] 23.0 to 23.1 link update for master (#19584)
* 2023.1 link fix

* 2023.1 link fix

* 2023.1 link fix

* 2023.1 link fix

* 2023.1 link fix
2023-09-04 15:40:02 +02:00
Ilya Lavrenov
7173f530cc Fixed static build from build tree (#19556) 2023-09-04 08:08:50 +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
Ilya Lavrenov
700677c5c6 Less argressive chages (#18591) 2023-07-18 19:54:00 +04:00
Zlobin Vladimir
a5880ee1eb Report dynamic -data_shape (#18457)
Ticket 112256

Python check was already there
2023-07-17 14:32:01 +02:00
Zlobin Vladimir
ce8f164fea Fix -api sync for single -data_shape (#18463)
* Fix -api sync for single -data_shape

Tickets 111187 and 111185

I wasn’t able to find C++ equivalent of Python’s `info.original_shape.is_static`. Later I realized that it shouldn’t be considered because -shape cmd arg should have higher priority for shape inference than model’s shape. So I removed it from Python.

Replace

`if benchmark.inference_only and batch_size.is_dynamic:`

with

`if allow_inference_only_or_sync and batch_size.is_dynamic:`

to reset batch_size to static in case of dynamic shape with single -data_shape

* Check only app_input_info.size() == 1 because if it's gretaer than 1, input shape is dynamic and there are more that one static shapes. Apply TODO
2023-07-14 15:21:55 +00:00
Ilya Lavrenov
82fe1677d0 Revert "Use system gflags only in samples (#18478)" (#18543)
This reverts commit bca3f3e441.
2023-07-13 21:05:55 +04:00
Ilya Lavrenov
bca3f3e441 Use system gflags only in samples (#18478) 2023-07-13 20:45:22 +04:00
Orest Chura
355ba34b9e Fix step numbers in nv12 classification sample (#18530) 2023-07-13 14:03:58 +04:00
Maciej Smyk
0148076ed7 [DOCS] Code block update for master (#18437)
* code-block-1

* Update Convert_Model_From_Paddle.md

* code-block force

* fix

* fix-2

* Update troubleshooting-steps.md

* code-block-2

* Update README.md
2023-07-11 10:43:54 +02:00
Anastasiya(Asya) Pronina
84d35ab6f9 Removed compile_tool and benchmark_app_legacy from OpenVINO repo (#18350) 2023-07-04 19:35:51 +04:00
Sebastian Golebiewski
152c9b63e2 [DOCS] Adding metadata to articles (#18331)
* adding-metadata

* Apply suggestions from code review

Co-authored-by: Tatiana Savina <tatiana.savina@intel.com>

* Apply suggestions from code review

Co-authored-by: Tatiana Savina <tatiana.savina@intel.com>

---------

Co-authored-by: Tatiana Savina <tatiana.savina@intel.com>
2023-07-03 13:09:07 +02:00
Jan Iwaszkiewicz
a8ce60b651 Fix flake8 warnings and ignore VNE001 for Python samples (#18204)
* Ignore VNE001 for Python samples

* Add explanation

* Fix flake8 on wheel setup.py

* Fix onnx test reporting VNE001
2023-06-23 17:06:02 +04:00
Andrei Kashchikhin
74be4e04f3 rm explicit job specification (#18105) 2023-06-17 00:25:36 +04:00
Ilya Lavrenov
967faf878a t Improved samples build stability (#18053) 2023-06-14 18:23:02 +00:00
Ilya Churaev
0743e9bfb5 Removed legacy methods SetBatch and SetBlob (#17984)
* Removed legacy methods SetBatch and SetBlob

* Fixed GPU plugin build

* Remove DYN_BATCH_LIMIT from tests

* Revert some changes in GPU plugin
2023-06-12 18:54:23 +00:00
Zlobin Vladimir
55ddbcaf23 cpp/samples: update build (#17900)
* cpp/samples: update build

Ticket 111295

* Fix sample_type extraction

* Fix inputLog type

* include <limits>

* Add missing const

* Revert cpp/speech_sample error message

* update azure CI
2023-06-08 19:30:29 +04:00
Mircea-Aurelian Dan
67c0327cd1 Set default duration to 60 for device VPU (#17952) 2023-06-08 18:55:53 +04:00
Daria Mityagina
6ad0e5a1e7 Update comments and help text (#17707) 2023-06-08 13:47:40 +00:00
Ilya Churaev
18d6ece4e4 Deprecate ExecutableNetwork and InferRequest API (#17801)
* Deprecate ExecutableNetwork and InferRequest API

* Fixed some warnings

* Fixed some warnings

* Try to fix documentation

* Try to skip documentation warnings
2023-06-01 12:50:56 +04:00
Ilya Churaev
d53339ff67 Deprecate legacy precisions and layouts (#17803)
* Deprecate legacy precisions and layouts

* Suppress some warnings

* Fixed some warnings
2023-06-01 12:47:55 +04:00
Sebastian Golebiewski
6c287986b7 [DOCS] convert_model() as a default conversion path (#17454) 2023-05-31 17:53:22 +02:00
Ilya Lavrenov
bd0117d648 Vcpkg conan fixes (#17765)
* Small fixes for openvino::pugixml creation for Dev packages

* Flexiable components installation

* Fixed compilation for x86

* Added extra checks for ENABLE_NCC_STYLE

* Fixed typo in RPM
2023-05-29 15:40:51 +04:00