Skip to content

Commit

Permalink
Migrate Deployment Manager tool to Open Source (openvinotoolkit#6692)
Browse files Browse the repository at this point in the history
* Migrate Deployment Manager tool to Open Source

* scripts/CMakeLists.txt: Added install rules for deployment manager
  • Loading branch information
artanokhov authored and rnugmanx committed Aug 26, 2021
1 parent 175639d commit 7488e68
Show file tree
Hide file tree
Showing 9 changed files with 1,065 additions and 0 deletions.
6 changes: 6 additions & 0 deletions scripts/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,12 @@ if(UNIX)
COMPONENT install_dependencies)
endif()

# install DeploymentManager
ie_cpack_add_component(deployment_manager REQUIRED)
install(DIRECTORY deployment_manager/
DESTINATION deployment_tools/tools/deployment_manager
COMPONENT deployment_manager)

# install files for demo

ie_cpack_add_component(demo_scripts DEPENDS core)
Expand Down
106 changes: 106 additions & 0 deletions scripts/deployment_manager/configs/darwin.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,106 @@
{
"version": "0.2",
"components": {
"setupvars": {
"mandatory" : "yes",
"files": [
"bin"
]
},
"openvino_license": {
"mandatory" : "yes",
"files": [
"licensing"
]
},
"ie_core": {
"group": ["ie"],
"files": [
"deployment_tools/inference_engine/version.txt",
"deployment_tools/inference_engine/lib/intel64/libinference_engine.dylib",
"deployment_tools/inference_engine/lib/intel64/libinference_engine_lp_transformations.dylib",
"deployment_tools/inference_engine/lib/intel64/libinference_engine_transformations.dylib",
"deployment_tools/inference_engine/lib/intel64/libinference_engine_preproc.so",
"deployment_tools/inference_engine/lib/intel64/libinference_engine_ir_reader.so",
"deployment_tools/inference_engine/lib/intel64/libinference_engine_onnx_reader.so",
"deployment_tools/inference_engine/lib/intel64/libinference_engine_c_api.dylib",
"deployment_tools/inference_engine/lib/intel64/libAutoPlugin.so",
"deployment_tools/inference_engine/lib/intel64/plugins.xml",
"deployment_tools/inference_engine/external/tbb",
"deployment_tools/ngraph/lib"
]
},
"cpu": {
"ui_name": "Inference Engine Runtime for Intel(R) CPU",
"group": ["ie"],
"dependencies" : ["ie_core"],
"files": [
"deployment_tools/inference_engine/lib/intel64/libMKLDNNPlugin.so"
]
},
"vpu": {
"ui_name": "Inference Engine Runtime for Intel(R) Movidius(tm) VPU",
"group": ["ie"],
"dependencies" : ["ie_core"],
"files": [
"deployment_tools/inference_engine/lib/intel64/libmyriadPlugin.so",
"deployment_tools/inference_engine/lib/intel64/myriad_compile",
"deployment_tools/inference_engine/lib/intel64/myriad_perfcheck",
"deployment_tools/inference_engine/lib/intel64/libinference_engine_legacy.dylib",
"deployment_tools/inference_engine/lib/intel64/usb-ma2x8x.mvcmd",
"deployment_tools/inference_engine/lib/intel64/pcie-ma2x8x.mvcmd"
]
},
"opencv": {
"ui_name": "OpenCV",
"group": ["opencv"],
"dependencies" : [],
"files": [
"opencv/version.txt",
"opencv/setupvars.sh",
"opencv/lib",
"opencv/bin"
]
},
"python_common": {
"group": ["python"],
"dependencies" : ["ie_core"],
"files": [
"python/python3",
"python/requirements.txt"
]
},
"python3.6": {
"ui_name": "OpenVINO Python API for Python3.6",
"group": ["python"],
"dependencies" : ["ie_core", "python_common"],
"files": [
"python/python3.6"
]
},
"python3.7": {
"ui_name": "OpenVINO Python API for Python3.7",
"group": ["python"],
"dependencies" : ["ie_core", "python_common"],
"files": [
"python/python3.7"
]
},
"python3.8": {
"ui_name": "OpenVINO Python API for Python3.8",
"group": ["python"],
"dependencies" : ["ie_core", "python_common"],
"files": [
"python/python3.8"
]
},
"python3.9": {
"ui_name": "OpenVINO Python API for Python3.9",
"group": ["python"],
"dependencies" : ["ie_core", "python_common"],
"files": [
"python/python3.9"
]
}
}
}
145 changes: 145 additions & 0 deletions scripts/deployment_manager/configs/linux.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,145 @@
{
"version": "0.2",
"components": {
"setupvars": {
"mandatory" : "yes",
"files": [
"bin"
]
},
"openvino_dependencies": {
"mandatory" : "yes",
"files": [
"install_dependencies/install_openvino_dependencies.sh"
]
},
"openvino_license": {
"mandatory" : "yes",
"files": [
"licensing"
]
},
"ie_core": {
"group": ["ie"],
"files": [
"deployment_tools/inference_engine/version.txt",
"deployment_tools/inference_engine/lib/intel64/libinference_engine.so",
"deployment_tools/inference_engine/lib/intel64/libinference_engine_lp_transformations.so",
"deployment_tools/inference_engine/lib/intel64/libinference_engine_transformations.so",
"deployment_tools/inference_engine/lib/intel64/libinference_engine_preproc.so",
"deployment_tools/inference_engine/lib/intel64/libinference_engine_ir_reader.so",
"deployment_tools/inference_engine/lib/intel64/libinference_engine_onnx_reader.so",
"deployment_tools/inference_engine/lib/intel64/libinference_engine_c_api.so",
"deployment_tools/inference_engine/lib/intel64/libAutoPlugin.so",
"deployment_tools/inference_engine/lib/intel64/plugins.xml",
"deployment_tools/inference_engine/external/tbb",
"deployment_tools/ngraph/lib"
]
},
"cpu": {
"ui_name": "Inference Engine Runtime for Intel(R) CPU",
"group": ["ie"],
"dependencies" : ["ie_core"],
"files": [
"deployment_tools/inference_engine/lib/intel64/libMKLDNNPlugin.so"
]
},
"gpu": {
"ui_name": "Inference Engine Runtime for Intel(R) Processor Graphics",
"group": ["ie"],
"dependencies" : ["ie_core"],
"files": [
"deployment_tools/inference_engine/lib/intel64/cache.json",
"deployment_tools/inference_engine/lib/intel64/libclDNNPlugin.so",
"install_dependencies/install_NEO_OCL_driver.sh"
]
},
"vpu": {
"ui_name": "Inference Engine Runtime for Intel(R) Movidius(tm) VPU",
"group": ["ie"],
"dependencies" : ["ie_core"],
"files": [
"deployment_tools/inference_engine/external/97-myriad-usbboot.rules",
"deployment_tools/inference_engine/lib/intel64/usb-ma2x8x.mvcmd",
"deployment_tools/inference_engine/lib/intel64/pcie-ma2x8x.mvcmd",
"deployment_tools/inference_engine/lib/intel64/libmyriadPlugin.so",
"deployment_tools/inference_engine/lib/intel64/myriad_compile",
"deployment_tools/inference_engine/lib/intel64/myriad_perfcheck",
"deployment_tools/inference_engine/lib/intel64/vpu_custom_kernels",
"deployment_tools/inference_engine/lib/intel64/libinference_engine_legacy.so",
"install_dependencies/install_NCS_udev_rules.sh"
]
},
"gna": {
"ui_name": "Inference Engine Runtime for Intel(R) Gaussian Neural Accelerator",
"group": ["ie"],
"dependencies" : ["ie_core"],
"files": [
"deployment_tools/inference_engine/external/gna",
"deployment_tools/inference_engine/lib/intel64/libinference_engine_legacy.so",
"deployment_tools/inference_engine/lib/intel64/libGNAPlugin.so"
]
},
"hddl": {
"ui_name": "Inference Engine Runtime for Intel(R) Vision Accelerator Design with\n\t Intel(R) Movidius(tm) VPUs",
"group": ["ie"],
"dependencies" : ["ie_core"],
"files": [
"deployment_tools/inference_engine/lib/intel64/libHDDLPlugin.so",
"deployment_tools/inference_engine/lib/intel64/libinference_engine_legacy.so",
"deployment_tools/inference_engine/external/hddl"
]
},
"opencv": {
"ui_name": "OpenCV",
"group": ["opencv"],
"dependencies" : [],
"files": [
"opencv/version.txt",
"opencv/setupvars.sh",
"opencv/lib",
"opencv/bin"
]
},
"python_common": {
"group": ["python"],
"dependencies" : ["ie_core"],
"files": [
"python/python3",
"python/requirements.txt"
]
},
"python3.6": {
"ui_name": "OpenVINO Python API for Python3.6",
"group": ["python"],
"dependencies" : ["ie_core", "python_common"],
"files": [
"python/python3.6"
]
},
"python3.7": {
"ui_name": "OpenVINO Python API for Python3.7",
"group": ["python"],
"dependencies" : ["ie_core", "python_common"],
"files": [
"python/python3.7"
]
},
"python3.8": {
"ui_name": "OpenVINO Python API for Python3.8",
"group": ["python"],
"dependencies" : ["ie_core", "python_common"],
"files": [
"python/python3.8"
]
},
"python3.9": {
"ui_name": "OpenVINO Python API for Python3.9",
"group": ["python"],
"dependencies" : ["ie_core", "python_common"],
"files": [
"python/python3.9"
]
}
}
}
Loading

0 comments on commit 7488e68

Please sign in to comment.