OpenVINO™ Benchmark
Measures the raw inference throughput of a model with OpenVINO™ benchmark_app on one device, without any pipeline around it.
|
|
| Test suite |
test_ov_benchmark (src/esq/suites/ai/vision/test_ov_benchmark.py) |
| Integration type |
Type 1: generic suite. The model, precision, and device come from the profile. |
| Key metric |
throughput (FPS) |
| Devices |
CPU, iGPU, dGPU, NPU |
How It Works
- Download the model, convert it to OpenVINO IR, and quantize it to
precision.
- Build the benchmark image with
benchmark_app.
- Run
benchmark_app on the device for duration_secs.
- Report the throughput and latency.
Parameters
| Parameter |
Default |
Description |
model |
resnet-50-tf |
Model name, for example resnet-50-tf, efficientnet-b0, yolo-v8s, clip-vit-base-patch16 |
precision |
INT8 |
Model precision |
devices |
igpu |
Device category to test |
duration_secs |
0.15 |
benchmark_app run time in seconds. The profiles use 120. |
force_download |
false |
Download and convert the model again |
container_image, dockerfile_name, docker_nocache |
openvino_bm_runner, Dockerfile, false |
Benchmark image build |
timeout |
300 |
Seconds for the test case |
Adding a Workload
Add a profile entry with another model and device. For example, from horizontals/ai_vision_ov.yml:
test_ov_benchmark:
params:
- test_id: "VSN-OBM-001"
display_name: "OpenVINO Benchmark - resnet-50-tf INT8 (iGPU)"
devices: [igpu]
model: "resnet-50-tf"
precision: "INT8"
duration_secs: 120
Profiles
Expand a profile to see the test cases it runs with this suite.
profile.horizontal.ai.vision-ov
| Test ID |
Test case |
| VSN-OBM-001 |
OpenVINO Benchmark - resnet-50-tf INT8 (iGPU) |
| VSN-OBM-002 |
OpenVINO Benchmark - resnet-50-tf INT8 (dGPU) |
| VSN-OBM-003 |
OpenVINO Benchmark - resnet-50-tf INT8 (NPU) |
| VSN-OBM-004 |
OpenVINO Benchmark - efficientnet-b0 INT8 (iGPU) |
| VSN-OBM-005 |
OpenVINO Benchmark - efficientnet-b0 INT8 (dGPU) |
| VSN-OBM-006 |
OpenVINO Benchmark - efficientnet-b0 INT8 (NPU) |
| VSN-OBM-007 |
OpenVINO Benchmark - ssdlite_mobilenet_v2 INT8 (iGPU) |
| VSN-OBM-008 |
OpenVINO Benchmark - ssdlite_mobilenet_v2 INT8 (dGPU) |
| VSN-OBM-009 |
OpenVINO Benchmark - ssdlite_mobilenet_v2 INT8 (NPU) |
| VSN-OBM-010 |
OpenVINO Benchmark - mobilenet-v2-pytorch INT8 (iGPU) |
| VSN-OBM-011 |
OpenVINO Benchmark - mobilenet-v2-pytorch INT8 (dGPU) |
| VSN-OBM-012 |
OpenVINO Benchmark - mobilenet-v2-pytorch INT8 (NPU) |
| VSN-OBM-013 |
OpenVINO Benchmark - yolo-v5s INT8 (iGPU) |
| VSN-OBM-014 |
OpenVINO Benchmark - yolo-v5s INT8 (dGPU) |
| VSN-OBM-015 |
OpenVINO Benchmark - yolo-v5s INT8 (NPU) |
| VSN-OBM-016 |
OpenVINO Benchmark - yolo-v8s INT8 (iGPU) |
| VSN-OBM-017 |
OpenVINO Benchmark - yolo-v8s INT8 (dGPU) |
| VSN-OBM-018 |
OpenVINO Benchmark - clip-vit-base-patch16 INT8 (iGPU) |
| VSN-OBM-019 |
OpenVINO Benchmark - clip-vit-base-patch16 INT8 (dGPU) |
Run
esq run --profile profile.horizontal.ai.vision-ov --filter test_id=VSN-OBM-001