Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
158 commits
Select commit Hold shift + click to select a range
6c22af8
Merged ONNX editor and ONNX importer to the one folder (#6672)
ilyachur Jul 16, 2021
fa8f45b
GRN - reference revision and tests (#6629)
mitruska Jul 16, 2021
f1ab0b3
GRN spec revision (#6666)
mitruska Jul 16, 2021
a92a737
Develop installation rules for time and stress tests (#6649)
vurusovs Jul 16, 2021
22fddb4
[GPU] Fixed matmul handling for some shapes (#6642)
Jul 16, 2021
bc36425
Added suggest-override flag (#6631)
ilya-lavrenov Jul 16, 2021
697c52a
DeformableConv v8: reference implementation (#6514)
itikhono Jul 19, 2021
4373b0c
Revise PriorBoxClustered Spec (#6539)
bartoszLesniewski Jul 19, 2021
6e14890
Align folder structure for Benchmark Tool (#6625)
slyubimt Jul 19, 2021
0d92126
FakeQuantize - reference implementation refactor (#6478)
Jul 19, 2021
c3c26b4
[LPT] Refactoring: PoC (#5226)
Jul 19, 2021
955c0a6
[GNA] KSOFunction test fix (#6678)
andreysapozhn Jul 19, 2021
48c9eab
Migrate Deployment Manager tool to Open Source (#6692)
artanokhov Jul 19, 2021
960ba48
Rework model loading in FE manager, implement PDPD probing (#6358)
mvafin Jul 19, 2021
21bf92d
Update spec for MVN-1 and MVN-6. (#6554)
sdurawa Jul 20, 2021
c2c6fe5
Revise sign (#6581)
pszmel Jul 20, 2021
d7e97ee
Use different cpack name for conda Python API build (#6701)
Jul 20, 2021
e8f07d8
Update AZURE - OpenVINO ONNX CI check (#6721)
rblaczkowski Jul 20, 2021
e8fa1aa
fixed crash related to loading model with fq and sigmoid (#6644)
dmitriikhurtin Jul 20, 2021
89e53bb
Allow configuring cpack strip from command line (#6712)
Jul 20, 2021
f018cbd
Updated DM configs; added exec rights (#6707)
ilya-lavrenov Jul 20, 2021
1a446b4
Fixed usage of system protobuf (#6716)
ilya-lavrenov Jul 20, 2021
b62d93e
Enabled code style check for tests (#6724)
ilya-lavrenov Jul 20, 2021
b0ebea1
Abs layer support (#6475)
DariaMityagina Jul 20, 2021
af29892
update Acosh spec (#6677)
Jul 21, 2021
226cb95
Select operation revision (#6483)
jdanieck Jul 21, 2021
14bbf7f
Fix node name issue introduced by #5854 (#6709)
mvafin Jul 21, 2021
7d85d61
Fix for cmake 3.21.x (#6722)
ilya-lavrenov Jul 21, 2021
e7a00e9
[GNA] Fix Transpose-Conv-Transpose pattern recognition for 2d convolu…
elilobanova Jul 21, 2021
11875c6
Fixed sanitizer (#6727)
ilya-lavrenov Jul 21, 2021
ecb5499
Fixed build with protobuf-lite (#6730)
ilya-lavrenov Jul 21, 2021
fbd0d8b
MO: ensure ngraph.frontend is installed (#6698)
nosovmik Jul 21, 2021
dba1fb9
Revise specification for Select operation (#6488)
jdanieck Jul 21, 2021
253ff51
Remove split-concat subgraph before pad op (#6506)
iimironov Jul 21, 2021
a3bf106
Add retinanet convert doc (#6342)
iimironov Jul 21, 2021
37b46de
If spec (#6296)
evolosen Jul 21, 2021
92fdda5
Removed WAs from CI (#6706)
ilya-lavrenov Jul 21, 2021
a3825ba
Zero point optimization (#6683)
Jul 21, 2021
9f7cf58
DeformableConv: Decrease input_shape and kernal in CPU functional tes…
itikhono Jul 21, 2021
aecb2b9
Static library for ngraph::frontend_manager (#6719)
nosovmik Jul 21, 2021
1e1e3bf
Fix NormalizeL2Fusion and allow LpNormalization to be fused to Normal…
mateusztabaka Jul 22, 2021
21e678e
Fixed ngraph unit-test compilation with protobuf-lite (#6734)
ilya-lavrenov Jul 22, 2021
55d9e85
[54908] Update MemCheckTests references in nightly config (#6713)
Jul 22, 2021
35fb3f3
Acosh ref impl (#6664)
Jul 22, 2021
6dc771c
[GPU] Allowed more complex syntax for debug config options. Some alig…
Jul 22, 2021
abc6a33
Fixed processing tags in summarize_graph.py (#6726)
vgavrilo Jul 22, 2021
fd3e4a3
[GPU] Enable loop5 (#6427)
ahnyoung-paul Jul 22, 2021
22273f8
[ONNX] Add ONNX specific FrontEnd classes (#6615)
mateusztabaka Jul 22, 2021
4e4442d
PDPD frontend - support of protobuf_lite (#6747)
nosovmik Jul 22, 2021
df264e6
Protobuf lite (#6758)
ilya-lavrenov Jul 22, 2021
1ebdcb1
Fix reading constants in paddlepaddle frontend (#6755)
mvafin Jul 22, 2021
8ba64b1
[VPU] Added support for 2 axis for MVN layer - duplicate (#6748)
DariaMityagina Jul 22, 2021
e1bffcc
Add json validate (#6449)
iimironov Jul 22, 2021
fefe7f4
[LPT] FakeQuantize folding extending (#6708)
Jul 22, 2021
8b196fd
[cpack] Install compiled vpu custom kernels (#6766)
Jul 22, 2021
22b9431
Add install target to fuzz tests (#6761)
Jul 22, 2021
f328eec
MultiSubgraph in nGraph (#6621)
evolosen Jul 23, 2021
fa05762
Ref implementation mvn revise (#6600)
sdurawa Jul 23, 2021
ac0f3c5
Install 'paddlepaddle' for Azure-Linux CI (#6764)
nosovmik Jul 23, 2021
753fdae
Intoduce -latency_percentile flag for the benchmark_app tool (#6479)
ivankochin Jul 23, 2021
252483b
Common tests library for shared functionality (#6578)
ishariko Jul 23, 2021
12fb83d
Correct layout for Einsum inputs and output (#6696)
rkazants Jul 23, 2021
c776ea9
Added specification for RandomUniform operation. (#6196)
popovaan Jul 23, 2021
6e8b0e0
pdpd Place: remaining methods, refactoring, unit tests (#6637)
itikhono Jul 23, 2021
25fc647
Azure CI: run MO unit tests after OpenVINO build (#6772)
nosovmik Jul 23, 2021
d921e7a
Enable mistakenly wiped sanitizer instrumentation (#6780)
Jul 23, 2021
0c10950
Revise erf OP (#6477)
luweizhou2016 Jul 26, 2021
33dfcd6
Add --verbose option to infer_tool (#6770)
ishariko Jul 26, 2021
9b70671
[GPU] Refactoring of pre_replace_deconv pass (#6218)
amolotko Jul 26, 2021
ea60879
PDPD: Install generated PDPD test models as 'test' component (#6783)
nosovmik Jul 26, 2021
16d0c28
Add check if fastjsonschema installed (#6775)
iimironov Jul 26, 2021
feb1eae
Fix file handle leak in cnpy (#6380)
Jul 26, 2021
b907c3b
set_output_type speedup (#6754)
Jul 26, 2021
83a3e08
Add more passes to the MOC backend (#6749)
Jul 26, 2021
37c619b
Fixed compilation with Intel compiler (#6788)
ilya-lavrenov Jul 26, 2021
462c2f9
Avoid replace parameter in reshape method (#6741)
ilyachur Jul 26, 2021
1a92a69
Refactor visitor tests for UnaryElementwiseArithmetic ops (#6756)
dkozykowski Jul 26, 2021
b4ad7a1
Refactor visitor tests for BinaryElementwiseArithmetic ops (#6667)
dkozykowski Jul 26, 2021
f5666fb
[GPU] Add new operation GatherElements to IE clDNN plugin (#6676)
yunji-yunji Jul 26, 2021
477a1ae
Fixed compilation for Android w/o PDPD (#6801)
ilya-lavrenov Jul 26, 2021
e5a990e
[CPU] RoiPooling handles border proposals correctly (#6199)
yury-intel Jul 26, 2021
f5fe855
Remove deprecated convolution API. (#6732)
sdurawa Jul 27, 2021
7bbf377
initialize NodeBuilder registry by IIFE instead of double lock patter…
Jul 27, 2021
71d826e
Fixed CI after #6199 (#6814)
ilyachur Jul 27, 2021
9acedbd
Enable TransposeSyncinc and BroadcastElementwiseFusion in MOC Backend…
Jul 27, 2021
dc5f44e
Integration ONNX Editor with FE API (#6773)
Jul 27, 2021
e47a85b
[CPU] Get/Set Blob overhead has been eliminated. (#6737)
maxnick Jul 27, 2021
16dc8d4
Azure CI: Add building Python API on Windows (#6799)
Jul 27, 2021
2e26dfd
Fix sanitizer build (#6790)
Jul 27, 2021
1f24cc9
[CPU] nms disabled (#6822)
yury-intel Jul 27, 2021
c0eb700
[LPT] Exception fix (#6824)
Jul 27, 2021
6ee9285
Added Windows OS support to MemCheckTests (#6684)
ishariko Jul 28, 2021
1471095
Revise Less (#6728)
bartoszLesniewski Jul 28, 2021
1aa58b4
[CPU] Enabled MatMul+Transpose transformations and reduced MatMul inf…
a-sidorova Jul 28, 2021
5d3ab31
Paddlepaddle unit tests CI fixes (#6820)
nosovmik Jul 28, 2021
62ed84e
Avoid copy of data when create Constant from HostTensor (#3388)
ilyachur Jul 28, 2021
709d7b8
[CPU] Added separate inference for pc, splitted nodes (#6511)
a-sidorova Jul 28, 2021
0f6e4af
update FakeQuantizeLayerTest - add broadcast (#6813)
Jul 29, 2021
a95d590
Rename "pdpd" frontend to "paddle" (#6842)
nosovmik Jul 29, 2021
868fad3
[MO] Add support to moc_frontend of ":" as delimiter for --input and …
nosovmik Jul 29, 2021
233bc54
Do not throw an exception if we have 2 result op for one tensor (#6844)
ilyachur Jul 29, 2021
6673a90
MO DeformableConv: fix a set of attributes (#6806)
itikhono Jul 29, 2021
4c0c184
[IE PYTHON] Release GIL in some functions (#6236)
Jul 29, 2021
d65dbd1
Fix Windows_2019 CI (#6854)
nosovmik Jul 29, 2021
d498653
Fix clang sanitizer build (#6853)
Jul 29, 2021
513a750
[AUTO] Update Auto-device plugin selection logic (#6335)
coneypo Jul 29, 2021
ab8d046
[CPU] NormalizeL2 - unsorted axes are not supported (#6602)
Jul 29, 2021
0a1cad5
Avoid Constant data copy inside Reshape constant folding (#6410)
Jul 29, 2021
a3d9f00
Enable LinOpFusion To MO Backend (#6838)
Jul 29, 2021
e70e7e1
Shell implementation for RandomUniform. (#6782)
popovaan Jul 29, 2021
7ab92b5
[CPU] Adaptive pooling implementation (#6594)
yury-intel Jul 29, 2021
0861a5c
Validate speedup (#6779)
Jul 30, 2021
5920cf8
Implement paddle frontend methods for partial conversion (#6784)
mvafin Jul 30, 2021
bc06279
Fix clone_function: clone ngraph::Variables (#6804)
itikhono Jul 30, 2021
4d7f6c5
Change logic for using multiple models in cc tests (#6618)
akoryach Jul 30, 2021
e3e2ee4
Update dependencies.cmake (#6861)
alvoron Jul 30, 2021
2b871eb
[CPU] prohibit fusing if dropped node contain > 1 child edges (#6705)
Jul 30, 2021
44bcc70
Fixed problem with model_inputs method in ONNX Editor (#6860)
Jul 30, 2021
032cebb
Implement transformation for TensorFlow 2 Map Function (aka tf.map_fn…
rkazants Jul 30, 2021
c1d8c23
Remove deprecated reduce logical reference implementation signatures …
ggalieroc Jul 30, 2021
9a36e77
Accept stream pointer instead of shared_ptr in paddle frontend (#6807)
mvafin Jul 30, 2021
81377a7
[FrontEnd]enable PDPD 16 ops conversion Part2 (#6632)
zhangYiIntel Jul 30, 2021
518ec79
Updated samples compile options (#6818)
ilya-lavrenov Jul 30, 2021
c0c2f2d
Add LeakyReluFusion transformation (#6816)
mateusztabaka Jul 30, 2021
86bb056
MulticlassNms/MatrixNms: transformations and CPU implementation (#6653)
luo-cheng2021 Jul 30, 2021
9dbc710
Improve model cutting (#6835)
mvafin Jul 30, 2021
5bafab9
Allow partially defined dimensions to read/serialize from/to IR (#6819)
lazarevevgeny Jul 30, 2021
c38f08b
Use protobuf-lite for ONNX FE by default (#6829)
ilya-lavrenov Jul 31, 2021
d28ecc4
New approach for Proposal sub-graph conversion for TF OD API models (…
lazarevevgeny Aug 1, 2021
35696ca
[CPU] Unified memory descriptor (#6328)
maxnick Aug 2, 2021
a177eb2
Fixed Windows public precommit (#6877)
ilya-lavrenov Aug 2, 2021
bfca47a
[MO] Range output_type correction for FP16 (#6590)
pavel-esir Aug 2, 2021
cc5f63d
Fix Pruning for case with INT8 GroupConvolution operation (#6872)
Aug 2, 2021
0af234b
Update to speech demo python dependencies: (#6740)
mpapaj Aug 2, 2021
eabec38
Enabled LTO for ONNX FE (#6878)
ilya-lavrenov Aug 2, 2021
e89ffa7
Added nGraph as a public dependency (#6071)
ilyachur Aug 2, 2021
9ad668a
Fixing cmake command removing temp data for ie_wheel (#6893)
ilya-lavrenov Aug 3, 2021
57c2fe2
CI onnx try (#23) (#6889)
Aug 3, 2021
e000c52
Maxpool-8 shell (#6332)
Aug 3, 2021
bba7155
CVS-60706 add cosh to int test. (#6718)
sdurawa Aug 3, 2021
063c240
[GNA] Add decompose 2D convolutions transformation (#6382)
sirzabek Aug 3, 2021
26c8b29
Added missing modules for timetests (#6896)
ishariko Aug 3, 2021
8a612fa
Moved current IE API to separate folder (#6735)
ilyachur Aug 3, 2021
ebd86e3
Azure CI: Move openvino-lin to Ubuntu 20.04 (#6898)
Aug 3, 2021
344e063
Removed name from ngraph tensors (#6446)
ilya-lavrenov Aug 3, 2021
950d7b8
pdpd frontend: enable deformable_conv, enable multiclass_nms and matr…
ceciliapeng2011 Aug 3, 2021
a30bd0c
Revise logical and (#6731)
pszmel Aug 3, 2021
e220b57
Azure CI: Move Linux check to Ubuntu 20.04 (#6907)
Aug 3, 2021
c963136
Revise less equal (#6720)
bszmelcz Aug 4, 2021
40a5ce2
Use original onnx (#6673)
ilyachur Aug 4, 2021
b9b0a8b
Fixed compilation with clang (#6917)
ilya-lavrenov Aug 4, 2021
8f5d9a8
[GPU] Refactored network/program/topology classes (#6800)
Aug 4, 2021
91bda36
Separate executable for paddlepaddle unit tests (#6862)
nosovmik Aug 4, 2021
de4d747
[CPU] DeformableConvolution-8
apertovs Jun 24, 2021
659c3d0
Some fixes
nshchego Jul 16, 2021
3797580
save
yury-intel Jul 29, 2021
3548bd6
...
yury-intel Jul 29, 2021
b3d6c60
...
yury-intel Jul 30, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .ci/azure/ci_utils/onnxruntime/version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
rel-1.7.1
rel-1.8.1
59 changes: 43 additions & 16 deletions .ci/azure/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,12 @@ jobs:
timeoutInMinutes: 90

pool:
name: LIN_VMSS_VENV_F16S_WU2
name: LIN_VMSS_VENV_F16S_U20_WU2

variables:
system.debug: true
VSTS_HTTP_RETRY: 5
VSTS_HTTP_TIMEOUT: 200
WORKERS_NUMBER: 16
BUILD_TYPE: Release
REPO_DIR: $(Build.Repository.LocalPath)
OPENVINO_CONTRIB_REPO_DIR: $(REPO_DIR)/../openvino_contrib
Expand All @@ -43,6 +42,7 @@ jobs:
echo Python info ; which python ; python --version
echo Java info ; which java ; java -version
echo gcc info ; which gcc ; gcc --version
echo cmake info ; which cmake ; cmake --version
lsb_release
env
cat /proc/cpuinfo
Expand Down Expand Up @@ -74,29 +74,38 @@ jobs:
submodules: recursive
path: openvino_contrib

- checkout: testdata
clean: true
lfs: true
path: testdata

- script: |
sudo apt --assume-yes install libusb-1.0-0-dev
# For opencv-python: setuptools and upgrade
sudo apt-get install python3-setuptools patchelf
set -e
$(REPO_DIR)/install_build_dependencies.sh
# Move jdk into contrib
sudo apt --assume-yes install openjdk-11-jdk
# For opencv-python: python3-setuptools and pip upgrade
python3 -m pip install --upgrade pip
python3 -m pip install -r $(REPO_DIR)/inference-engine/ie_bridges/python/requirements.txt
python3 -m pip install -r $(REPO_DIR)/inference-engine/ie_bridges/python/wheel/requirements-dev.txt
# For running Python API tests
python3 -m pip install -r $(REPO_DIR)/inference-engine/ie_bridges/python/src/requirements-dev.txt
# For running PaddlePaddle frontend unit tests
python3 -m pip install -r $(REPO_DIR)/ngraph/test/frontend/paddlepaddle/requirements_dev.txt
# For running ONNX frontend unit tests
python3 -m pip install -r $(REPO_DIR)/ngraph/test/requirements_test_onnx.txt
# For MO unit tests
python3 -m pip install -r $(REPO_DIR)/model-optimizer/requirements.txt
python3 -m pip install -r $(REPO_DIR)/model-optimizer/requirements_dev.txt
# Speed up build
wget https://github.com/ninja-build/ninja/releases/download/v1.10.0/ninja-linux.zip
wget https://github.com/ninja-build/ninja/releases/download/v1.10.2/ninja-linux.zip
unzip ninja-linux.zip
sudo cp -v ninja /usr/local/bin/
# Speed up tests
git clone https://github.com/google/gtest-parallel.git
workingDirectory: $(WORK_DIR)
displayName: 'Install dependencies'

- checkout: testdata
clean: true
lfs: true
path: testdata

- task: CMake@1
inputs:
# CMake must get Python 3.x version by default
Expand All @@ -105,12 +114,14 @@ jobs:
-DVERBOSE_BUILD=ON
-DCMAKE_BUILD_TYPE=$(BUILD_TYPE)
-DENABLE_PYTHON=ON
-DPYTHON_EXECUTABLE=/usr/bin/python3.6
-DPYTHON_EXECUTABLE=/usr/bin/python3.8
-DENABLE_WHEEL=ON
-DENABLE_TESTS=ON
-DNGRAPH_ONNX_IMPORT_ENABLE=ON
-DNGRAPH_ONNX_FRONTEND_ENABLE=ON
-DENABLE_FASTER_BUILD=ON
-DENABLE_STRICT_DEPENDENCIES=OFF
-DENABLE_REQUIREMENTS_INSTALL=OFF
-DIE_EXTRA_MODULES=$(OPENVINO_CONTRIB_REPO_DIR)/modules
$(REPO_DIR)
workingDirectory: $(BUILD_DIR)
Expand All @@ -133,8 +144,10 @@ jobs:
displayName: 'List install files'

- script: |
set -e
mkdir $(INSTALL_DIR)/opencv/
cmake -DCMAKE_INSTALL_PREFIX=$(INSTALL_DIR) -DCOMPONENT=tests -P cmake_install.cmake && cp -R $(REPO_DIR)/inference-engine/temp/opencv_4.5.2_ubuntu18/opencv/* $(INSTALL_DIR)/opencv/
cmake -DCMAKE_INSTALL_PREFIX=$(INSTALL_DIR) -DCOMPONENT=tests -P cmake_install.cmake
cp -R $(REPO_DIR)/inference-engine/temp/opencv_4.5.2_ubuntu20/opencv/* $(INSTALL_DIR)/opencv/
workingDirectory: $(BUILD_DIR)
displayName: 'Install tests'

Expand All @@ -149,11 +162,26 @@ jobs:
workingDirectory: $(BUILD_SAMPLES_DIR)
displayName: 'Build c samples'

- script: rm -fr $(BUILD_DIR)
displayName: 'Clean build dir'
continueOnError: false

- script: |
export MO_ROOT=$(INSTALL_DIR)/deployment_tools/model_optimizer
. $(SETUPVARS) -pyver 3.8 && python3 -m pytest -s $(INSTALL_DIR)/deployment_tools/model_optimizer/unit_tests --junitxml=TEST-ModelOptimizer.xml
displayName: 'Model Optimizer UT'
continueOnError: false

- script: . $(SETUPVARS) && $(INSTALL_TEST_DIR)/unit-test --gtest_print_time=1 --gtest_filter=-backend_api.config_unsupported:*IE_GPU* --gtest_output=xml:TEST-NGraphUT.xml
workingDirectory: $(INSTALL_TEST_DIR)
displayName: 'nGraph UT'
continueOnError: false

# . $(SETUPVARS) && python3 $(WORK_DIR)/gtest-parallel/gtest_parallel.py $(INSTALL_TEST_DIR)/InferenceEngineUnitTests --workers=$(WORKERS_NUMBER) --dump_json_test_results=InferenceEngineUnitTests.json --gtest_filter=*smoke* -- --gtest_print_time=1
- script: . $(SETUPVARS) && $(INSTALL_TEST_DIR)/paddlepaddle_tests --gtest_print_time=1 --gtest_filter=-backend_api.config_unsupported:*IE_GPU* --gtest_output=xml:TEST-PaddlePaddle.xml
displayName: 'PaddlePaddle Frontend UT'
continueOnError: false

# . $(SETUPVARS) && python3 $(WORK_DIR)/gtest-parallel/gtest_parallel.py $(INSTALL_TEST_DIR)/InferenceEngineUnitTests --workers=16 --dump_json_test_results=InferenceEngineUnitTests.json --gtest_filter=*smoke* -- --gtest_print_time=1
- script: . $(SETUPVARS) && $(INSTALL_TEST_DIR)/InferenceEngineUnitTests --gtest_print_time=1 --gtest_output=xml:TEST-InferenceEngineUnitTests.xml
displayName: 'IE UT old'
continueOnError: false
Expand Down Expand Up @@ -201,10 +229,9 @@ jobs:
export DATA_PATH=$(MODELS_PATH)
export MODELS_PATH=$(MODELS_PATH)
cd $(REPO_DIR)/inference-engine/ie_bridges/python/tests
. $(SETUPVARS) -pyver 3.6 && pytest pytest --junitxml=TEST-PythonAPI.xml
. $(SETUPVARS) -pyver 3.8 && python3 -m pytest --junitxml=TEST-PythonAPI.xml
displayName: 'Python API Tests'
continueOnError: false
enabled: false

- task: PublishTestResults@2
condition: always()
Expand Down
16 changes: 9 additions & 7 deletions .ci/azure/linux_conditional_compilation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,20 +4,18 @@ jobs:
timeoutInMinutes: 90

pool:
name: LIN_VMSS_VENV_F16S_WU2
name: LIN_VMSS_VENV_F16S_U20_WU2

variables:
system.debug: true
VSTS_HTTP_RETRY: 5
VSTS_HTTP_TIMEOUT: 200
WORKERS_NUMBER: 16
BUILD_TYPE: Release
REPO_DIR: $(Build.Repository.LocalPath)
OPENVINO_CONTRIB_REPO_DIR: $(REPO_DIR)/../openvino_contrib
MODELS_PATH: $(REPO_DIR)/../testdata
WORK_DIR: $(Pipeline.Workspace)/_w
BUILD_DIR: $(WORK_DIR)/build
BIN_DIR: $(REPO_DIR)/bin/intel64/$(BUILD_TYPE)
INSTALL_DIR: $(WORK_DIR)/install_pkg
SETUPVARS: $(INSTALL_DIR)/bin/setupvars.sh

Expand All @@ -30,6 +28,7 @@ jobs:
echo Python info ; which python ; python --version
echo Java info ; which java ; java -version
echo gcc info ; which gcc ; gcc --version
echo cmake info ; which cmake ; cmake --version
lsb_release
env
cat /proc/cpuinfo
Expand All @@ -53,10 +52,11 @@ jobs:
path: openvino

- script: |
sudo apt --assume-yes install libusb-1.0-0-dev
set -e
$(REPO_DIR)/install_build_dependencies.sh
python3 -m pip install -r $(REPO_DIR)/inference-engine/ie_bridges/python/requirements.txt
# Speed up build
wget https://github.com/ninja-build/ninja/releases/download/v1.10.0/ninja-linux.zip
wget https://github.com/ninja-build/ninja/releases/download/v1.10.2/ninja-linux.zip
unzip ninja-linux.zip
sudo cp -v ninja /usr/local/bin/
workingDirectory: $(WORK_DIR)
Expand All @@ -76,12 +76,14 @@ jobs:

- script: ninja
workingDirectory: $(BUILD_DIR)
displayName: 'Build'
displayName: 'Build LinCC'

- script: ls -alR $(REPO_DIR)/bin/
displayName: 'List files'
displayName: 'List bin files'

- script: cmake -DCMAKE_INSTALL_PREFIX=$(INSTALL_DIR) -P cmake_install.cmake
workingDirectory: $(BUILD_DIR)
displayName: 'Install'

- script: ls -alR $(INSTALL_DIR)
displayName: 'List install files'
19 changes: 13 additions & 6 deletions .ci/azure/linux_ngraph_onnx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,12 @@ jobs:
timeoutInMinutes: 90

pool:
name: LIN_VMSS_VENV_ONNX_WU2
name: LIN_VMSS_VENV_ONNX_U20_WU2

variables:
system.debug: true
VSTS_HTTP_RETRY: 5
VSTS_HTTP_TIMEOUT: 200
WORKERS_NUMBER: 8
REPO_DIR: $(Build.Repository.LocalPath)
WORK_DIR: $(Pipeline.Workspace)/_w
MODELS_DIR: /mount/cinfsshare/onnxtestdata
Expand All @@ -43,6 +42,7 @@ jobs:
echo Python info ; which python ; python --version
echo Java info ; which java ; java -version
echo gcc info ; which gcc ; gcc --version
echo cmake info ; which cmake ; cmake --version
lsb_release
env
cat /proc/cpuinfo
Expand All @@ -68,16 +68,23 @@ jobs:
submodules: recursive
path: openvino

- script: docker build --tag=openvino-onnx-ci-image --file=.ci/openvino-onnx/Dockerfile --build-arg BUILD_TYPE=$(BUILD_TYPE) --build-arg PROTOBUF_LITE=$(PROTOBUF_LITE) .
- script: |
set -e
sudo apt --assume-yes install git-lfs uidmap
curl -fsSL https://get.docker.com -o get-docker.sh
sudo sh get-docker.sh
workingDirectory: $(WORK_DIR)
displayName: 'Install dependencies'

- script: sudo docker build --tag=openvino-onnx-ci-image --file=.ci/openvino-onnx/Dockerfile --build-arg BUILD_TYPE=$(BUILD_TYPE) --build-arg PROTOBUF_LITE=$(PROTOBUF_LITE) .
displayName: 'Docker build $(BUILD_TYPE) protobuf-lite: $(PROTOBUF_LITE)'

- script: ngraph/python/tests/test_onnx/model_zoo_preprocess.sh -d $(TMP_DIR) -o -s "$(ONNX_MODEL_ZOO_SHA)"
displayName: 'Get models'
condition: ne(variables['BUILD_TYPE'], 'Debug')

- script: sudo fallocate -l 48G /swapfile ; sudo mkswap /swapfile ; sudo swapon /swapfile ; df ; free -h
- script: sudo fallocate -l 64G /swapfile ; sudo mkswap /swapfile ; sudo swapon /swapfile ; df ; free -h
displayName: 'Create swap'

- script: |
docker run --name openvino-onnx-ci-container --volume $(TMP_DIR)/model_zoo/onnx_model_zoo_$(ONNX_MODEL_ZOO_SHA):/root/.onnx/model_zoo/onnx_model_zoo --volume $(MODELS_DIR)/msft:/root/.onnx/model_zoo/MSFT openvino-onnx-ci-image /bin/bash -c "$(TOX_COMMAND)"
- script: sudo docker run --name openvino-onnx-ci-container --volume $(TMP_DIR)/model_zoo/onnx_model_zoo_$(ONNX_MODEL_ZOO_SHA):/root/.onnx/model_zoo/onnx_model_zoo --volume $(MODELS_DIR)/msft:/root/.onnx/model_zoo/MSFT openvino-onnx-ci-image /bin/bash -c "$(TOX_COMMAND)"
displayName: 'Docker run $(BUILD_TYPE) protobuf-lite: $(PROTOBUF_LITE)'
24 changes: 12 additions & 12 deletions .ci/azure/linux_onnxruntime.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,23 +3,23 @@ jobs:
timeoutInMinutes: 90

pool:
name: LIN_VMSS_VENV_ONNX_WU2
name: LIN_VMSS_VENV_ONNX_U20_WU2

variables:
system.debug: true
VSTS_HTTP_RETRY: 5
VSTS_HTTP_TIMEOUT: 200
WORKERS_NUMBER: 8
BUILD_TYPE: Release
REPO_DIR: $(Build.Repository.LocalPath)
ONNXRUNTIME_REPO_DIR: $(REPO_DIR)/../onnxruntime
WORK_DIR: $(Pipeline.Workspace)/_w
MODELS_DIR: /mount/cinfsshare/onnxtestdata
TMP_DIR: /mnt/tmp
INSTALL_DIR: $(WORK_DIR)/install_pkg
INSTALL_DIR: $(WORK_DIR)/install_pkg/openvino
BUILD_DIR: $(WORK_DIR)/build
ONNXRUNTIME_UTILS: $(REPO_DIR)/.ci/azure/ci_utils/onnxruntime
ONNXRUNTIME_BUILD_DIR: $(ONNXRUNTIME_REPO_DIR)/build

steps:
- script: |
curl -H Metadata:true --noproxy "*" "http://169.254.169.254/metadata/instance?api-version=2019-06-01"
Expand All @@ -29,6 +29,7 @@ jobs:
echo Python info ; which python ; python --version
echo Java info ; which java ; java -version
echo gcc info ; which gcc ; gcc --version
echo cmake info ; which cmake ; cmake --version
lsb_release
env
cat /proc/cpuinfo
Expand Down Expand Up @@ -60,15 +61,14 @@ jobs:
displayName: 'Clone onnxruntime'

- script: |
sudo apt --assume-yes install libusb-1.0-0-dev
# For opencv-python: setuptools and upgrade
sudo apt-get install python3-setuptools
set -e
$(REPO_DIR)/install_build_dependencies.sh
python3 -m pip install --upgrade pip
python3 -m pip install -r $(REPO_DIR)/inference-engine/ie_bridges/python/requirements.txt
# For running Python API tests
python3 -m pip install -r $(REPO_DIR)/inference-engine/ie_bridges/python/src/requirements-dev.txt
# Speed up build
wget https://github.com/ninja-build/ninja/releases/download/v1.10.0/ninja-linux.zip
wget https://github.com/ninja-build/ninja/releases/download/v1.10.2/ninja-linux.zip
unzip ninja-linux.zip
sudo cp -v ninja /usr/local/bin/
# Speed up tests
Expand All @@ -83,7 +83,7 @@ jobs:
-GNinja
-DCMAKE_BUILD_TYPE=$(BUILD_TYPE)
-DENABLE_PYTHON=ON
-DPYTHON_EXECUTABLE=/usr/bin/python3.6
-DPYTHON_EXECUTABLE=/usr/bin/python3.8
-DENABLE_VPU=OFF
-DENABLE_GNA=OFF
-DENABLE_OPENCV=OFF
Expand All @@ -95,27 +95,27 @@ jobs:
-DENABLE_SAMPLES=OFF
-DENABLE_SPEECH_DEMO=OFF
-DNGRAPH_ONNX_IMPORT_ENABLE=ON
-DNGRAPH_ONNX_FRONTEND_ENABLE=ON
-DNGRAPH_DEBUG_ENABLE=OFF
$(REPO_DIR)
workingDirectory: $(BUILD_DIR)

- script: ninja
workingDirectory: $(BUILD_DIR)
displayName: 'Build Lin'
displayName: 'Build Lin ONNX'

- script: ls -alR $(REPO_DIR)/bin/
displayName: 'List files'
displayName: 'List bin files'

- script: cmake -DCMAKE_INSTALL_PREFIX=$(INSTALL_DIR) -P cmake_install.cmake
workingDirectory: $(BUILD_DIR)
displayName: 'Install'

- script: |
source $(INSTALL_DIR)/bin/setupvars.sh
echo "2021.2" > $(INSTALL_DIR)/deployment_tools/inference_engine/version.txt
CXXFLAGS="-Wno-error=deprecated-declarations" ./build.sh --config RelWithDebInfo --use_openvino CPU_FP32 --build_shared_lib --parallel --skip_tests --build_dir $(ONNXRUNTIME_BUILD_DIR)
workingDirectory: $(ONNXRUNTIME_REPO_DIR)
displayName: 'Build ONNX Runtime'
displayName: 'Build Lin ONNX Runtime'

- script: |
source $(INSTALL_DIR)/bin/setupvars.sh
Expand Down
8 changes: 3 additions & 5 deletions .ci/azure/mac.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ jobs:
system.debug: true
VSTS_HTTP_RETRY: 5
VSTS_HTTP_TIMEOUT: 200
WORKERS_NUMBER: 3
BUILD_TYPE: Release
REPO_DIR: $(Build.Repository.LocalPath)
OPENVINO_CONTRIB_REPO_DIR: $(REPO_DIR)/../openvino_contrib
Expand Down Expand Up @@ -76,6 +75,7 @@ jobs:
- script: |
brew install cython
brew install automake
python3 -m pip install -r $(REPO_DIR)/ngraph/test/requirements_test_onnx.txt
# Speed up build
brew install ninja
# Speed up tests
Expand All @@ -87,10 +87,7 @@ jobs:
export PATH="/usr/local/opt/cython/bin:$PATH"
export CC=gcc
export CXX=g++
# Disable errors with Ninja
export CXXFLAGS="-Wno-error=unused-command-line-argument"
export CFLAGS="-Wno-error=unused-command-line-argument"
cmake -GNinja -DVERBOSE_BUILD=ON -DCMAKE_BUILD_TYPE=$(BUILD_TYPE) -DENABLE_PYTHON=ON -DENABLE_TESTS=ON -DENABLE_STRICT_DEPENDENCIES=OFF -DIE_EXTRA_MODULES=$(OPENVINO_CONTRIB_REPO_DIR)/modules $(REPO_DIR)
cmake -GNinja -DVERBOSE_BUILD=ON -DENABLE_REQUIREMENTS_INSTALL=OFF -DCMAKE_BUILD_TYPE=$(BUILD_TYPE) -DENABLE_PYTHON=ON -DENABLE_TESTS=ON -DENABLE_STRICT_DEPENDENCIES=OFF -DIE_EXTRA_MODULES=$(OPENVINO_CONTRIB_REPO_DIR)/modules $(REPO_DIR)
workingDirectory: $(BUILD_DIR)
displayName: 'CMake'

Expand All @@ -106,6 +103,7 @@ jobs:
displayName: 'Install'

- script: $(BIN_DIR)/unit-test --gtest_print_time=1 --gtest_filter=-backend_api.config_unsupported:*IE_GPU*:IE_CPU.onnx_model_sigmoid:IE_CPU/GRUSequenceOp.onnx_model_gru* --gtest_output=xml:TEST-NGraphUT.xml
workingDirectory: $(BIN_DIR)
displayName: 'nGraph UT'
continueOnError: false

Expand Down
Loading