openvinotoolkit /openvino
OpenVINO™ is an open source toolkit for optimizing and deploying AI inference
★ 12,988⑂ 3,826👁 193⑃ 35,710● 4,150▤ 65
+106
Daily
+1,142
Weekly
12,988
stars
3,826
forks
193
watchers
35,710
prs
4,150
issues
65
releases
README
Open-source software toolkit for optimizing and deploying deep learning models.
Documentation • Blog • Key Features • Tutorials • Integrations • Benchmarks • Generative AI
- Inference Optimization: Boost deep learning performance in computer vision, automatic speech recognition, generative AI, natural language processing with large and small language models, and many other common tasks.
- Flexible Model Support: Use models trained with popular frameworks such as PyTorch, TensorFlow, ONNX, Keras, PaddlePaddle, and JAX/Flax. Directly integrate models built with transformers and diffusers from the Hugging Face Hub using Optimum Intel. Convert and deploy models without original frameworks.
- Broad Platform Compatibility: Reduce resource demands and efficiently deploy on a range of platforms from edge to cloud. OpenVINO™ supports inference on CPU (x86, ARM), GPU (Intel integrated & discrete GPU) and AI accelerators (Intel NPU).
- Community and Ecosystem: Join an active community contributing to the enhancement of deep learning performance across various domains.
Check out the OpenVINO Cheat Sheet and Key Features for a quick reference.
Installation
Get your preferred distribution of OpenVINO or use this command for quick installation:
sh
pip install -U openvino
Verify Installation
After installation, you can verify OpenVINO is installed correctly by running:
python
import openvino as ov
print(ov.__version__)
Check system requirements and supported devices for detailed information.
Tutorials and Examples
OpenVINO Quickstart example will walk you through the basics of deploying your first model.
Learn how to optimize and deploy popular models with the OpenVINO Notebooks 📚:
- Create an LLM-powered Chatbot using OpenVINO
- YOLOv11 Optimization
- Text-to-Image Generation
- Multimodal assistant with LLaVa and OpenVINO
- Automatic speech recognition using Whisper and OpenVINO
Discover more examples in the OpenVINO Samples (Python & C++) and Notebooks (Python).
Here are easy-to-follow code examples demonstrating how to run PyTorch and TensorFlow model inference using OpenVINO:
PyTorch Model
python
import openvino as ov
import torch
import torchvision
load PyTorch model into memory
model = torch.hub.load("pytorch/vision", "shufflenet_v2_x1_0", weights="DEFAULT")
convert the model into OpenVINO model
example = torch.randn(1, 3, 224, 224)
ov_model = ov.convert_model(model, example_input=(example,))
compile the model for CPU device
core = ov.Core()
compiled_model = core.compile_model(ov_model, 'CPU')
infer the model on random data
output = compiled_model({0: example.numpy()})
TensorFlow Model
python
import numpy as np
import openvino as ov
import tensorflow as tf
load TensorFlow model into memory
model = tf.keras.applications.MobileNetV2(weights='imagenet')
convert the model into OpenVINO model
ov_model = ov.convert_model(model)
compile the model for CPU device
core = ov.Core()
compiled_model = core.compile_Top issues
#38425[aw] Detection Runs205 comments · 2026-09-25#29696[Good First Issue]: Support aten::fractional_max_pool2d73 comments · 2025-03-25#18347Extend Python API with a new `model.reshape()` overload65 comments · 2023-07-03#29709[Good First Issue]: Support aten::poisson44 comments · 2025-03-25#22001[Good First Issue]: Extend C API interface40 comments · 2024-01-06#21177[Bug]: Cannot get length of dynamic dimension40 comments · 2023-11-20#29325[Good First Issue]: enable PIR format for PDPD FE37 comments · 2025-03-07#33116[Good First Issue]: Improve logging for OpenVINO torch.compile feature35 comments · 2025-12-03
Discussions
#40404Gemma 4 26B-A4B BITCOS Mixed-Ternary on OpenVINO GPU (64k Lossless FP16 KV): 69.2 tok/s Short, 55.9 tok/s at 32k, 50.7 tok/s at 64k on One Intel Arc A7700 comments · 2026-11-27#40307Qwen3.8-27B INT4 at 11–13 tokens/s on a laptop iGPU (Arc 140T) with MTP + prefix caching0 comments · 2026-11-25#40274Counting source tokens in a padded OpenVINO batch before local translation0 comments · 2026-11-25#40253GSoC 2026 prerequisite task request: aten::sinc (#39970)0 comments · 2026-11-24#40153Hello from a new OpenVINO GenAI contributor0 comments · 2026-11-21#39832Question regarding Anomalib0 comments · 2026-11-13#39819epistemic-guard (MIT): Post-execution agent verification using 4 INT8 encoders on OpenVINO CPU/NPU (0 MiB dGPU VRAM, ~10 ms)0 comments · 2026-11-13#39791Linux desktop apps on the Intel NPU: voice typing, semantic search, face login (Wildcat Lake numbers)0 comments · 2026-11-13
Latest release
2026.4.1 2026.4.1 2026-10-01Summary of major features and improvements
- Improved GroupQueryAttention support for large language models served through the ONNX frontend:
- Added causal-attention and partial rotary-embedding support to GroupQueryAttention, broadening coverage of modern LLMs.
- Extended MatMulNBits with bfloat16 support and reordered weight/scale/zero-point layouts for correct decoding of more quantized models.
- Fixed correctness issues in the sliding-window KV-cache path that could produce wrong results:
- an out-of-bounds ScatterUpdate index that could cause memory corruption or a drive