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=" |
||
|---|---|---|
| .. | ||
| common | ||
| pipelines | ||
| test_utils | ||
| CMakeLists.txt | ||
| README.md | ||
| __init__.py | ||
| base_test_rules.yml | ||
| collect_refs.py | ||
| config.py | ||
| conftest.py | ||
| env_config_local.yml | ||
| pytest.ini | ||
| requirements.txt | ||
| reshape_test_rules.yml | ||
| test_base.py | ||
| test_config_local.yml | ||
README.md
End-to-end Tests User Documentation
This folder contains a code to run end-to-end validation of OpenVINO on real models of different frameworks (PyTorch, TensorFlow, and ONNX)
The documentation provides necessary information about environment setup for e2e validation run, adding new model to the validation, and instructions to launch validation.
The following steps assume that your current working directory is:
tests/e2e_tests
Environment preparation:
- Install Python modules required for tests:
pip3 install -r requirements.txt
Add model from TensorFlow Hub repo to end-to-end validation:
To add new test for model from TF Hub repo just add new line into pipelines/production/tf_hub/precommit.yml This line should contain comma separated model name and its link
movenet/singlepose/lightning,https://www.kaggle.com/models/google/movenet/frameworks/tensorFlow2/variations/singlepose-lightning/versions/4
Main entry-point
There is one main testing entry-point which is responsible for test run - test_base.py. This script performs the following actions:
- Loads model from its source
- Infers original model through framework
- Converts original model through OVC convert model
- Infers converted model through OpenVINO
- Provides results of element-wise comparison of framework and OpenVINO inference
Launch tests
test_base.py is the main script to run end-to-end tests.
Run all end-to-end tests in pipelines/:
pytest test_base.py
test_base.py options:
--modules=MODULES [MODULES ...]- Paths to tests.-k TESTNAME [TESTNAME ...]- Test names.-s- Step-by-step logging.
Example:
pytest test_base.py -s --modules=pipelines/production/tf_hub
For full information on pytest options, run
pytest --helpor see the documentation