# OpenVINO

**OpenVINO**（Open Visual Inference and Neural Network Optimization，开放视觉推理与神经网络优化）是由英特尔开发的开源工具包，用于在英特尔硬件上优化和部署深度学习模型推理，支持的硬件包括CPU（x86与ARM）、英特尔集成显卡与独立显卡，以及英特尔神经处理单元（NPU）。<sup>[1](https://github.com/openvinotoolkit/openvino)</sup> 英特尔于2018年9月14日发布该工具包，作为开放视觉SDK的继任者，并将其描述为一款面向边缘端基于CNN的深度学习推理工具包，可通过统一API在CPU、GPU、英特尔Movidius神经计算棒和FPGA上实现异构执行。<sup>[2](https://www.khronos.org/news/permalink/intel-announces-openvino-formerly-the-open-vision-sdk)</sup> 该工具包在[Apache License](https://www.edgepedia.org/zh/apache-license) 2.0许可下分发，可通过PyPI以`pip install openvino`安装。<sup>[1](https://github.com/openvinotoolkit/openvino)</sup>

| 关键事实 | 详情 |
|---|---|
| 首次发布 | 2018年9月14日发布，作为开放视觉SDK的继任者<sup>[2](https://www.khronos.org/news/permalink/intel-announces-openvino-formerly-the-open-vision-sdk)</sup> |
| 目标设备 | CPU（x86、ARM）、英特尔集成显卡与独立显卡、英特尔NPU；AUTO自动设备选择模式<sup>[1](https://github.com/openvinotoolkit/openvino)</sup><sup> • </sup><sup>[3](https://docs.openvino.ai/2026/documentation/compatibility-and-support/supported-devices.html)</sup> |
| 模型来源 | PyTorch、TensorFlow、ONNX、Keras、PaddlePaddle及JAX/Flax；通过Optimum Intel实现Hugging Face集成<sup>[1](https://github.com/openvinotoolkit/openvino)</sup> |
| 架构 | 运行时插件架构，每种设备类型对应一个插件，统一置于通用的Python、C和C++ API之后<sup>[4](https://docs.openvino.ai/2024/openvino-workflow/running-inference.html)</sup><sup> • </sup><sup>[5](https://cdrdv2-public.intel.com/671060/OpenVINO-product-brief-2024.0-671060.pdf)</sup> |
| 压缩 | 神经网络压缩框架（NNCF），支持INT8/INT4量化；训练后量化需要约300个样本的校准集<sup>[6](https://github.com/openvinotoolkit/nncf)</sup> |
| 服务 | OpenVINO模型服务器通过gRPC、REST或C API端点暴露模型<sup>[5](https://cdrdv2-public.intel.com/671060/OpenVINO-product-brief-2024.0-671060.pdf)</sup> |
| 近期版本 | 2025.4（2025年12月1日）、2026.0（2026年2月23日）、2026.4（2026年9月16日）<sup>[7](https://docs.openvino.ai/2026/about-openvino/release-notes-openvino.html?linkid=100000277864548)</sup> |

## 运行时的组织方式

OpenVINO运行时采用插件架构。每个插件都是一个软件组件，包含针对特定设备类别（如CPU或GPU）的完整推理实现，应用程序调用通用API，由API对设备相关代码进行抽象。<sup>[4](https://docs.openvino.ai/2024/openvino-workflow/running-inference.html)</sup> 模型首先被转换为OpenVINO中间表示（IR），然后针对选定设备编译为携带设备特定优化的`CompiledModel`。<sup>[8](https://github.com/openvinotoolkit/openvino/blob/master/src/docs/architecture.md)</sup>

模型可直接从受支持的格式运行，也可转换并保存为OpenVINO IR以获得最大性能。转换PyTorch模型通常需要Python和`torch`模块，这会在转换本身之外增加时间和内存开销。<sup>[4](https://docs.openvino.ai/2024/openvino-workflow/running-inference.html)</sup> GitHub仓库展示了典型的两步模式：`ov.convert_model()`将PyTorch模型转换为OpenVINO模型，`core.compile_model(ov_model, 'CPU')`则将其编译到某个设备上。<sup>[1](https://github.com/openvinotoolkit/openvino)</sup>

## 设备与推理模式

运行时支持三类设备：CPU、GPU和NPU。<sup>[3](https://docs.openvino.ai/2026/documentation/compatibility-and-support/supported-devices.html)</sup> 除在特定设备上运行外，OpenVINO还提供自动化推理模式。自动设备选择（AUTO）为应用程序挑选设备；其默认性能提示为`LATENCY`，默认情况下CPU在模型编译时充当加速设备，并在所选设备上推理请求失败时作为运行时回退。<sup>[9](https://docs.openvino.ai/2026/openvino-workflow/running-inference/inference-devices-and-modes/auto-device-selection.html)</sup> 其他模式包括将模型拆分到多个设备上的异构执行，以及自动批处理。<sup>[3](https://docs.openvino.ai/2026/documentation/compatibility-and-support/supported-devices.html)</sup>

功能支持因设备而异。截至OpenVINO 2024.5（2024年11月20日），CPU插件覆盖了98.31%的插件API，GPU插件覆盖91.53%，而NPU插件仅覆盖18.64%；动态形状在CPU上受支持，在GPU上部分支持，在NPU上不可用。<sup>[3](https://docs.openvino.ai/2026/documentation/compatibility-and-support/supported-devices.html)</sup> 在配备多个GPU的系统上，例如同时拥有英特尔集成显卡和独立显卡，任何受支持的模型都可以在所有GPU上同时执行。<sup>[10](https://docs.openvino.ai/2025/openvino-workflow/running-inference/inference-devices-and-modes/gpu-device.html)</sup>

## 模型优化与量化

神经网络压缩框架（NNCF）是OpenVINO的模型压缩工具，提供量化、剪枝与稀疏化，以及训练后优化。<sup>[5](https://cdrdv2-public.intel.com/671060/OpenVINO-product-brief-2024.0-671060.pdf)</sup> [训练后量化](https://www.edgepedia.org/zh/post-training-quantization)是获得8位模型的最简单途径：它需要模型和一个约300个样本的小型校准数据集，OpenVINO是运行该过程的首选后端，同时也支持PyTorch和ONNX。<sup>[6](https://github.com/openvinotoolkit/nncf)</sup> 量化后的IR模型携带`FakeQuantize`操作，向推理设备提示如何对各个操作进行量化；无法执行低精度的设备会以FP32或FP16运行同一模型。<sup>[11](https://docs.openvino.ai/2025/documentation/openvino-ir-format/intermediate-representation-int8-inference.html)</sup> 对此类子图进行权重压缩可将权重以低精度存储，内存占用减少至四分之一。<sup>[11](https://docs.openvino.ai/2025/documentation/openvino-ir-format/intermediate-representation-int8-inference.html)</sup>

量化直接转化为速度提升。在一项基于MLPerf的特征分析研究中，在MLPerf离线场景下，使用OpenVINO在英特尔CPU上运行的INT8量化模型性能为FP32模型的3.3倍，而[树莓派](https://www.edgepedia.org/zh/raspberry-pi)上使用TFLite时则为4倍。<sup>[12](https://arxiv.org/abs/2303.05016)</sup>

## 实测性能

一项2026年的工业机器视觉推理对比基准测试比较了纯PyTorch、ONNX Runtime、OpenVINO和TensorRT在基于CPU和GPU的平台上的表现，涵盖卷积和基于Transformer的视觉模型。就所评估的硬件平台和模型而言，OpenVINO在CPU上实现了最低的推理时间，而TensorRT在GPU上实现了最低的推理时间。<sup>[13](https://arxiv.org/abs/2607.11356)</sup>

厂商案例研究在应用层面显示了相同的模式。东京电子集团旗下的半导体解决方案公司东京电子器件（Tokyo Electron Device）在一台英特尔酷睿i7-12700工业PC上对MobileNetV2模型进行了基准测试：延迟从[TensorFlow](https://www.edgepedia.org/zh/tensorflow)下的47毫秒降至关闭睿频加速时CPU上OpenVINO的3.7毫秒，在集成显卡上则降至2.7毫秒。<sup>[14](https://www.intel.com/content/dam/www/central-libraries/us/en/documents/2024-11/ted-openvino-for-imaging-systems-white-paper.pdf)</sup> 同一白皮书还报告，CPU加OpenVINO的组合使工业成像设备不再需要外接GPU卡，避免了GPU供应和成本方面的限制。<sup>[14](https://www.intel.com/content/dam/www/central-libraries/us/en/documents/2024-11/ted-openvino-for-imaging-systems-white-paper.pdf)</sup>

## 生成式AI与生态系统

近期版本集中在大语言模型和多模态模型上。2025.4版本在CPU和GPU上新增了对Qwen3-Embedding-0.6B、Qwen3-Reranker-0.6B和Mistral-Small-24B-Instruct-2501的支持，在NPU上新增了对Gemma-3-4b-it和Qwen2.5-VL-3B-Instruct的支持，并预览了在Qwen3-30B-A3B上验证的混合专家优化。<sup>[15](https://docs.openvino.ai/2025/about-openvino/release-notes-openvino.html)</sup> 2026.0版本在CPU和GPU上新增了GPT-OSS-20B和Qwen3-30B-A3B，在GenAI和模型服务器中新增了经Qwen3-8B验证的EAGLE-3推测解码，以及针对3D矩阵乘法的int4数据感知权重压缩，使MoE模型能够在降低内存带宽的情况下运行。<sup>[7](https://docs.openvino.ai/2026/about-openvino/release-notes-openvino.html?linkid=100000277864548)</sup> 2026.4版本新增了CPU上的Gemma-3n、CPU、GPU和NPU上的Kokoro-82M，以及NPU上的FLUX.2-Klein 4B等。<sup>[7](https://docs.openvino.ai/2026/about-openvino/release-notes-openvino.html?linkid=100000277864548)</sup>

生态系统延伸至核心运行时之外。Optimum Intel将OpenVINO与[Hugging Face](https://www.edgepedia.org/zh/hugging-face)的transformers和diffusers模型集成。<sup>[1](https://github.com/openvinotoolkit/openvino)</sup> 英特尔自身的案例研究将该工具包部署于工厂安全监控——其中Aotu与英特尔为一家灌装公司提供的解决方案在英特尔酷睿i7工业PC上跨18个场景和约1000个监控点运行了十二种定制算法<sup>[16](https://www.intel.com/content/dam/www/central-libraries/us/en/documents/2022-12/safety-matters-automate-worker-safety-case-study.pdf)</sup>——以及通过英特尔Tiber边缘平台部署于物流缺陷检测。<sup>[17](https://cdrdv2-public.intel.com/833681/AI-Inspection-%20CaseStudy.pdf)</sup>

## 2025年以来的版本与平台变化

2025年的版本移除了若干长期存在的组件。`openvino-dev` pip包和模型优化器不再提供；英特尔引导用户改用更新的模型转换方法。<sup>[15](https://docs.openvino.ai/2025/about-openvino/release-notes-openvino.html)</sup> 从2026.0版本开始，CPU插件要求至少支持AVX2指令集，不再支持SSE。<sup>[15](https://docs.openvino.ai/2025/about-openvino/release-notes-openvino.html)</sup> Python 3.9支持随OpenVINO 2025.4和NNCF 2.19.0终止，macOS x86验证也已停止。<sup>[15](https://docs.openvino.ai/2025/about-openvino/release-notes-openvino.html)</sup> 2026.4版本指出一个已知问题：与2026.0版本相比，大量计算机视觉模型出现性能回退，建议受影响的模型在2026.0下进行量化和转换。<sup>[7](https://docs.openvino.ai/2026/about-openvino/release-notes-openvino.html?linkid=100000277864548)</sup>

## References

1. [openvinotoolkit/openvino, GitHub](https://github.com/openvinotoolkit/openvino)
2. [Intel announces OpenVINO, formerly the Open Vision SDK, Khronos, September 14, 2018](https://www.khronos.org/news/permalink/intel-announces-openvino-formerly-the-open-vision-sdk)
3. [Supported Devices, OpenVINO documentation](https://docs.openvino.ai/2026/documentation/compatibility-and-support/supported-devices.html)
4. [Running Inference with OpenVINO, OpenVINO documentation](https://docs.openvino.ai/2024/openvino-workflow/running-inference.html)
5. [OpenVINO Product Brief 2024.0, Intel](https://cdrdv2-public.intel.com/671060/OpenVINO-product-brief-2024.0-671060.pdf)
6. [openvinotoolkit/nncf, GitHub](https://github.com/openvinotoolkit/nncf)
7. [OpenVINO Release Notes (2026.4), OpenVINO documentation](https://docs.openvino.ai/2026/about-openvino/release-notes-openvino.html?linkid=100000277864548)
8. [OpenVINO Architecture, openvinotoolkit/openvino on GitHub](https://github.com/openvinotoolkit/openvino/blob/master/src/docs/architecture.md)
9. [Automatic Device Selection, OpenVINO documentation](https://docs.openvino.ai/2026/openvino-workflow/running-inference/inference-devices-and-modes/auto-device-selection.html)
10. [GPU Device, OpenVINO documentation](https://docs.openvino.ai/2025/openvino-workflow/running-inference/inference-devices-and-modes/gpu-device.html)
11. [Low Precision IR (INT8 Inference), OpenVINO documentation](https://docs.openvino.ai/2025/documentation/openvino-ir-format/intermediate-representation-int8-inference.html)
12. [Performance Characterization of Using Quantization for DNN Inference on Edge Devices, arXiv:2303.05016](https://arxiv.org/abs/2303.05016)
13. [Benchmarking Edge Inference Strategies for Deep Learning Models in Industrial Machine Vision, arXiv:2607.11356](https://arxiv.org/abs/2607.11356)
14. [Leveraging OpenVINO Toolkit for AI Inference in Medical and Industrial Imaging, Intel white paper](https://www.intel.com/content/dam/www/central-libraries/us/en/documents/2024-11/ted-openvino-for-imaging-systems-white-paper.pdf)
15. [OpenVINO Release Notes (2025), OpenVINO documentation](https://docs.openvino.ai/2025/about-openvino/release-notes-openvino.html)
16. [Safety Matters: Aotu and Intel Automate Worker Safety, Intel case study](https://www.intel.com/content/dam/www/central-libraries/us/en/documents/2022-12/safety-matters-automate-worker-safety-case-study.pdf)
17. [AI Inspection Case Study, Intel](https://cdrdv2-public.intel.com/833681/AI-Inspection-%20CaseStudy.pdf)

---
*Initially written Sep 17, 2026 · Reviewed: Oct 15, 2026 · Edited: Oct 15, 2026 · Last review: Oct 15, 2026*

Topic: 技术与人造世界 › 计算技术与数字系统 › 人工智能与数据 › Machine learning and neural computation › Neural networks and deep learning › Deep learning software and hardware › Inference acceleration and optimization

Copyright 2026 Edgepedia

License: Edgepedia Community License 1.0, https://www.edgepedia.org/edgepedia/license

Source: https://www.edgepedia.org/zh/openvino

English original: https://www.edgepedia.org/openvino
