SHA256
1
0
forked from pool/openvino

Accepting request 1196392 from science:machinelearning

OBS-URL: https://build.opensuse.org/request/show/1196392
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/openvino?expand=0&rev=5
This commit is contained in:
Dominique Leuenberger 2024-08-28 19:30:51 +00:00 committed by Git OBS Bridge
commit 89541f3922
7 changed files with 119 additions and 67 deletions

View File

@ -2,8 +2,8 @@
<service name="obs_scm" mode="manual"> <service name="obs_scm" mode="manual">
<param name="url">https://github.com/openvinotoolkit/openvino.git</param> <param name="url">https://github.com/openvinotoolkit/openvino.git</param>
<param name="scm">git</param> <param name="scm">git</param>
<param name="revision">2024.2.0</param> <param name="revision">2024.3.0</param>
<param name="version">2024.2.0</param> <param name="version">2024.3.0</param>
<param name="submodules">enable</param> <param name="submodules">enable</param>
<param name="filename">openvino</param> <param name="filename">openvino</param>
<param name="exclude">.git</param> <param name="exclude">.git</param>

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:50b3efee39ea06430456d49db9b4173b22999d8b3e7547dc658bb37df82b0f1b
size 1036420623

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:bacc2b9540afda6c5bd6d17ddea35afe17caefdd4fa1a350ed1c8be2eb290981
size 1055294991

View File

@ -0,0 +1,28 @@
diff -uNr openvino.orig/src/plugins/intel_npu/tools/CMakeLists.txt openvino/src/plugins/intel_npu/tools/CMakeLists.txt
--- openvino.orig/src/plugins/intel_npu/tools/CMakeLists.txt 2024-08-02 23:32:03.216982353 -0300
+++ openvino/src/plugins/intel_npu/tools/CMakeLists.txt 2024-08-04 17:22:22.899469769 -0300
@@ -4,5 +4,4 @@
#
add_subdirectory(common)
-add_subdirectory(compile_tool)
add_subdirectory(single-image-test)
diff -uNr openvino.orig/src/plugins/intel_npu/tools/compile_tool/CMakeLists.txt openvino/src/plugins/intel_npu/tools/compile_tool/CMakeLists.txt
--- openvino.orig/src/plugins/intel_npu/tools/compile_tool/CMakeLists.txt 2024-08-02 23:32:03.216982353 -0300
+++ openvino/src/plugins/intel_npu/tools/compile_tool/CMakeLists.txt 2024-08-03 02:36:25.059440300 -0300
@@ -44,13 +44,13 @@
#
install(TARGETS ${TARGET_NAME}
- RUNTIME DESTINATION "tools/${TARGET_NAME}"
+ RUNTIME DESTINATION "share/OpenVINO/tools/${TARGET_NAME}"
COMPONENT ${NPU_INTERNAL_COMPONENT}
${OV_CPACK_COMP_NPU_INTERNAL_EXCLUDE_ALL})
if(EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/README.md")
install(FILES "${CMAKE_CURRENT_SOURCE_DIR}/README.md"
- DESTINATION "tools/${TARGET_NAME}"
+ DESTINATION "share/OpenVINO/tools/${TARGET_NAME}"
COMPONENT ${NPU_INTERNAL_COMPONENT}
${OV_CPACK_COMP_NPU_INTERNAL_EXCLUDE_ALL})
endif()

View File

@ -1,3 +1,75 @@
-------------------------------------------------------------------
Sat Aug 10 01:41:06 UTC 2024 - Alessandro de Oliveira Faria <cabelo@opensuse.org>
- Remove NPU Compile Tool
* openvino-remove-npu-compile-tool.patch
- Update to 2024.3.0
- Summary of major features and improvements
* More Gen AI coverage and framework integrations to minimize
code changes
+ OpenVINO pre-optimized models are now available in Hugging
Face making it easier for developers to get started with
these models.
* Broader Large Language Model (LLM) support and more model
compression techniques.
+ Significant improvement in LLM performance on Intel
discrete GPUs with the addition of Multi-Head Attention
(MHA) and OneDNN enhancements.
* More portability and performance to run AI at the edge, in the
cloud, or locally.
+ Improved CPU performance when serving LLMs with the
inclusion of vLLM and continuous batching in the OpenVINO
Model Server (OVMS). vLLM is an easy-to-use open-source
library that supports efficient LLM inferencing and model
serving.
- Support Change and Deprecation Notices
* Using deprecated features and components is not advised.
They are available to enable a smooth transition to new
solutions and will be discontinued in the future. To keep
using discontinued features, you will have to revert to the
last LTS OpenVINO version supporting them. For more details,
refer to the OpenVINO Legacy Features and Components page.
* Discontinued in 2024.0:
+ Runtime components:
- Intel® Gaussian & Neural Accelerator (Intel®GNA)..Consider
using the Neural Processing Unit (NPU) for low-powered
systems like Intel® Core™ Ultra or 14th generation
and beyond.
- OpenVINO C++/C/Python 1.0 APIs (see 2023.3 API transition
guide for reference).
- All ONNX Frontend legacy API (known as ONNX_IMPORTER_API)
- 'PerfomanceMode.UNDEFINED' property as part of the OpenVINO
Python API
+ Tools:
- Deployment Manager. See installation and deployment guides
for current distribution options.
- Accuracy Checker.
- Post-Training Optimization Tool (POT).Neural Network
Compression Framework (NNCF) should be used instead.
- A Git patchfor NNCF integration withhuggingface/
transformers. The recommended approachis to use
huggingface/optimum-intelfor applying NNCF optimization
on top of models from Hugging Face.
- Support for Apache MXNet, Caffe, and Kaldi model formats.
Conversion to ONNX may be used as a solution.
* Deprecated and to be removed in the future:
+ The OpenVINO™ Development Tools package (pip install
openvino-dev) will be removed from installation options
and distribution channels beginning with OpenVINO 2025.0.
+ Model Optimizer will be discontinued with OpenVINO 2025.0.
Consider using the new conversion methods instead. For
more details, see the model conversion transition guide.
+ OpenVINO property Affinity API will be discontinued with
OpenVINO 2025.0. It will be replaced with CPU binding
configurations (ov::hint::enable_cpu_pinning).
+ OpenVINO Model Server components:
- “auto shape” and “auto batch size” (reshaping a model
in runtime) will be removed in the future. OpenVINOs
dynamic shape models are recommended instead.
+ A number of notebooks have been deprecated. For an
up-to-date listing of available notebooks, refer to
the OpenVINO™ Notebook index (openvinotoolkit.github.io).
------------------------------------------------------------------- -------------------------------------------------------------------
Sat Jun 22 12:01:23 UTC 2024 - Andreas Schwab <schwab@suse.de> Sat Jun 22 12:01:23 UTC 2024 - Andreas Schwab <schwab@suse.de>

View File

@ -1,4 +1,4 @@
name: openvino name: openvino
version: 2024.2.0 version: 2024.3.0
mtime: 1716981469 mtime: 1721394417
commit: 5c0f38f83f62fdabcdc980fa6dc3ed1ea16c8a05 commit: 1e3b88e4e3f89774923e04e845428579f8ffa0fe

View File

@ -21,12 +21,13 @@
# Compilation takes ~1 hr on OBS for a single python, don't try all supported flavours # Compilation takes ~1 hr on OBS for a single python, don't try all supported flavours
%define pythons python3 %define pythons python3
%define __builder ninja %define __builder ninja
%define so_ver 2420 %define so_ver 2430
%define shlib lib%{name}%{so_ver} %define shlib lib%{name}%{so_ver}
%define shlib_c lib%{name}_c%{so_ver} %define shlib_c lib%{name}_c%{so_ver}
%define prj_name OpenVINO %define prj_name OpenVINO
Name: openvino Name: openvino
Version: 2024.2.0 Version: 2024.3.0
Release: 0 Release: 0
Summary: A toolkit for optimizing and deploying AI inference Summary: A toolkit for optimizing and deploying AI inference
# Let's be safe and put all third party licenses here, no matter that we use specific thirdparty libs or not # Let's be safe and put all third party licenses here, no matter that we use specific thirdparty libs or not
@ -42,6 +43,9 @@ Patch2: openvino-fix-install-paths.patch
Patch3: openvino-ComputeLibrary-include-string.patch Patch3: openvino-ComputeLibrary-include-string.patch
# PATCH-FIX-UPSTREAM openvino-fix-build-sample-path.patch cabelo@opensuse.org -- Fix sample source path in build script # PATCH-FIX-UPSTREAM openvino-fix-build-sample-path.patch cabelo@opensuse.org -- Fix sample source path in build script
Patch4: openvino-fix-build-sample-path.patch Patch4: openvino-fix-build-sample-path.patch
# PATCH-FIX-UPSTREAM openvino-remove-npu-compile-tool.patch cabelo@opensuse.org -- Remove NPU Compile Tool
Patch5: openvino-remove-npu-compile-tool.patch
BuildRequires: ade-devel BuildRequires: ade-devel
BuildRequires: cmake BuildRequires: cmake
BuildRequires: fdupes BuildRequires: fdupes
@ -83,11 +87,8 @@ OpenVINO is an open-source toolkit for optimizing and deploying AI inference.
## Main shared libs and devel pkg ## ## Main shared libs and devel pkg ##
# #
%package -n %{shlib} %package -n %{shlib}
Summary: Shared library for OpenVINO toolkit Summary: Shared library for OpenVINO toolkit
@ -98,10 +99,7 @@ This package provides the shared library for OpenVINO.
# #
%package -n %{shlib_c} %package -n %{shlib_c}
Summary: Shared C library for OpenVINO toolkit Summary: Shared C library for OpenVINO toolkit
@ -110,10 +108,7 @@ This package provides the C library for OpenVINO.
# #
%package -n %{name}-devel %package -n %{name}-devel
Summary: Headers and sources for OpenVINO toolkit Summary: Headers and sources for OpenVINO toolkit
Requires: %{shlib_c} = %{version} Requires: %{shlib_c} = %{version}
@ -149,11 +144,8 @@ OpenVINO.
## Plugins ## ## Plugins ##
# #
%package -n %{name}-arm-cpu-plugin %package -n %{name}-arm-cpu-plugin
Summary: Intel CPU plugin for OpenVINO toolkit Summary: Intel CPU plugin for OpenVINO toolkit
@ -163,11 +155,8 @@ OpenVINO is an open-source toolkit for optimizing and deploying AI inference.
This package provides the ARM CPU plugin for OpenVINO on %{arm64} archs. This package provides the ARM CPU plugin for OpenVINO on %{arm64} archs.
# #
%package -n %{name}-riscv-cpu-plugin %package -n %{name}-riscv-cpu-plugin
Summary: RISC-V CPU plugin for OpenVINO toolkit Summary: RISC-V CPU plugin for OpenVINO toolkit
@ -177,9 +166,8 @@ OpenVINO is an open-source toolkit for optimizing and deploying AI inference.
This package provides the RISC-V CPU plugin for OpenVINO on riscv64 archs. This package provides the RISC-V CPU plugin for OpenVINO on riscv64 archs.
# #
%package -n %{name}-auto-plugin %package -n %{name}-auto-plugin
Summary: Auto / Multi software plugin for OpenVINO toolkit Summary: Auto / Multi software plugin for OpenVINO toolkit
@ -190,10 +178,7 @@ This package provides the Auto / Multi software plugin for OpenVINO.
# #
%package -n %{name}-auto-batch-plugin %package -n %{name}-auto-batch-plugin
Summary: Automatic batch software plugin for OpenVINO toolkit Summary: Automatic batch software plugin for OpenVINO toolkit
@ -204,10 +189,7 @@ This package provides the automatic batch software plugin for OpenVINO.
# #
%package -n %{name}-hetero-plugin %package -n %{name}-hetero-plugin
Summary: Hetero frontend for Intel OpenVINO toolkit Summary: Hetero frontend for Intel OpenVINO toolkit
@ -218,10 +200,7 @@ This package provides the hetero frontend for OpenVINO.
# #
%package -n %{name}-intel-cpu-plugin %package -n %{name}-intel-cpu-plugin
Summary: Intel CPU plugin for OpenVINO toolkit Summary: Intel CPU plugin for OpenVINO toolkit
@ -232,10 +211,7 @@ This package provides the intel CPU plugin for OpenVINO for %{x86_64} archs.
# #
%package -n %{name}-intel-npu-plugin %package -n %{name}-intel-npu-plugin
Summary: Intel NPU plugin for OpenVINO toolkit Summary: Intel NPU plugin for OpenVINO toolkit
@ -247,10 +223,8 @@ This package provides the intel NPU plugin for OpenVINO for %{x86_64} archs.
## Frontend shared libs ## ## Frontend shared libs ##
# #
%package -n lib%{name}_ir_frontend%{so_ver} %package -n lib%{name}_ir_frontend%{so_ver}
Summary: Paddle frontend for Intel OpenVINO toolkit Summary: Paddle frontend for Intel OpenVINO toolkit
@ -261,10 +235,7 @@ This package provides the ir frontend for OpenVINO.
# #
%package -n lib%{name}_onnx_frontend%{so_ver} %package -n lib%{name}_onnx_frontend%{so_ver}
Summary: Onnx frontend for OpenVINO toolkit Summary: Onnx frontend for OpenVINO toolkit
@ -275,10 +246,7 @@ This package provides the onnx frontend for OpenVINO.
# #
%package -n lib%{name}_paddle_frontend%{so_ver} %package -n lib%{name}_paddle_frontend%{so_ver}
Summary: Paddle frontend for Intel OpenVINO toolkit Summary: Paddle frontend for Intel OpenVINO toolkit
@ -289,10 +257,7 @@ This package provides the paddle frontend for OpenVINO.
# #
%package -n lib%{name}_pytorch_frontend%{so_ver} %package -n lib%{name}_pytorch_frontend%{so_ver}
Summary: PyTorch frontend for OpenVINO toolkit Summary: PyTorch frontend for OpenVINO toolkit
@ -303,10 +268,7 @@ This package provides the pytorch frontend for OpenVINO.
# #
%package -n lib%{name}_tensorflow_frontend%{so_ver} %package -n lib%{name}_tensorflow_frontend%{so_ver}
Summary: TensorFlow frontend for OpenVINO toolkit Summary: TensorFlow frontend for OpenVINO toolkit
@ -317,10 +279,7 @@ This package provides the tensorflow frontend for OpenVINO.
# #
%package -n lib%{name}_tensorflow_lite_frontend%{so_ver} %package -n lib%{name}_tensorflow_lite_frontend%{so_ver}
Summary: TensorFlow Lite frontend for OpenVINO toolkit Summary: TensorFlow Lite frontend for OpenVINO toolkit
@ -331,11 +290,8 @@ This package provides the tensorflow-lite frontend for OpenVINO.
## Python module ## ## Python module ##
# #
%package -n python-openvino %package -n python-openvino
Summary: Python module for openVINO toolkit Summary: Python module for openVINO toolkit
Requires: python-numpy < 2 Requires: python-numpy < 2
@ -348,12 +304,8 @@ This package provides a Python module for interfacing with openVINO toolkit.
## Samples/examples ## ## Samples/examples ##
# #
%package -n %{name}-sample %package -n %{name}-sample
Summary: Samples for use with OpenVINO toolkit Summary: Samples for use with OpenVINO toolkit
BuildArch: noarch BuildArch: noarch
@ -364,10 +316,8 @@ OpenVINO is an open-source toolkit for optimizing and deploying AI inference.
This package provides some samples for use with openVINO. This package provides some samples for use with openVINO.
# #
%prep %prep
%autosetup -p1 %autosetup -p1
@ -402,6 +352,8 @@ This package provides some samples for use with openVINO.
export WHEEL_VERSION=%{version} \ export WHEEL_VERSION=%{version} \
BUILD_TYPE=RelWithDebInfo BUILD_TYPE=RelWithDebInfo
%ifarch %{power64} %ifarch %{power64}
# RelWithDebInfo
# Manual hackery for power64 because it not "officially" supported # Manual hackery for power64 because it not "officially" supported
sed -i "s/{ARCH}/%{_arch}/" ../src/bindings/python/wheel/setup.py sed -i "s/{ARCH}/%{_arch}/" ../src/bindings/python/wheel/setup.py
%endif %endif