OpenVINO™ is an open source toolkit for optimizing and deploying AI inference
C++ aicomputer-visiondeep-learningdeploy-aidiffusion-modelsgenerative-aigood-first-issueinferencellm-inferencenatural-language-processingnlpopenvinooptimize-aiperformance-boostrecommendation-systemspeech-recognitionstable-diffusiontransformersyolo
Docs release notes 24.4 mstr (#26665)
Karol Blaszczak311e2b36668e
diff --git a/docs/articles_en/about-openvino/additional-resources/terms-of-use.rst b/docs/articles_en/about-openvino/additional-resources/terms-of-use.rstindex afdf10aef06..06a5c6dbf03 100644--- a/docs/articles_en/about-openvino/additional-resources/terms-of-use.rst+++ b/docs/articles_en/about-openvino/additional-resources/terms-of-use.rst@@ -58,6 +58,4 @@ Your costs and results may vary.No product or component can be absolutely secure.-Intel technologies may require enabled hardware, software or service activation.--OpenCL and the OpenCL logo are trademarks of Apple Inc. used by permission by Khronos.\ No newline at end of file+Intel technologies may require enabled hardware, software or service activation.\ No newline at end of filediff --git a/docs/articles_en/about-openvino/release-notes-openvino.rst b/docs/articles_en/about-openvino/release-notes-openvino.rstindex 2f7cffccd50..c60371119de 100644--- a/docs/articles_en/about-openvino/release-notes-openvino.rst+++ b/docs/articles_en/about-openvino/release-notes-openvino.rst@@ -15,282 +15,540 @@ OpenVINO Release Notes-2024.3 - 31 July 2024+2024.4 - 18 September 2024#############################:doc:`System Requirements <./release-notes-openvino/system-requirements>` | :doc:`Release policy <./release-notes-openvino/release-policy>` | :doc:`Installation Guides <./../get-started/install-openvino>`+What's new-+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++* 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.+ * Support for GLM-4-9B Chat, MiniCPM-1B, Llama 3 and 3.1, Phi-3-Mini, Phi-3-Medium and+ YOLOX-s models.+ * Noteworthy notebooks added: Florence-2, NuExtract-tiny Structure Extraction, Flux.1 Image+ Generation, PixArt-α: Photorealistic Text-to-Image Synthesis, and Phi-3-Vision Visual+ Language Assistant.* 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.+ * OpenVINO™ runtime optimized for Intel® Xe Matrix Extensions (Intel® XMX) systolic arrays on+ built-in GPUs for efficient matrix multiplication resulting in significant LLM performance+ boost with improved 1st and 2nd token latency, as well as a smaller memory footprint on+ Intel® Core™ Ultra Processors (Series 2).+ * Memory sharing enabled for NPUs on Intel® Core™ Ultra Processors (Series 2) for efficient+ pipeline integration without memory copy overhead.+ * Addition of the PagedAttention feature for discrete GPUs* enables a significant boost in+ throughput for parallel inferencing when serving LLMs on Intel® Arc™ Graphics or Intel®+ Data Center GPU Flex Series.* 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.- * Ubuntu 24.04 is now officially supported.+ * Support for Intel® Core Ultra Processors Series 2 (formerly codenamed Lunar Lake) on Windows.+ * OpenVINO™ Model Server now comes with production-quality support for OpenAI-compatible API+ which enables significantly higher throughput for parallel inferencing on Intel® Xeon®+ processors when serving LLMs to many concurrent users.+ * Improved performance and memory consumption with prefix caching, KV cache compression, and+ other optimizations for serving LLMs using OpenVINO™ Model Server.+ * Support for Python 3.12.+ * Support for Red Hat Enterprise Linux (RHEL) version 9.3 - 9.4.+Now deprecated+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++* The following will not be available beyond the 2024.4 OpenVINO version:-OpenVINO™ Runtime-++++++++++++++++++++++++++++++ * The macOS x86_64 debug bins+ * Python 3.8+ * dKMB support-Common------------------------------+* Intel® Streaming SIMD Extensions (Intel® SSE) will be supported in source code form, but not+ enabled in the binary package by default, starting with OpenVINO 2025.0.-* OpenVINO may now be used as a backend for vLLM, offering better CPU performance due to- fully-connected layer optimization, fusing multiple fully-connected layers (MLP), U8 KV cache,- and dynamic split fuse.-* Ubuntu 24.04 is now officially supported, which means OpenVINO is now validated on this- system (preview support).-* The following have been improved:+| Check the `deprecation section <#deprecation-and-support>`__ for more information.- * Increasing support for models like YoloV10 or PixArt-XL-2, thanks to enabling Squeeze and- Concat layers.- * Performance of precision conversion FP16/BF16 -> FP32.+Common++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-AUTO Inference Mode------------------------------+* Encryption and decryption of topology in model cache is now supported with callback functions+ provided by the user (CPU only for now; ov::cache_encryption_callbacks).+* The Ubuntu20 and Ubuntu22 Docker images now include the tokenizers and GenAI CPP modules,+ including pre-installed Python modules, in development versions of these images.+* Python 3.12 is now supported.-* Model cache is now disabled for CPU acceleration even when cache_dir is set, because CPU- acceleration is skipped when the cached model is ready for the target device in the 2nd run.+CPU Device Plugin+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++* The following is now supported:-Heterogeneous Inference Mode-------------------------------* PIPELINE_PARALLEL policy is now available, to inference large models on multiple devices per- available memory size, being especially useful for large language models that don't fit into- one discrete GPU (a preview feature).+ * Tensor parallel feature for multi-socket CPU inference, with performance improvement for+ LLMs with 6B+ parameters (enabled through model_distribution_policy hint configurations).+ * RMSNorm operator, optimized with JIT kernel to improve both the 1st and 2nd token+ performance of LLMs.+* The following has been improved:-CPU Device Plugin------------------------------+ * vLLM support, with PagedAttention exposing attention score as the second output. It can now+ be used in the cache eviction algorithm to improve LLM serving performance.+ * 1st token performance with Llama series of models, with additional CPU operator optimization+ (such as MLP, SDPA) on BF16 precision.+ * Default oneTBB version on Linux is now 2021.13.0, improving overall performance on latest+ Intel XEON platforms.+ * MXFP4 weight compression models (compressing weights to 4-bit with the e2m1 data type+ without a zero point and with 8-bit e8m0 scales) have been optimized for Xeon platforms+ thanks to fullyconnected compressed weight LLM support.-* Fully Connected layers have been optimized together with RoPE optimization with JIT kernel to- improve performance for LLM serving workloads on Intel AMX platforms.-* Dynamic quantization of Fully Connected layers is now enabled by default on Intel AVX2 and- AVX512 platforms, improving out-of-the-box performance for 8bit/4bit weight-compressed LLMs.-* Performance has been improved for:+* The following has been fixed:- * ARM server configuration, due to migration to Intel® oneAPI Threading Building Blocks 2021.13.- * ARM for FP32 and FP16.+ * Memory leak when ov::num_streams value is 0.+ * CPU affinity mask is changed after OpenVINO execution when OpenVINO is compiled+ with -DTHREADING=SEQ.GPU Device Plugin--------------------------------* Performance has been improved for:++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++- * LLMs and Stable Diffusion on discrete GPUs, due to latency decrease, through optimizations- such as Multi-Head Attention (MHA) and oneDNN improvements.- * Whisper models on discrete GPU.+* Dynamic quantization for LLMs is now supported on discrete GPU platforms.+* Stable Diffusion 3 is now supported with good accuracy on Intel GPU platforms.+* Both first and second token latency for LLMs have been improved on Intel GPU platforms.+* The issue of model cache not regenerating with the value changes of+ ``ov::hint::performance_mode`` or ``ov::hint::dynamic_quantization_group_size`` has been+ fixed.NPU Device Plugin--------------------------------* NPU inference of LLMs is now supported with GenAI API (preview feature). To support LLMs on- NPU (requires the most recent version of the NPU driver), additional relevant features are- also part of the NPU plugin now.-* Models bigger than 2GB are now supported on both NPU driver- (Intel® NPU Driver - Windows* 32.0.100.2540) and NPU plugin side (both Linux and Windows).-* Memory optimizations have been implemented:-- * Weights are no longer copied from NPU compiler adapter.- * Improved memory and first-ever inference latency for inference on NPU.++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++* `Remote Tensor API <https://docs.openvino.ai/nightly/openvino-workflow/running-inference/inference-devices-and-modes/npu-device/remote-tensor-api-npu-plugin.html>`__+ is now supported.+* You can now query the available number of tiles (ov::intel_npu::max_tiles) and force a+ specific number of tiles to be used by the model, per inference request+ (ov::intel_npu::tiles). **Note:** ov::intel_npu::tiles overrides the default number of tiles+ selected by the compiler based on performance hints (ov::hint::performance_mode). Any tile+ number other than 1 may be a problem for cross platform compatibility, if not tested+ explicitly versus the max_tiles value.+* You can now bypass the model caching mechanism in the driver+ (ov::intel_npu::bypass_umd_caching). Read more about driver and OpenVINO caching.+* Memory footprint at model execution has been reduced by one blob (compiled model) size.+ For execution, the plugin no longer retrieves the compiled model from the driver, it uses the+ level zero graph handle directly, instead. The compiled model is now retrieved from the driver+ only during the export method.OpenVINO Python API------------------------------++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-* visit_attributes is now available for custom operation implemented in Python, enabling- serialization of operation attributes.-* Python API is now extended with new methods for Model class, e.g. Model.get_sink_index, new- overloads for Model.get_result_index.+* Openvino.Tensor, when created in the shared memory mode, now prevents “garbage collection” of+ numpy memory.+* The ``openvino.experimental`` submodule is now available, providing access to experimental+ functionalities under development.+* New python-exclusive openvino.Model constructors have been added.+* Image padding in PreProcessor is now available.+* OpenVINO Runtime is now compatible with numpy 2.0.OpenVINO Node.js API------------------------------++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-* Tokenizers and StringTensor are now supported for LLM inference.-* Compatibility with electron.js is now restored for desktop application developers.-* Async version of Core.import_model and enhancements for Core.read_model methods are now- available, for more efficient model reading, especially for LLMs.+* The following has been improved-TensorFlow Framework Support-----------------------------------+ * Unit tests for increased efficiency and stability+ * Security updates applied to dependencies-* Models with keras.LSTM operations are now more performant in CPU inference.-* The tensor list initialized with an undefined element shape value is now supported.+* `Electron <https://www.electronjs.org/>`__+ compatibility is now confirmed with new end-to-end tests.+* `New API methods <https://docs.openvino.ai/2024/api/nodejs_api/nodejs_api.html>`__ added.-TensorFlow Lite Framework Support------------------------------------* Constants containing spare tensors are now supported.+TensorFlow Framework Support++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-PyTorch Framework Support------------------------------+* TensorFlow 2.17.0 is now supported.+* JAX 0.4.31 is now supported via a path of jax2tf with native_serialization=False+* `8 NEW* operations <https://github.com/openvinotoolkit/openvino/blob/releases/2024/2/src/frontends/tensorflow/docs/supported_ops.md>`__+ have been added.+* Tensor lists with multiple undefined dimensions in element_shape are now supported, enabling+ support for TF Hub lite0-detection/versions/1 model.-* Setting types/shapes for nested structures (e.g., dictionaries and tuples) is now supported.-* The aten::layer_norm has been updated to support dynamic shape normalization.-* Dynamic shapes support in the FX graph has been improved, benefiting torch.compile and- torch.export based applications, improving performance for gemma and chatglm model- families.-ONNX Framework Support------------------------------+PyTorch Framework Support++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-* More models are now supported:+* Torch 2.4 is now supported.+* Inplace ops are now supported automatically if the regular version is supported.+* Symmetric GPTQ model from Hugging Face will now be automatically converted to the signed type+ (INT4) and zero-points will be removed.- * Models using the new version of the ReduceMean operation (introduced in ONNX opset 18).- * Models using the Multinomial operation (introduced in ONNX opset 7).+ONNX Framework Support++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-OpenVINO Model Server-++++++++++++++++++++++++++++++* ONNX 1.16.0 is now supported+* models with constants/inputs of uint4/int4 types are now supported.+* 4 NEW operations have been added.-* The following has been improved in OpenAI API text generation:- * Performance results, due to OpenVINO Runtime and sampling algorithms.- * Reporting generation engine metrics in the logs.- * Extra sampling parameters added.- * Request parameters affecting memory consumption now have value restrictions, within a- configurable range.+OpenVINO Model Server++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-* The following has been fixed in OpenAI API text generation:+* OpenAI API for text generation is now officially supported and recommended for production+ usage. It comes with the following new features:- * Generating streamer responses impacting incomplete utf-8 sequences.- * A sporadic generation hang.- * Incompatibility of the last response from the ``completions`` endpoint stream with the vLLM- benchmarking script.+ * Prefix caching feature, caching the prompt evaluation to speed up text generation.+ * Ability to compress the KV Cache to a lower precision, reducing memory consumption without+ a significant loss of accuracy.+ * ``stop`` sampling parameters, to define a sequence that stops text generation.+ * ``logprobs`` sampling parameter, returning the probabilities to returned tokens, which can+ be used to calculate the model perplexity metric, among other things.+ * Generic metrics related to execution of the MediaPipe graph that can be used for autoscaling+ based on the current load and the level of concurrency.+ * `Demo of text generation horizontal scalability <https://github.com/openvinotoolkit/model_server/tree/main/demos/continuous_batching/scaling>`__+ using basic docker containers and Kubernetes.+ * Automatic cancelling of text generation for disconnected clients.+ * Non-UTF-8 responses from the model can be now automatically changed to Unicode replacement+ characters, due to their configurable handling.+ * Support for Llama3.1 models.+* The following has been improved:+ * Handling of model templates without bos_token is now fixed.+ * Performance of the multinomial sampling algorithm.+ * ``finish_reason`` in the response correctly determines reaching max_tokens (length) and+ completing the sequence (stop).+ * Security and stability.Neural Network Compression Framework-+++++++++++++++++++++++++++++++++++++--* The `MXFP4 <https://www.opencompute.org/documents/ocp-microscaling-formats-mx-v1-0-spec-final-pdf>`__- data format is now supported in the Weight Compression method, compressing weights to 4-bit- with the e2m1 data type without a zero point and with 8-bit e8m0 scales. This feature- is enabled by setting ``mode=CompressWeightsMode.E2M1`` in nncf.compress_weights().-* The AWQ algorithm in the Weight Compression method has been extended for patterns:- Act->MatMul and Act->MUltiply->MatMul to cover the Phi family models.-* The representation of symmetrically quantized weights has been updated to a signed data type- with no zero point. This allows NPU to support compressed LLMs with the symmetric mode.-* BF16 models in Post-Training Quantization are now supported; nncf.quantize().-* `Activation Sparsity <https://arxiv.org/abs/2310.17157>`__ (Contextual Sparsity) algorithm in- the Weight Compression method is now supported (preview), speeding up LLM inference.- The algorithm is enabled by setting the ``target_sparsity_by_scope`` option in- nncf.compress_weights() and supports Torch models only.++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++* The LoRA Correction algorithm is now included in the Weight Compression method, improving the+ accuracy of INT4-compressed models on top of other data-aware algorithms, such as AWQ and+ Scale Estimation. To enable it, set the lora_correction option to True in+ nncf.compress_weights().+* The GPTQ compression algorithm can now be combined with the Scale Estimation algorithm,+ making it possible to run GPTQ, AWQ, and Scale Estimation together, for the optimum-accuracy+ INT4-compressed models.+* INT8 quantization of LSTMSequence and Convolution operations for constant inputs is now+ enabled, resulting in better performance and reduced model size.OpenVINO Tokenizers-+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-* The following is now supported:+* Split and BPE tokenization operations have been reimplemented, resulting in improved+ tokenization accuracy and performance.+* New building options are now available, offering up to a 12x reduction in binary size.+* An operation is now available to validate and skip/replace model-generated non-Unicode+ bytecode sequences during detokenization.- * Full Regex syntax with the PCRE2 library for text normalization and splitting.- * Left padding side for all tokenizer types.+OpenVINO.GenAI++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-* GLM-4 tokenizer support, as well as detokenization support for Phi-3 and Gemma have been- improved.+* New samples and pipelines are now available:+ * An example IterableStreamer implementation in+ `multinomial_causal_lm/python sample <https://github.com/openvinotoolkit/openvino.genai/tree/master/samples/python/multinomial_causal_lm>`__+* GenAI compilation is now available as part of OpenVINO via the –DOPENVINO_EXTRA_MODULES CMake+ option.Other Changes and Known Issues-+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++Jupyter Notebooks------------------------------* `Stable Diffusion V3 <https://openvinotoolkit.github.io/openvino_notebooks/?search=Image+generation+with+Stable+Diffusion+v3+and+OpenVINO>`__-* `Depth Anything V2 <https://openvinotoolkit.github.io/openvino_notebooks/?search=Depth+estimation+with+DepthAnythingV2+and+OpenVINO>`__-* `RAG System with LLamaIndex <https://openvinotoolkit.github.io/openvino_notebooks/?search=Create+a+RAG+system+using+OpenVINO+and+LlamaIndex>`__-* `Image Synthesis with Pixart <https://openvinotoolkit.github.io/openvino_notebooks/?search=PixArt-%CE%B1%3A+Fast+Training+of+Diffusion+Transformer+for+Photorealistic+Text-to-Image+Synthesis+with+OpenVINO>`__-* `Function calling LLM agent with Qwen-Agent <https://openvinotoolkit.github.io/openvino_notebooks/?search=Create+Function-calling+Agent+using+OpenVINO+and+Qwen-Agent>`__-* `Jina-CLIP <https://openvinotoolkit.github.io/openvino_notebooks/?search=CLIP+model+with+Jina+CLIP+and+OpenVINO>`__-* `MiniCPM -V2 Visual Language Assistant <https://openvinotoolkit.github.io/openvino_notebooks/?search=Visual-language+assistant+with+MiniCPM-V2+and+OpenVINO>`__-* `OpenVINO XAI: first steps <https://openvinotoolkit.github.io/openvino_notebooks/?search=eXplainable+AI+%28XAI%29+for+OpenVINO%E2%84%A2+IR+Models>`__-* `OpenVINO XAI: deep dive <https://openvinotoolkit.github.io/openvino_notebooks/?search=OpenVINO%E2%84%A2+Explainable+AI+Toolkit%3A+Deep+Dive+notebook>`__-* `LLM Agent with LLamaIndex <https://openvinotoolkit.github.io/openvino_notebooks/?search=Create+an+Agentic+RAG+using+OpenVINO+and+LlamaIndex>`__-* `Stable Audio <https://openvinotoolkit.github.io/openvino_notebooks/?search=stable+audio>`__-* `Phi-3-vision <https://openvinotoolkit.github.io/openvino_notebooks/?search=Phi3-Vision>`__+* `Florence-2 <https://openvinotoolkit.github.io/openvino_notebooks/?search=Florence-2%3A+Open+Source+Vision+Foundation+Model>`__+* `NuExtract: Structure Extraction <https://openvinotoolkit.github.io/openvino_notebooks/?search=Structure+Extraction+with+NuExtract+and+OpenVINO>`__+* `Flux.1 Image Generation <https://openvinotoolkit.github.io/openvino_notebooks/?search=Image+generation+with+Flux.1+and+OpenVINO>`__+* `PixArt-α: Photorealistic Text-to-Image Synthesis <https://openvinotoolkit.github.io/openvino_notebooks/?search=PixArt-%CE%B1%3A+Fast+Training+of+Diffusion+Transformer+for+Photorealistic+Text-to-Image+Synthesis+with+OpenVINO>`__+* `Phi-3-Vision Visual Language Assistant <https://openvinotoolkit.github.io/openvino_notebooks/?search=Visual-language+assistant+with+Phi3-Vision+and+OpenVINO>`__+* `MiniCPMV2.6 <https://openvinotoolkit.github.io/openvino_notebooks/?search=Visual-language+assistant+with+MiniCPM-V2+and+OpenVINO>`__+* `InternVL2 <https://openvinotoolkit.github.io/openvino_notebooks/?search=Visual-language+assistant+with+InternVL2+and+OpenVINO>`__+* The list of supported models in+ `LLM chatbot <https://openvinotoolkit.github.io/openvino_notebooks/?search=Create+an+LLM-powered+Chatbot+using+OpenVINO+Generate+API>`__+ now includes Phi3.5, Gemma2 support-OpenVINO.GenAI+Known Issues------------------------------* Performance counters have been added.-* Preview support for NPU is now available.+| **Component: CPU**+| ID: CVS-150542, CVS-145996+| Description:+| The upgrade of default oneTBB on Linux platforms to 2021.13.0 improves overall+ performance on latest Intel XEON platform but causes regression in some cases. Limit the+ threads usage of postprocessing done by Torch can mitigate the regression (For example:+ torch.set_num_threads(n), n can be 1, beam search number, prompt batch size or other+ numbers).++| **Component: OpenVINO.Genai**+| ID: 149694+| Description:+| Passing openvino.Tensor instance to LLMPipleine triggers incompatible arguments error if+ OpenVINO and GenAI are installed from PyPI on Windows.-Hugging Face------------------------------+| **Component: OpenVINO.Genai**+| ID: 148308+| Description:+| OpenVINO.GenAI archive doesn't have debug libraries for OpenVINO Tokenizers and+ OpenVINO.GenAI.-OpenVINO pre-optimized models are now available on Hugging Face:-* Phi-3-mini-128k-instruct (- `INT4 <https://huggingface.co/OpenVINO/Phi-3-mini-128k-instruct-int4-ov>`__,- `INT8 <https://huggingface.co/OpenVINO/Phi-3-mini-128k-instruct-int8-ov>`__,- `FP16 <https://huggingface.co/OpenVINO/Phi-3-mini-128k-instruct-fp16-ov>`__)-* Mistral-7B-Instruct-v0.2 (- `INT4 <https://huggingface.co/OpenVINO/Mistral-7B-Instruct-v0.2-int4-ov>`__,- `INT8 <https://huggingface.co/OpenVINO/Mistral-7B-Instruct-v0.2-int8-ov>`__,- `FP16 <https://huggingface.co/OpenVINO/Mistral-7B-Instruct-v0.2-fp16-ov>`__)-* Mixtral-8x7b-Instruct-v0.1 (- `INT4 <https://huggingface.co/OpenVINO/mixtral-8x7b-instruct-v0.1-int4-ov>`__,- `INT8 <https://huggingface.co/OpenVINO/Mixtral-8x7B-Instruct-v0.1-int8-ov>`__)-* LCM_Dreamshaper_v7 (- `INT8 <https://huggingface.co/OpenVINO/LCM_Dreamshaper_v7-int8-ov>`__,- `FP16 <https://huggingface.co/OpenVINO/LCM_Dreamshaper_v7-fp16-ov>`__)-* starcoder2-7b (- `INT4 <https://huggingface.co/OpenVINO/starcoder2-7b-int4-ov>`__,- `INT8 <https://huggingface.co/OpenVINO/starcoder2-7b-int8-ov>`__,- `FP16 <https://huggingface.co/OpenVINO/starcoder2-7b-fp16-ov>`__)-* For all the models see `HuggingFace <https://huggingface.co/OpenVINO>`__+Previous 2024 releases+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++.. +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++.. ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-Known Issues------------------------------+.. dropdown:: 2024.3 - 31 July 2024+ :animate: fade-in-slide-down+ :color: secondary-| **Component: OpenVINO.GenAI**-| ID: 148308-| Description:-| The OpenVINO.GenAI archive distribution doesn't include debug libraries for OpenVINO- Tokenizers and OpenVINO.GenAI.+ **What's new**-| **Component: GPU**-| ID: 146283-| Description:-| For some LLM models, longer prompts, such as several thousand tokens, may result in- decreased accuracy on the GPU plugin.-| Workaround:-| It is recommended to run the model in the FP32 precision to avoid the issue.+ * 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.+ * Ubuntu 24.04 is now officially supported.-Previous 2024 releases-++++++++++++++++++++++++++++++ **OpenVINO™ Runtime**++ *Common*++ * OpenVINO may now be used as a backend for vLLM, offering better CPU performance due to+ fully-connected layer optimization, fusing multiple fully-connected layers (MLP), U8 KV cache,+ and dynamic split fuse.+ * Ubuntu 24.04 is now officially supported, which means OpenVINO is now validated on this+ system (preview support).+ * The following have been improved:++ * Increasing support for models like YoloV10 or PixArt-XL-2, thanks to enabling Squeeze and+ Concat layers.+ * Performance of precision conversion FP16/BF16 -> FP32.++ *AUTO Inference Mode*++ * Model cache is now disabled for CPU acceleration even when cache_dir is set, because CPU+ acceleration is skipped when the cached model is ready for the target device in the 2nd run.++ *Heterogeneous Inference Mode*++ * PIPELINE_PARALLEL policy is now available, to inference large models on multiple devices per+ available memory size, being especially useful for large language models that don't fit into+ one discrete GPU (a preview feature).++ *CPU Device Plugin*++ * Fully Connected layers have been optimized together with RoPE optimization with JIT kernel to+ improve performance for LLM serving workloads on Intel AMX platforms.+ * Dynamic quantization of Fully Connected layers is now enabled by default on Intel AVX2 and+ AVX512 platforms, improving out-of-the-box performance for 8bit/4bit weight-compressed LLMs.+ * Performance has been improved for:++ * ARM server configuration, due to migration to Intel® oneAPI Threading Building Blocks 2021.13.+ * ARM for FP32 and FP16.++ *GPU Device Plugin*++ * Performance has been improved for:++ * LLMs and Stable Diffusion on discrete GPUs, due to latency decrease, through optimizations+ such as Multi-Head Attention (MHA) and oneDNN improvements.+ * Whisper models on discrete GPU.+++ *NPU Device Plugin*++ * NPU inference of LLMs is now supported with GenAI API (preview feature). To support LLMs on+ NPU (requires the most recent version of the NPU driver), additional relevant features are+ also part of the NPU plugin now.+ * Models bigger than 2GB are now supported on both NPU driver+ (Intel® NPU Driver - Windows* 32.0.100.2540) and NPU plugin side (both Linux and Windows).+ * Memory optimizations have been implemented:++ * Weights are no longer copied from NPU compiler adapter.+ * Improved memory and first-ever inference latency for inference on NPU.++ *OpenVINO Python API*++ * visit_attributes is now available for custom operation implemented in Python, enabling+ serialization of operation attributes.+ * Python API is now extended with new methods for Model class, e.g. Model.get_sink_index, new+ overloads for Model.get_result_index.++ *OpenVINO Node.js API*++ * Tokenizers and StringTensor are now supported for LLM inference.+ * Compatibility with electron.js is now restored for desktop application developers.+ * Async version of Core.import_model and enhancements for Core.read_model methods are now+ available, for more efficient model reading, especially for LLMs.++ *TensorFlow Framework Support*++ * Models with keras.LSTM operations are now more performant in CPU inference.+ * The tensor list initialized with an undefined element shape value is now supported.++ *TensorFlow Lite Framework Support*++ * Constants containing spare tensors are now supported.++ *PyTorch Framework Support*++ * Setting types/shapes for nested structures (e.g., dictionaries and tuples) is now supported.+ * The aten::layer_norm has been updated to support dynamic shape normalization.+ * Dynamic shapes support in the FX graph has been improved, benefiting torch.compile and+ torch.export based applications, improving performance for gemma and chatglm model+ families.++ *ONNX Framework Support*++ * More models are now supported:++ * Models using the new version of the ReduceMean operation (introduced in ONNX opset 18).+ * Models using the Multinomial operation (introduced in ONNX opset 7).+++ **OpenVINO Model Server**++ * The following has been improved in OpenAI API text generation:++ * Performance results, due to OpenVINO Runtime and sampling algorithms.+ * Reporting generation engine metrics in the logs.+ * Extra sampling parameters added.+ * Request parameters affecting memory consumption now have value restrictions, within a+ configurable range.++ * The following has been fixed in OpenAI API text generation:++ * Generating streamer responses impacting incomplete utf-8 sequences.+ * A sporadic generation hang.+ * Incompatibility of the last response from the ``completions`` endpoint stream with the vLLM+ benchmarking script.++ **Neural Network Compression Framework**++ * The `MXFP4 <https://www.opencompute.org/documents/ocp-microscaling-formats-mx-v1-0-spec-final-pdf>`__+ data format is now supported in the Weight Compression method, compressing weights to 4-bit+ with the e2m1 data type without a zero point and with 8-bit e8m0 scales. This feature+ is enabled by setting ``mode=CompressWeightsMode.E2M1`` in nncf.compress_weights().+ * The AWQ algorithm in the Weight Compression method has been extended for patterns:+ Act->MatMul and Act->MUltiply->MatMul to cover the Phi family models.+ * The representation of symmetrically quantized weights has been updated to a signed data type+ with no zero point. This allows NPU to support compressed LLMs with the symmetric mode.+ * BF16 models in Post-Training Quantization are now supported; nncf.quantize().+ * `Activation Sparsity <https://arxiv.org/abs/2310.17157>`__ (Contextual Sparsity) algorithm in+ the Weight Compression method is now supported (preview), speeding up LLM inference.+ The algorithm is enabled by setting the ``target_sparsity_by_scope`` option in+ nncf.compress_weights() and supports Torch models only.+++ **OpenVINO Tokenizers**++ * The following is now supported:++ * Full Regex syntax with the PCRE2 library for text normalization and splitting.+ * Left padding side for all tokenizer types.++ * GLM-4 tokenizer support, as well as detokenization support for Phi-3 and Gemma have been+ improved.++++++ **Other Changes and Known Issues**++ *Jupyter Notebooks*++ * `Stable Diffusion V3 <https://openvinotoolkit.github.io/openvino_notebooks/?search=Image+generation+with+Stable+Diffusion+v3+and+OpenVINO>`__+ * `Depth Anything V2 <https://openvinotoolkit.github.io/openvino_notebooks/?search=Depth+estimation+with+DepthAnythingV2+and+OpenVINO>`__+ * `RAG System with LLamaIndex <https://openvinotoolkit.github.io/openvino_notebooks/?search=Create+a+RAG+system+using+OpenVINO+and+LlamaIndex>`__+ * `Image Synthesis with Pixart <https://openvinotoolkit.github.io/openvino_notebooks/?search=PixArt-%CE%B1%3A+Fast+Training+of+Diffusion+Transformer+for+Photorealistic+Text-to-Image+Synthesis+with+OpenVINO>`__+ * `Function calling LLM agent with Qwen-Agent <https://openvinotoolkit.github.io/openvino_notebooks/?search=Create+Function-calling+Agent+using+OpenVINO+and+Qwen-Agent>`__+ * `Jina-CLIP <https://openvinotoolkit.github.io/openvino_notebooks/?search=CLIP+model+with+Jina+CLIP+and+OpenVINO>`__+ * `MiniCPM -V2 Visual Language Assistant <https://openvinotoolkit.github.io/openvino_notebooks/?search=Visual-language+assistant+with+MiniCPM-V2+and+OpenVINO>`__+ * `OpenVINO XAI: first steps <https://openvinotoolkit.github.io/openvino_notebooks/?search=eXplainable+AI+%28XAI%29+for+OpenVINO%E2%84%A2+IR+Models>`__+ * `OpenVINO XAI: deep dive <https://openvinotoolkit.github.io/openvino_notebooks/?search=OpenVINO%E2%84%A2+Explainable+AI+Toolkit%3A+Deep+Dive+notebook>`__+ * `LLM Agent with LLamaIndex <https://openvinotoolkit.github.io/openvino_notebooks/?search=Create+an+Agentic+RAG+using+OpenVINO+and+LlamaIndex>`__+ * `Stable Audio <https://openvinotoolkit.github.io/openvino_notebooks/?search=stable+audio>`__+ * `Phi-3-vision <https://openvinotoolkit.github.io/openvino_notebooks/?search=Phi3-Vision>`__++ *OpenVINO.GenAI*++ * Performance counters have been added.+ * Preview support for NPU is now available.++ *Hugging Face*++ OpenVINO pre-optimized models are now available on Hugging Face:++ * Phi-3-mini-128k-instruct (+ `INT4 <https://huggingface.co/OpenVINO/Phi-3-mini-128k-instruct-int4-ov>`__,+ `INT8 <https://huggingface.co/OpenVINO/Phi-3-mini-128k-instruct-int8-ov>`__,+ `FP16 <https://huggingface.co/OpenVINO/Phi-3-mini-128k-instruct-fp16-ov>`__)+ * Mistral-7B-Instruct-v0.2 (+ `INT4 <https://huggingface.co/OpenVINO/Mistral-7B-Instruct-v0.2-int4-ov>`__,+ `INT8 <https://huggingface.co/OpenVINO/Mistral-7B-Instruct-v0.2-int8-ov>`__,+ `FP16 <https://huggingface.co/OpenVINO/Mistral-7B-Instruct-v0.2-fp16-ov>`__)+ * Mixtral-8x7b-Instruct-v0.1 (+ `INT4 <https://huggingface.co/OpenVINO/mixtral-8x7b-instruct-v0.1-int4-ov>`__,+ `INT8 <https://huggingface.co/OpenVINO/Mixtral-8x7B-Instruct-v0.1-int8-ov>`__)+ * LCM_Dreamshaper_v7 (+ `INT8 <https://huggingface.co/OpenVINO/LCM_Dreamshaper_v7-int8-ov>`__,+ `FP16 <https://huggingface.co/OpenVINO/LCM_Dreamshaper_v7-fp16-ov>`__)+ * starcoder2-7b (+ `INT4 <https://huggingface.co/OpenVINO/starcoder2-7b-int4-ov>`__,+ `INT8 <https://huggingface.co/OpenVINO/starcoder2-7b-int8-ov>`__,+ `FP16 <https://huggingface.co/OpenVINO/starcoder2-7b-fp16-ov>`__)+ * For all the models see `HuggingFace <https://huggingface.co/OpenVINO>`__+++++ *Known Issues*++ | **Component: OpenVINO.GenAI**+ | ID: 148308+ | Description:+ | The OpenVINO.GenAI archive distribution doesn't include debug libraries for OpenVINO+ Tokenizers and OpenVINO.GenAI.++ | **Component: GPU**+ | ID: 146283+ | Description:+ | For some LLM models, longer prompts, such as several thousand tokens, may result in+ decreased accuracy on the GPU plugin.+ | Workaround:+ | It is recommended to run the model in the FP32 precision to avoid the issue.++++++.. +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++.. ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++.. dropdown:: 2024.2 - 17 June 2024:animate: fade-in-slide-down@@ -522,6 +780,8 @@ Previous 2024 releases+.. +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++.. ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++.. dropdown:: 2024.1 - 24 April 2024:animate: fade-in-slide-down@@ -1041,8 +1301,18 @@ Discontinued in 2024Deprecated and to be removed in the future--------------------------------------------+* The macOS x86_64 debug bins will no longer be provided with the OpenVINO toolkit, starting+ with OpenVINO 2024.5.+* Python 3.8 is now considered deprecated, and it will not be available beyond the 2024.4+ OpenVINO version.+* dKMB support is now considered deprecated and will be fully removed with OpenVINO 2024.5+* Intel® Streaming SIMD Extensions (Intel® SSE) will be supported in source code form, but not+ enabled in the binary package by default, starting with OpenVINO 2025.0+* The openvino-nightly PyPI module will soon be discontinued. End-users should proceed with the+ Simple PyPI nightly repo instead. More information in+ `Release Policy <https://docs.openvino.ai/2024/about-openvino/release-notes-openvino/release-policy.html#nightly-releases>`__.* The OpenVINO™ Development Tools package (pip install openvino-dev) will be removed from- installation options and distribution channels beginning with OpenVINO 2025.+ installation options and distribution channels beginning with OpenVINO 2025.0.* Model Optimizer will be discontinued with OpenVINO 2025.0. Consider using the:doc:`new conversion methods <../openvino-workflow/model-preparation/convert-model-to-ir>`instead. For more details, see the@@ -1165,26 +1435,20 @@ are available on request.Intel technologies' features and benefits depend on system configuration and may requireenabled hardware, software or service activation. Learn more at-`http://www.intel.com/ <http://www.intel.com/>`__+`www.intel.com <http://www.intel.com/>`__or from the OEM or retailer.No computer system can be absolutely secure.-Intel, Atom, Arria, Core, Movidius, Xeon, OpenVINO, and the Intel logo are trademarks+Intel, Atom, Core, Xeon, OpenVINO, and the Intel logo are trademarksof Intel Corporation in the U.S. and/or other countries.-OpenCL and the OpenCL logo are trademarks of Apple Inc. used by permission by Khronos-Other names and brands may be claimed as the property of others.Copyright © 2024, Intel Corporation. All rights reserved.For more complete information about compiler optimizations, see our Optimization Notice.-Performance varies by use, configuration and other factors. Learn more at-`www.Intel.com/PerformanceIndex <www.Intel.com/PerformanceIndex>`__.---+Performance varies by use, configuration and other factors.diff --git a/docs/articles_en/about-openvino/release-notes-openvino/system-requirements.rst b/docs/articles_en/about-openvino/release-notes-openvino/system-requirements.rstindex a224bf39427..d44e57bf721 100644--- a/docs/articles_en/about-openvino/release-notes-openvino/system-requirements.rst+++ b/docs/articles_en/about-openvino/release-notes-openvino/system-requirements.rst@@ -24,7 +24,7 @@ CPU* Intel Atom® processor with Intel® SSE4.2 support* Intel® Pentium® processor N4200/5, N3350/5, N3450/5 with Intel® HD Graphics* 6th - 14th generation Intel® Core™ processors- * Intel® Core™ Ultra (codename Meteor Lake)+ * Intel® Core™ Ultra Series 1 and Series 2 (Windows only)* 1st - 5th generation Intel® Xeon® Scalable Processors* ARM CPUs with armv7a and higher, ARM64 CPUs with arm64-v8a and higher, Apple® Mac with Apple silicon@@ -33,12 +33,11 @@ CPU* Ubuntu 24.04 long-term support (LTS), 64-bit (Kernel 6.8+) (preview support)* Ubuntu 22.04 long-term support (LTS), 64-bit (Kernel 5.15+)* Ubuntu 20.04 long-term support (LTS), 64-bit (Kernel 5.15+)- * Ubuntu 18.04 long-term support (LTS) with limitations, 64-bit (Kernel 5.4+)* Windows 10, 64-bit* Windows 11, 64-bit* macOS 12.6 and above, 64-bit and ARM64* CentOS 7- * Red Hat Enterprise Linux 8, 64-bit+ * Red Hat Enterprise Linux 9.3-9.4, 64-bit* openSUSE Tumbleweed, 64-bit and ARM64* Ubuntu 20.04 ARM64@@ -60,13 +59,13 @@ GPU.. tab-item:: Supported Operating Systems- * Ubuntu 24.04 long-term support (LTS), 64-bit (preview support)+ * Ubuntu 24.04 long-term support (LTS), 64-bit* Ubuntu 22.04 long-term support (LTS), 64-bit* Ubuntu 20.04 long-term support (LTS), 64-bit* Windows 10, 64-bit* Windows 11, 64-bit* CentOS 7- * Red Hat Enterprise Linux 8, 64-bit+ * Red Hat Enterprise Linux 9.3-9.4, 64-bit.. tab-item:: Additional considerations@@ -78,10 +77,8 @@ GPU* While this release of OpenVINO supports Ubuntu 20.04, the driver stackfor Intel discrete graphic cards does not fully support Ubuntu 20.04.We recommend using Ubuntu 22.04 and later when executing on discrete graphics.- * The following minimum (i.e., used for old hardware) OpenCL™ driver's versions- were used during OpenVINO internal validation: 22.43 for Ubuntu 22.04, 21.48- for Ubuntu 20.04 and 21.49 for Red Hat Enterprise Linux 8 (some hardware may require- higher versions of drivers).+ * OpenCL™ driver versions required may vary, depending on hardware and operating Systems+ used. Consult driver documentation to select the best version for your setup.Intel® Neural Processing Unit################################@@ -110,14 +107,14 @@ Operating systems and developer environment.. tab-item:: Linux OS- * Ubuntu 24.04 with Linux kernel 6.8+ (preview support)+ * Ubuntu 24.04 with Linux kernel 6.8+* Ubuntu 22.04 with Linux kernel 5.15+* Ubuntu 20.04 with Linux kernel 5.15+- * Red Hat Enterprise Linux 8 with Linux kernel 5.4+ * Red Hat Enterprise Linux 9.3-9.4 with Linux kernel 5.4Build environment components:- * Python* 3.8-3.11+ * Python 3.8-3.12* `Intel® HD Graphics Driver <https://downloadcenter.intel.com/product/80939/Graphics-Drivers>`__required for inference on GPU* GNU Compiler Collection and CMake are needed for building from source:@@ -135,7 +132,7 @@ Operating systems and developer environment* `Microsoft Visual Studio 2019 <https://visualstudio.microsoft.com/vs/older-downloads/>`__* `CMake <https://cmake.org/download/>`__ 3.16 or higher- * `Python <http://www.python.org/downloads/>`__ 3.8-3.11+ * `Python <http://www.python.org/downloads/>`__ 3.8-3.12* `Intel® HD Graphics Driver <https://downloadcenter.intel.com/product/80939/Graphics-Drivers>`__required for inference on GPU@@ -147,13 +144,15 @@ Operating systems and developer environment* `Xcode <https://developer.apple.com/xcode/>`__ 10.3* `CMake <https://cmake.org/download/>`__ 3.13 or higher- * `Python <http://www.python.org/downloads/>`__ 3.8-3.11+ * `Python <http://www.python.org/downloads/>`__ 3.8-3.12- .. tab-item:: DL frameworks versions:+ .. tab-item:: DL framework versions:- * TensorFlow 1.15.5, 2.16.1- * ONNX 1.15+ * TensorFlow 1.15.5 - 2.17+ * PyTorch 2.4+ * ONNX 1.16* PaddlePaddle 2.6+ * JAX 0.4.31 (via a path of jax2tf with native_serialization=False)This package can be installed on other versions of DL Frameworksbut only the versions specified here are fully validated.@@ -165,45 +164,5 @@ Operating systems and developer environment--Legal Information-+++++++++++++++++++++++++++++++++++++++++++++--You may not use or facilitate the use of this document in connection with any infringement-or other legal analysis concerning Intel products described herein.--You agree to grant Intel a non-exclusive, royalty-free license to any patent claim-thereafter drafted which includes subject matter disclosed herein.--No license (express or implied, by estoppel or otherwise) to any intellectual property-rights is granted by this document.--All information provided here is subject to change without notice. Contact your Intel-representative to obtain the latest Intel product specifications and roadmaps.--The products described may contain design defects or errors known as errata which may-cause the product to deviate from published specifications. Current characterized errata-are available on request.--Intel technologies' features and benefits depend on system configuration and may require-enabled hardware, software or service activation. Learn more at-`http://www.intel.com/ <http://www.intel.com/>`__-or from the OEM or retailer.--No computer system can be absolutely secure.--Intel, Atom, Arria, Core, Movidius, Xeon, OpenVINO, and the Intel logo are trademarks-of Intel Corporation in the U.S. and/or other countries.--OpenCL and the OpenCL logo are trademarks of Apple Inc. used by permission by Khronos--Other names and brands may be claimed as the property of others.--Copyright © 2024, Intel Corporation. All rights reserved.--For more complete information about compiler optimizations, see our Optimization Notice.--Performance varies by use, configuration and other factors. Learn more at-`www.Intel.com/PerformanceIndex <www.Intel.com/PerformanceIndex>`__.--+The claims stated here may not apply to all use cases and setups. See+:doc:`Legal notices and terms of use <../additional-resources/terms-of-use>` for more information.\ No newline at end of filediff --git a/docs/sphinx_setup/api/api_reference.rst b/docs/sphinx_setup/api/api_reference.rstindex ac59abca93d..acf816364ca 100644--- a/docs/sphinx_setup/api/api_reference.rst+++ b/docs/sphinx_setup/api/api_reference.rst@@ -4,7 +4,8 @@ API Reference-------------.. meta::- :description: Explore the features of Python, C, C++ APIs in Intel® Distribution of OpenVINO™ Toolkit.+ :description: Explore the features of Python, C, C++, and Node.js APIs in the Intel®+ Distribution of OpenVINO™ Toolkit... toctree:::maxdepth: 2diff --git a/docs/sphinx_setup/api/nodejs_api/nodejs_api.rst b/docs/sphinx_setup/api/nodejs_api/nodejs_api.rstindex f71424d0529..995ceb3d29c 100644--- a/docs/sphinx_setup/api/nodejs_api/nodejs_api.rst+++ b/docs/sphinx_setup/api/nodejs_api/nodejs_api.rst@@ -37,6 +37,18 @@ For more details, refer to the<https://github.com/openvinotoolkit/openvino/blob/master/src/bindings/js/docs/README.md#openvino-node-package-developer-documentation>`__++API Development+#####################++OpenVINO 2024.4 has introduced the following methods:++- Model.clone()+- Model.getoutputelementtype()+- CompiledModel getProperty()+- CompiledModel.setProperty()++Additional Resources#####################