Go to file
dependabot[bot] 5f446b5ebb
Bump py-cpuinfo from 7.0.0 to 9.0.0 in /tests (#24696)
Bumps [py-cpuinfo](https://github.com/workhorsy/py-cpuinfo) from 7.0.0
to 9.0.0.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/workhorsy/py-cpuinfo/blob/master/ChangeLog">py-cpuinfo's
changelog</a>.</em></p>
<blockquote>
<ul>
<li>Release 9.1.0
<ul>
<li>Fixed Bug <a
href="https://redirect.github.com/workhorsy/py-cpuinfo/issues/186">#186</a>:
Move to Python 3 style classes and default UTF-8 encoding</li>
<li>Fixed Bug <a
href="https://redirect.github.com/workhorsy/py-cpuinfo/issues/194">#194</a>:
Add support for LoongArch</li>
</ul>
</li>
</ul>
<p>10/25/2022 Release 9.0.0</p>
<ul>
<li>Fixed Bug <a
href="https://redirect.github.com/workhorsy/py-cpuinfo/issues/178">#178</a>:
Changes to lscpu breaks parsing of cache info</li>
<li>Fixed Bug <a
href="https://redirect.github.com/workhorsy/py-cpuinfo/issues/152">#152</a>:
CPU stepping, model, and family values are blank if 0</li>
<li>Fixed Bug <a
href="https://redirect.github.com/workhorsy/py-cpuinfo/issues/177">#177</a>:
Officially drop support for Python 2</li>
<li>Fixed Bug <a
href="https://redirect.github.com/workhorsy/py-cpuinfo/issues/171">#171</a>:
Replace Python 3.11 deprecated unittest.makeSuite</li>
<li>Fixed Bug <a
href="https://redirect.github.com/workhorsy/py-cpuinfo/issues/173">#173</a>:
Fix lgtm.com alerts</li>
<li>Fixed Bug <a
href="https://redirect.github.com/workhorsy/py-cpuinfo/issues/165">#165</a>:
Support Wheel</li>
<li>Fixed Bug <a
href="https://redirect.github.com/workhorsy/py-cpuinfo/issues/167">#167</a>:
Add support for RISC-V</li>
</ul>
<p>04/14/2021 Release 8.0.0</p>
<ul>
<li>Fixed Bug <a
href="https://redirect.github.com/workhorsy/py-cpuinfo/issues/161">#161</a>:
Accept arm64 as an alias for aarch64</li>
<li>Fixed Bug <a
href="https://redirect.github.com/workhorsy/py-cpuinfo/issues/160">#160</a>:
Add MIPS architecture support</li>
<li>Fixed Bug <a
href="https://redirect.github.com/workhorsy/py-cpuinfo/issues/74">#74</a>:
Add option to trace code paths to file</li>
<li>Fixed Bug <a
href="https://redirect.github.com/workhorsy/py-cpuinfo/issues/157">#157</a>:
Remove multiple checks for sestatus</li>
</ul>
<p>07/05/2020 Release 7.0.0</p>
<ul>
<li>Fixed Bug <a
href="https://redirect.github.com/workhorsy/py-cpuinfo/issues/133">#133</a>:
CPU flags vary between runs on Mac OS X</li>
<li>Fixed Bug <a
href="https://redirect.github.com/workhorsy/py-cpuinfo/issues/150">#150</a>:
Change 'byte code' to 'machine code'</li>
<li>Fixed Bug <a
href="https://redirect.github.com/workhorsy/py-cpuinfo/issues/128">#128</a>:
Overhead from generating machine code throws off CPUID HZ</li>
<li>Fixed Bug <a
href="https://redirect.github.com/workhorsy/py-cpuinfo/issues/136">#136</a>:
On non BeOS systems, calling sysinfo may open GUI program</li>
<li>Fixed Bug <a
href="https://redirect.github.com/workhorsy/py-cpuinfo/issues/138">#138</a>:
Invalid escape sequences warn when building in Python 3.8</li>
<li>Fixed Bug <a
href="https://redirect.github.com/workhorsy/py-cpuinfo/issues/147">#147</a>:
Remove extended_model and extended_family fields</li>
<li>Fixed Bug <a
href="https://redirect.github.com/workhorsy/py-cpuinfo/issues/146">#146</a>:
CPUID family and model is wrong</li>
<li>Fixed Bug <a
href="https://redirect.github.com/workhorsy/py-cpuinfo/issues/144">#144</a>:
Cache fields should be full ints instead of kb strings</li>
</ul>
<p>06/11/2020 Release 6.0.0</p>
<ul>
<li>Fixed Bug <a
href="https://redirect.github.com/workhorsy/py-cpuinfo/issues/140">#140</a>:
The get_cache function has swapped fields</li>
<li>Fixed Bug <a
href="https://redirect.github.com/workhorsy/py-cpuinfo/issues/142">#142</a>:
Remove empty and zeroed fields</li>
<li>Fixed Bug <a
href="https://redirect.github.com/workhorsy/py-cpuinfo/issues/115">#115</a>:
Missing data on Ryzen CPUs</li>
<li>Fixed Bug <a
href="https://redirect.github.com/workhorsy/py-cpuinfo/issues/122">#122</a>:
Rename fields to be more clear</li>
<li>Fixed Bug <a
href="https://redirect.github.com/workhorsy/py-cpuinfo/issues/125">#125</a>:
Add option to return --version</li>
<li>Fixed Bug <a
href="https://redirect.github.com/workhorsy/py-cpuinfo/issues/126">#126</a>:
Make test suite also check SELinux</li>
<li>Fixed Bug <a
href="https://redirect.github.com/workhorsy/py-cpuinfo/issues/120">#120</a>:
Make unit tests also test CPUID</li>
<li>Fixed Bug <a
href="https://redirect.github.com/workhorsy/py-cpuinfo/issues/69">#69</a>:
Add s390x support</li>
</ul>
<p>03/20/2019 Release 5.0.0</p>
<ul>
<li>Fixed Bug <a
href="https://redirect.github.com/workhorsy/py-cpuinfo/issues/117">#117</a>:
Remove PyInstaller hacks</li>
<li>Fixed Bug <a
href="https://redirect.github.com/workhorsy/py-cpuinfo/issues/108">#108</a>:
Client script runs multiple times without <strong>main</strong></li>
<li>Fixed Bug <a
href="https://redirect.github.com/workhorsy/py-cpuinfo/issues/113">#113</a>:
Add option to return results in json</li>
<li>Fixed Bug <a
href="https://redirect.github.com/workhorsy/py-cpuinfo/issues/110">#110</a>:
Always tries to run wmic in get_system_info.py</li>
</ul>
<p>04/01/2018 Release 4.0.0</p>
<ul>
<li>Fixed Bug <a
href="https://redirect.github.com/workhorsy/py-cpuinfo/issues/80">#80</a>:
Broken when using Pyinstaller</li>
<li>Fixed Bug <a
href="https://redirect.github.com/workhorsy/py-cpuinfo/issues/77">#77</a>:
Get L1, L2, and L3 cache info from lscpu</li>
<li>Fixed Bug <a
href="https://redirect.github.com/workhorsy/py-cpuinfo/issues/79">#79</a>:
Byte formats are inconsistent</li>
<li>Fixed Bug <a
href="https://redirect.github.com/workhorsy/py-cpuinfo/issues/81">#81</a>:
Byte formatter breaks on non strings</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="4824ec0746"><code>4824ec0</code></a>
Release 9.0.0</li>
<li><a
href="45b5144505"><code>45b5144</code></a>
Merge pull request <a
href="https://redirect.github.com/workhorsy/py-cpuinfo/issues/182">#182</a>
from workhorsy/lscpu_changes</li>
<li><a
href="850e2a0817"><code>850e2a0</code></a>
Merge branch 'master' into lscpu_changes</li>
<li><a
href="a93e04dea7"><code>a93e04d</code></a>
Fixed Bug <a
href="https://redirect.github.com/workhorsy/py-cpuinfo/issues/178">#178</a>:
Changes to lscpu breaks parsing of cache info</li>
<li><a
href="21e4f3b2af"><code>21e4f3b</code></a>
Fixed Bug <a
href="https://redirect.github.com/workhorsy/py-cpuinfo/issues/152">#152</a>:
CPU stepping, model, and family values are blank if 0</li>
<li><a
href="54e62b796d"><code>54e62b7</code></a>
Added new test that breaks from lscpu changes</li>
<li><a
href="635811dcdd"><code>635811d</code></a>
Merge pull request <a
href="https://redirect.github.com/workhorsy/py-cpuinfo/issues/179">#179</a>
from workhorsy/bye_bye_py2</li>
<li><a
href="5dffea059b"><code>5dffea0</code></a>
Fixed Bug <a
href="https://redirect.github.com/workhorsy/py-cpuinfo/issues/177">#177</a>:
Officially drop support for Python 2</li>
<li><a
href="07eab4ddfb"><code>07eab4d</code></a>
Update build script to build python 3 wheel instead of python 2 and 3
wheel</li>
<li><a
href="f7075479e7"><code>f707547</code></a>
Updated info in readme</li>
<li>Additional commits viewable in <a
href="https://github.com/workhorsy/py-cpuinfo/compare/v7.0.0...v9.0.0">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=py-cpuinfo&package-manager=pip&previous-version=7.0.0&new-version=9.0.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-31 09:07:00 +00:00
.github [CI] [GHA] Add `Unable to fetch some archives` to errors to look for file (#24782) 2024-05-30 13:29:40 +00:00
cmake Removed deprecated cmake vars (#24687) 2024-05-25 23:40:34 +04:00
docs [DOCS] 2024.2 version update for master (#24746) 2024-05-29 09:04:29 +00:00
licensing Libxsmm licensing (#24565) 2024-05-20 11:42:12 +00:00
samples [DOCS] 2024.2 version update for master (#24746) 2024-05-29 09:04:29 +00:00
scripts Use shell parameter expansion to make getting source path work in non-bash shells (#24598) 2024-05-21 15:28:52 +00:00
src [CPU] [ARM] JIT Floor (#24041) 2024-05-31 05:31:07 +00:00
tests Bump py-cpuinfo from 7.0.0 to 9.0.0 in /tests (#24696) 2024-05-31 09:07:00 +00:00
thirdparty Checkout OMZ to fetch numpy<2 restriction (#24523) 2024-05-15 10:46:07 +00:00
tools [OVC] Import openvino-tokenizers extensions from ovc tool (#24681) 2024-05-26 15:40:40 +00:00
.dockerignore [GHA][CVS-112829] Public Dockerfile (#23064) 2024-05-02 17:44:03 +00:00
.gitattributes [CI] [GHA] Introduce GHA pipeline rerunner (#23865) 2024-04-16 14:52:12 +00:00
.gitignore [DOCS] Bump Sphinx and Pydata versions (#24083) 2024-04-18 09:56:42 +00:00
.gitmodules [Snippets] TPP FP32 MHA support (#22210) 2024-04-22 14:52:42 +00:00
CMakeLists.txt Simplify cmake check for Ninja multi-config (#24651) 2024-05-24 00:08:08 +00:00
CONTRIBUTING.md [DOCS] Readme changes (#20818) 2024-04-25 14:48:00 +00:00
CONTRIBUTING_DOCS.md [DOCS] contributing guidelines (#19218) 2023-08-18 17:59:31 +02:00
CONTRIBUTING_PR.md Update GFI template and docs with information about linking PRs to issues (#23409) 2024-03-12 21:55:21 +00:00
Jenkinsfile Beautify Jenkinsfile a little bit 2021-05-31 15:24:56 +03:00
LICENSE Publishing R3 2018-10-16 13:45:03 +03:00
README.md Update README.md (#24437) 2024-05-09 11:11:13 +00:00
SECURITY.md Added SECURITY.md back (#3177) 2020-11-17 16:44:44 +03:00
conan.lock Updated pybind11 to 2.12.0 (#24140) 2024-04-22 15:03:02 +04:00
conanfile.txt Updated pybind11 to 2.12.0 (#24140) 2024-04-22 15:03:02 +04:00
cspell.json Add file via upload (#19605) 2023-09-19 17:16:16 +04:00
install_build_dependencies.sh Added Alpine Linux dependencies to install list (#24455) 2024-05-15 14:50:30 +04:00
vcpkg.json Removed ade from vcpkg.json and conanfile.txt (#22823) 2024-02-14 10:43:10 +04:00

README.md

PyPI Status Anaconda Status brew Status

PyPI Downloads Anaconda Downloads brew Downloads

Welcome to OpenVINO™, an open-source software toolkit for optimizing and deploying deep learning models.

  • 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 TensorFlow, PyTorch, ONNX, Keras, and PaddlePaddle. 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 (OpenCL capable, integrated and discrete) 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 for a quick reference.

Installation

Get your preferred distribution of OpenVINO or use this command for quick installation:

pip install openvino

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📚:

Here are easy-to-follow code examples demonstrating how to run PyTorch and TensorFlow model inference using OpenVINO:

PyTorch Model

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

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_model(ov_model, 'CPU')

# infer the model on random data
data = np.random.rand(1, 224, 224, 3)
output = compiled_model({0: data})

OpenVINO also supports CPU, GPU, and NPU devices and works with models in TensorFlow, PyTorch, ONNX, TensorFlow Lite, PaddlePaddle model formats. With OpenVINO you can do automatic performance enhancements at runtime customized to your hardware (preserving model accuracy), including: asynchronous execution, batch processing, tensor fusion, load balancing, dynamic inference parallelism, automatic BF16 conversion, and more.

OpenVINO Ecosystem

Check out the Awesome OpenVINO repository to discover a collection of community-made AI projects based on OpenVINO!

Documentation

User documentation contains detailed information about OpenVINO and guides you from installation through optimizing and deploying models for your AI applications.

Developer documentation focuses on how OpenVINO components work and describes building and contributing processes.

Contribution and Support

Check out Contribution Guidelines for more details. Read the Good First Issues section, if you're looking for a place to start contributing. We welcome contributions of all kinds!

You can ask questions and get support on:

Additional Resources

License

OpenVINO™ Toolkit is licensed under Apache License Version 2.0. By contributing to the project, you agree to the license and copyright terms therein and release your contribution under these terms.


* Other names and brands may be claimed as the property of others.