Commit Graph
196 Commits
Author SHA1 Message Date
Ivan Tikhonov 6bcd0f6072 Fix python API for Loop/TensorIterator/Assign/ReadValue operations 2021-03-11 13:22:50 +03:00
Mikhail Ryzhov 3babad19be Added specific for Python3.8 way how to find libs (#4513)
On Windows, with Python >= 3.8, DLLs are no longer imported from the PATH.
os.add_dll_directory() can be used
2021-03-01 16:01:04 +03:00
Tomasz Dołbniak cadcd7c926 Remove a duplicate xfail marker for ONNX dropout tests (#4522) 2021-03-01 07:17:29 +03:00
Bartosz Sledz b0043bb599 ONNX Slice operator support types dynamically (#4507) 2021-02-26 16:28:51 +01:00
Ewa Tusień f88f81c6ba OnnxBackendNodeModelTest XFAILs cleanup (#4432) 2021-02-26 15:34:24 +01:00
Mikhail Ryzhov 2db51bb0d0 [Python] Fixed issues in runtime wheel (#4359)
* Added rpath for plugins

* Corrected dll pathes for PIP

* Fixed plugin install names

* Put libs to the sub-package

* Corrected libraries path according to the new location

* Added download and home page urls
2021-02-26 10:31:58 +03:00
dependabot[bot] a6989bb047 Bump tox from 3.21.4 to 3.22.0 in /ngraph/python (#4452) 2021-02-22 17:03:23 +01:00
Konstantin Satunin 0682d773ca Unique locations for pdb files (#4446) 2021-02-22 11:41:03 +03:00
Konstantin Satunin 342ae0daa7 unique locations for pdb files (#4445) 2021-02-20 23:48:47 +03:00
Konstantin Satunin 8f5453d70f Pyngraph independent locations for lib files (#4440)
* Make unique location for pyngraph lib files

* fix variable usage
2021-02-20 18:15:57 +03:00
Maxim Andronov f26c82bde3 [CPU] Supporting constant networks (#4379) 2021-02-19 09:38:20 +03:00
Michał Karzyński ec9b5894fb [ONNX] Add support for BitShift operator (#4368) 2021-02-17 16:39:27 +01:00
Michał Karzyński 66634a9939 Update ONNX compliance test list (#4360)
* Update ONNX compliance test list

* Update test_backend.py
2021-02-17 07:40:47 +03:00
Tomasz Socha 185aaacc07 [ONNX] Add support for Softmax v11 in opset 7 models (#4340) 2021-02-16 11:58:39 +01:00
Jan Iwaszkiewicz a3af43c8e4 [ONNX] Minimum op xfail updated (#4332) 2021-02-16 11:43:07 +01:00
Michał Karzyński ccc1a9f357 Rename dunder methods (#4334) 2021-02-15 18:34:21 +01:00
dependabot[bot] 01e4606bd0 Bump tox from 3.21.2 to 3.21.4 in /ngraph/python (#4227) 2021-02-15 11:55:33 +01:00
Mateusz Bencer d821ec47ce [ONNX] Handle optional outputs for Dropout and MaxPool (#4143) 2021-02-15 11:14:20 +01:00
Rafal BlaczkowskiandAlexander Zhogov 3eb0b5c90d Add visible export (#4222)
Co-authored-by: Alexander Zhogov <alexander.zhogov@intel.com>
2021-02-11 19:02:58 +03:00
Jan Iwaszkiewicz 7ff8f8eba4 WA for GCC 7.5 pybind warning (#4277)
* WA for GCC 7.5 pybind warning

* Move compiler flag to ngraph/python
2021-02-11 18:41:23 +03:00
Jan Iwaszkiewicz 63f3a5d99c Change class member init (#4266) 2021-02-10 14:13:16 +01:00
Jan IwaszkiewiczandTomasz Dołbniak 7af2959bd0 [ONNX] Convert to integral type in OneHot op (#4229)
Co-authored-by: Tomasz Dołbniak <tomasz.dolbniak@intel.com>
2021-02-10 14:03:54 +01:00
Mikhail Ryzhov e2c67bd508 Enabled wheel packaging (#3582)
* Added onnx support for C samples

* Added wheel packaging configuration

* ADD cmake option

* Small refactoring

* Fixes for linux env

* Fixed macOS issues

* removed test code

* Added requirements file

* Added myriad plugin

* [PIP] Runtime wheel packaging v2

* Added rpath logic

* Setting rpath for bindings

* Formatting fixes

* Move target project 1 directory above

* Added target dependencies

* Added blacklist for runtime libs

* Corrected blacklist scope

* Added wheel packaging configuration

* ADD cmake option

* Small refactoring

* Fixes for linux env

* Fixed macOS issues

* removed test code

* Added requirements file

* Added myriad plugin

* [PIP] Runtime wheel packaging v2

* Added rpath logic

* Setting rpath for bindings

* Formatting fixes

* Move target project 1 directory above

* Added blacklist for runtime libs

* Changed lib exstention om macOS

* ADD cmake option

* Revert "ADD cmake option"

This reverts commit 36f98c713bb337a160f9af6c7c79c4371fdfc45f.

* Revert "Changed lib exstention om macOS"

This reverts commit 80086fe1230b64fbcf396de82bc731c10f738eae.

* Revert "Merge branch 'feature/wheel_pack' of https://github.com/mryzhov/openvino into feature/wheel_pack"

This reverts commit 7560d9ab55edc1f8877b83821542570060fb13d8, reversing
changes made to c287798f994dcefc074a06ff7c3ef86222674cc7.

* Revert "Added onnx support for C samples"

This reverts commit 26c595ac136d99bd576d307d33ca15feb15f81e4.

* Fixed merge issues

* Fixed typo in mac tool

* Code review fixes

* Simplified deps and added fatal error

code review fixes

* Removed test data

* Fixed setup.py review comments

* Removed apache 2.0 license

* Review fixes

* fixed pylint issues

* Fixed python api install directory

* Using cmake detected python binary

* Changed wheel build directory

* Renamed subdir from install to wheel

* Removed pylint log

* Made license, description and requirements configurable by cmake options

Those files may be changed in CI

* Changed variable name

* Glob instead of os.walk

* Corrected package name in description

* Added wheel building instructions to readme

* small typo fix

* Changes to support CI build

1) Setup.py can be run without cmake build
2) Wheel metadata can be set by environment variables
3) Cmake build uses configuration from .env file

* Removed unused file
2021-02-08 19:16:28 +03:00
Alexander Zhogovandrblaczko a3dc2649e2 Azure CI: Enable nGaph ONNX check (#2631)
* GitHub CI: Add nGraph ONNX check

* Fix job name

* Fix commands

* Enable nGraph Docker

* Fix

* Fix

* Fix

* Remove Actions

* Decrease a number of workers for executing models tests

* Enable "Docker run tests"

* Unset parallel execution

* Add cloning models

* Update model_zoo_preprocess.sh cmd

* Fix model_zoo_preprocess.sh cmd

* Add share

* ls -alR /mnt/onnxtestdata

* Change path

* move clone models

* Update script

* Add wget

* Update

* Update to master

* Update

* Update

* clone into tmp

* Enable clone

* Fix

* Use model_zoo_preprocess

* Add copy to share

* Enable tests

* Get MSFT

* Run tests

* Try 16 cores

* rub tests

* list models

* run tests

* Run tests, no --model_zoo_xfail

* Run tests, -n 8

* Run tests, -n 1

* Run tests, -n 4

* Run tests, -n 2

* Run with -n 1

* Update info

* First try to run onnx ci:
 * disable MSFT models for first try,
 * try to align onnx_models

* Enable steps

* Update cmake

* Add destination for cmake build

* Try to fix cmake build

* set ninja and instal dependencies

* Revert changes from Blaczkowski, Rafal

* Add swapfile 15 GB, run on AMD CPU 16 cores, 64 GB RAM

* Enable model_zoo_preprocess.sh

* Add reference-if-able

* Update

* test_zoo_models.py -n 8

* Fix clone

* Set LIN_VMSS_VENV_EPHEMERAL_WU2, F8s_v2

* git clone --single-branch

* test_zoo_models.py -n 6, D16as_v4

* -n 4

* clean

* -n 2

* -n 4, swap 48 GB

* E16ds_v4 (16-128), -n 8

* -n 8

* Set LIN_VMSS_VENV_ONNX_WU2

* -n 4

* del -n 16 for ut

Co-authored-by: rblaczko <rafal.blaczkowski@intel.com>
2021-02-05 17:48:16 +03:00
Tomasz Socha 65e2b4af3f [ONNX Importer] Switch to opset6 (#4112) 2021-02-05 11:15:13 +01:00
Tomasz Socha 937c332978 [ONNX][Tests][Python][Models] Increase tolerance for some models (#4150) 2021-02-04 15:54:11 +01:00
Maxim Vafin e80e5e7ae5 Add python API for MVN-6 (#3816)
* Add python api for MVN-6

* Fix code style

* Fix codestyle

* Apply feedback

* Fix test
2021-02-04 17:36:19 +03:00
iliya mironov 1419e05032 Add python api for CTCGreedyDecoder (#3947)
* Add python api for CTCGreedyDecoder

* Fix code style

* Fix unit test

* Fix code style

* Fix unit tests

* Fix python tests

* Fix python tests

* Fix python tests

* Fix according to code review

* fix

* Fix api

* fix unit tests

* Fix unit test

* Fix python api
2021-02-03 14:53:53 +03:00
Maxim Vafin 0b3ff5edc2 Add MO support for MVN-6 (#3772)
* Add MO support for MVN-6

* Apply review feedback

* Apply review feedback

* Enable MVN-6 decomposition

* Fix shape_infer issue

* Fix MVN6 decomposition

* Fix build

* Fix tests

* Small fix

* Add MVN-6 reader test

* Apply feedback

* Apply review feedback

* Fix onnx test failure
2021-02-02 17:45:56 +03:00
Michał Karzyński 3a86b3a17e Update ONNX dependency to v 1.8.1 (#4114) 2021-02-02 07:05:26 +03:00
Nikolay TyukaevandNikolay Tyukaev 0ecc360664 fix comments ngraph api - master (#3519)
* fix comments ngraph api

* remove whitespace

* fixes

Co-authored-by: Nikolay Tyukaev <ntyukaev_lo@jenkins.inn.intel.com>
2021-02-02 07:01:58 +03:00
Ilya Lavrenov 117c04def1 Fixed compilation of ngraph python on some compilers (#4015)
* Fixed compilation of ngraph python on some compilers

* Fixed ONNX importer dependencies compilation for gcc 5.4.0 and 5.5.0
2021-01-28 18:58:10 +03:00
Mateusz Bencer b90f908c58 Enable Bersquad-10 in ONNX CI (#3889) 2021-01-27 10:22:16 +01:00
Bartosz Sledz 247606baf6 Add support for nonconstant optional NMS-5 inputs (#3640) 2021-01-26 14:41:28 +01:00
Gorokhov Dmitriy d58b4c65c8 [CPU] Plugin migration on oneDNN (v1.6) (#3725) 2021-01-26 16:31:10 +03:00
dependabot[bot] c203e7e95f Bump tox from 3.20.1 to 3.21.2 in /ngraph/python (#4003) 2021-01-26 10:25:35 +01:00
Nikolay Shchegolev 245bc33e8a [CPU] GatherElements implementation. (#3860) 2021-01-26 09:53:20 +03:00
Jan Iwaszkiewicz 647104f602 [nGraph][ONNX] WA for currently unsupported precisions (#3964) 2021-01-25 13:08:15 +01:00
Mateusz Bencer 4d98d7ceee ONNX tests mismatch error (#3836) 2021-01-18 12:39:32 +01:00
Bartosz Sledz 928201bee4 Add support for ONNX Operator ReduceSum v13 and revise other Reduce operators (#3605) 2021-01-18 10:47:40 +01:00
Mateusz Tabaka 20b9d390e1 [ONNX] don't hardcode broadcast shape in Mul, Add, Sub, Div (opset <= 6) operators (#3679) 2021-01-14 11:24:37 +01:00
Tomasz Dołbniak 303c549791 nGraph copyright update for 2021 (#3832) 2021-01-13 16:43:04 +03:00
Bartosz Sledz f6c2f3cc16 Change failing test ticket number (#3677) 2021-01-12 07:10:48 +03:00
Pavel Esir d9bd59c7a0 Evaluate, ngraph_reader check and Python nGraph API for GatherElements (#3624)
* add GatherElements evaluate to interpreter backend

* Finally successfully run on backend

* debugged non-typical cases

* added ngraph_reader tests for GatherElements

* added Python API for GatherElements

* apply_style

* corrected python api tests

* applied comments

* style-apply

* finally corrected nGraph Python API for GatherElements

* minor corrections

* style-apply

* replaced quotes

* added blank line

* corrected evaluate and disabled unit-tests for not yet supported plugins

* style-apply

* applied comments: negative tests added and additional checks in evaluate

* added bound check for axis in evaluate

* style-apply

* apply review comments

* fast correct evaluate for GatherElements

* style-apply

* revert changes in interpreter unit_test.manifest for Gather

* 🚀 optimized general solution; added separate calculation for 2D

* 🚀 applied comments

* style-apply
2021-01-11 19:52:47 +03:00
Ilya Lavrenov 0d22328a25 Partially removed ngraph cmake duplication with IE cmake (#3751)
* Partially removed cmake duplication with IE cmake

* Deprecated API usage: fixed or suppressed

* Fix for TypeRelaxed

* Canonical form for ngraph includes

* Removed extra visibilit settings; removed graphviz find_package

* Removed var_functions module; canonical includes for ngraph::reference

* Fixed deprecated API in ngraph tests

* Re-use standard cmake macro for shared libs

* Trying to fix ONNX importer tests
2021-01-11 14:49:33 +03:00
Yury Gaydaychuk 9069781659 CPU implementation for ROIAlign (#3579) 2021-01-11 12:04:45 +03:00
Gorokhov Dmitriy 37b6e75730 [CPU] Fixed Divide operation support for I32 precision (#3721)
* [CPU] Fixed Divide operation support for I32 precision
2020-12-28 19:18:19 +03:00
Rafal Blaczkowski eac33e1b0e OpenVino ONNX CI update (#3750)
* Enlarge timeouts for OpenVino ONNX CI

* Enlarge a lot timeouts

* Update processing script
2020-12-28 11:03:38 +03:00
Rafal Blaczkowski 6d45a9c041 ONNX CI improvement (#3673)
* Improve corner-case resistance

* small improvements
2020-12-25 07:46:55 +03:00
Sergey LyubimtsevandAndrey Zaytsev 2e6ea1e290 CMake based build for pyngraph module (#3080)
* [MO] Add CMake install for Model Optimizer

* [MO] Update test for version.py

* [MO] Add CMake install for Model Optimizer

* [MO] Update test for version.py

* [MO] Add CMake install for Model Optimizer

* [MO] Update test for version.py

* [nGraph] Python API should be compiled and installed via CMake (41857)

* Refactored wheel setup script to build module using CMake

* Update build instructions

* Added USE_SOURCE_PERMISSIONS to cmake install

* Adjust CMake compiler flags conditions

* fix CPack issue for CI build pipeline

* case insensitive option check

* build only python API if ngraph_DIR provided

* fix lib extension for macOS

* -fixed style (flake8)

 -added paralllel build option & description

* fix flake8 B006 check

* add ngraph_DIR & remove unsed env. variables.

* Reworked build & test instructions to make it more straightforward

* remove unused CMake arguments for setup.py

* make source dir condition more general

* Update BUILDING.md

* Update BUILDING.md

* Update BUILDING.md

* beautified instructions wording

* fix wheel build issue after sourcing setupvars

* Extend user options to build, install and develop commands

Co-authored-by: Andrey Zaytsev <andrey.zaytsev@intel.com>
2020-12-24 16:57:58 +03:00