Commit Graph

18 Commits

Author SHA1 Message Date
Przemyslaw Wysocki 2c3535355d
[PyOV] Add `torchvision` to OpenVINO preprocessing converter docs (#20770)
Co-authored-by: Karol Blaszczak <karol.blaszczak@intel.com>
2023-11-15 15:25:36 +01:00
Ilya Lavrenov 8349849e1c
Use FindPython3.cmake (#19847)
* Use FindPython3.cmake

* Fixed compilation on macOS 14 with new core development tools

* Try to use Python3_SOABI instead of PYTHON_MODULE_EXTENSION

* Use Development.Module

* Keep specifying only Python3_EXECUTABLE

* Print PYTHON_MODULE_EXTENSION

* Added check for minimal cmake version for python API

* Returned Python3_INCLUDE_DIR for cross-compilation case

* Try to allow cmake older than 3.18

* Use build python interpreter to check cython dependency

* revert changes in .ci/openvino-onnx/Dockerfile

* removed unused code

* Fixed issue with variables scope

* Experiment: remove include dirs

* Corrected docs

* Use pybind11 function to set extension

* Revert "Experiment: remove include dirs"

This reverts commit 6f7f90211c.

* Refactor ConvolutionBackpropDataLayerTest, ConvolutionLayerTest, DeformableConvolutionLayerTest (#19810)

* Refactor ConvolutionBackpropDataLayerTest

* Refactor ConvolutionLayerTest

* Refactor DeformableConvolutionLayerTest

* Apply comments

* Apply comments

* Fix

* Updated minimum cmake version for Windows

* Simplified check

* Removed useless message status

* Use puiblic option

---------

Co-authored-by: Oleg Pipikin <oleg.pipikin@intel.com>
2023-09-26 20:57:29 +02: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
Anastasia Kuporosova 3adb6d4cd2
[DOCS] Update PYTHONPATH in docs (#18961) 2023-08-03 11:46:34 +02:00
Przemyslaw Wysocki aaf4fdb84f
[Docs] Add Python dependencies management docs (#17439)
Co-authored-by: Karol Blaszczak <karol.blaszczak@intel.com>
2023-05-11 11:17:03 +00:00
Jan Iwaszkiewicz 076f71a4ce
[PyOV] Adjust style in dev docs (#17440) 2023-05-10 15:20:31 +02:00
Rajat U Krishna 6eb8f4b2b7
[Docs][PyOV] Fix broken link to section (#16553)
* [Docs][PyOV] Minor change to fix a broken link in code_examples.md
2023-03-26 21:58:52 +04:00
Anastasia Kuporosova ceab44eee6
[Docs][PyOV] Add information about testing pyapi (#14645)
* [Docs][PyOV] Add information about testing pyapi

* apply comments and add links

* apply comments

* empty

* apply changes

* apply comments

* comments
2023-01-19 20:40:14 +01:00
Ilya Churaev 0c9abf43a9
Updated copyright headers (#15124)
* Updated copyright headers

* Revert "Fixed linker warnings in docs snippets on Windows (#15119)"

This reverts commit 372699ec49.
2023-01-16 11:02:17 +04:00
Jan Iwaszkiewicz c8493bd47b
[PyOV] Update BUILDING.md and minor dev docs fixes (#14357) 2022-12-19 16:03:54 +01:00
Jan Iwaszkiewicz abdcaef36d
[PyOV] Add README.md and align structure-showing style (#14093)
* [PyOV] Add README.md and align structure-showing style

* First batch of review changes

* Remove README from compatibility files

* Add note about coding style rules

* Add note about coding style rules pt2

* Update Components

* Apply fixes
2022-11-21 16:42:36 +01:00
Anastasia Kuporosova 2142ed9363
[Docs][PyOV] Remove obsolete documentation file (#14098) 2022-11-18 16:30:11 +01:00
Anastasia Kuporosova 9872a34bb9
[PyOV] mark pyopenvino as internal (#13427)
* [PyOV] makrk pyopenvino as internal

* change pyov -> _pyov

* change pyov -> _pyov

* replace impor in py files

* change install path

* undo some changes

* Revert "undo some changes"

This reverts commit 9e5794a394c1b7cd1823f70a0ddd4f8742547edf.

* replace in rest files

* keep folder w/o underscore

* undo changes in ci configs

* improve changes in cmake

* add pyopenvino deprecation warning

Co-authored-by: Adam Tumialis <adam.tumialis@intel.com>
2022-10-26 12:51:31 +02:00
Przemyslaw Wysocki d5a274b0e4
[PyOV] Drop Python 3.6 support (#12280)
* Drop Python 3.6

* Test dropping Python to 3.6 in py_checks.yml

* Allow Python 3.6 for open source

* Add docs on upgrading Python
2022-09-22 11:58:12 +02:00
almilosz d7cf585485
[PyOV] Test refactoring (#12248) 2022-07-27 08:44:10 +02:00
Jan Iwaszkiewicz 06019c442f
[PyOV][DOCS] Python API contribution and developer guide (#12145)
Co-authored-by: Karol Blaszczak <karol.blaszczak@intel.com>
2022-07-19 16:25:58 +02:00
Nikolay Tyukaev 622027bee5
fix errors in documentation (#9384)
* add sphinx log parsing

* fix

* fix log

* fixes

* fixes

* fixes

* fixes

* fixes

* fixes

* fixes

* fixes

* fixes

* fixes

* doxygen-xfail

* fixes

* fixes

* fixes

* fixe

* fixes

* fixes

* fix pot

* add pot check

* fixes

* fixes

* Fixed POT docs

* Fixed POT docs

* Fixes

* change heading markup

* fixes

Co-authored-by: azaytsev <andrey.zaytsev@intel.com>
2022-01-27 19:39:49 +03:00
Ilya Churaev b1fba3a675
Rename runtime to src (#8842)
* Renamed runtime to src

* Removed old paths

* Fixed cmake

* Fixed doc
2021-11-27 11:28:25 +03:00