[KongchangAI]
Tech Frontiers· 3 min read· 1,553 words

OpenVINO vs Standard CPU Inference: Real-World Comparison on i5 and GTX 1650 Ti

OpenVINO vs Standard CPU Inference: Real-World Comparison on i5 and GTX 1650 Ti

Reddit test: OpenVINO ties with standard CPU EP on i5-10300H, DirectML significantly accelerates inference on GTX 1650 Ti.

Based on a real test shared by a Reddit developer, this article compares three ONNX Runtime execution providers on aging hardware (i5-10300H CPU and mobile GTX 1650 Ti GPU): standard CPU EP, OpenVINO EP, and DirectML EP. OpenVINO performs almost identically to the standard CPU EP, likely limited by the mobile CPU's power wall, model fit, and operator fallback. DirectML brings a clear improvement on the mobile GPU, proving entry-level Turing cards can accelerate inference without CUDA. The article advises testing before deploying and notes the original post lacks specific models and metrics, making conclusions qualitative.

ListenDialogue
0:008:37

When Inference Engines Meet Aging Hardware: A Real Test from Reddit

In AI inference deployment, hardware compatibility and runtime choice often affect real-world experience more than the model itself. Recently, a developer on Reddit shared a real inference benchmark on an i5-10300H processor and a mobile GTX 1650 Ti, comparing several ONNX Runtime Execution Providers (EPs): the standard CPU EP, the OpenVINO EP, and the DirectML EP. The results were surprising—OpenVINO performed almost on par with the standard CPU EP on CPU, while DirectML showed a clear advantage on the mobile GPU.

Reddit original post screenshot

This test did not use top-tier hardware, which makes it all the more valuable as a reference: many developers and end users still use laptops from a few generations back, and their inference needs are real.

Test Background and Methodology

The original poster did not disclose the full test script, but from the title and discussion it can be inferred that the test was based on ONNX Runtime, calling different EPs for inference in a Windows environment. The hardware configuration was:

  • CPU: Intel Core i5-10300H (4 cores, 8 threads, Comet Lake architecture)
  • GPU: NVIDIA GeForce GTX 1650 Ti Mobile (4GB VRAM, Turing architecture)

The three comparison items were:

  1. Standard CPU EP: ONNX Runtime's default CPU execution backend, typically based on the MLAS library.
  2. OpenVINO EP: Uses the Intel OpenVINO toolkit for graph optimization and hardware acceleration, which in theory should better leverage the Intel CPU's instruction set advantages.
  3. DirectML EP: Calls the GPU for inference through the DirectML API, with broad compatibility supporting AMD, NVIDIA, and Intel GPUs.

The test focused on "real-world inference," meaning it likely used actual models rather than purely synthetic benchmarks, but the specific model and input size were not stated in the summary.

ONNX Runtime Execution Provider (EP) is an abstraction interface in ONNX Runtime responsible for dispatching computational graph operators to specific hardware backends. Each EP implements operator kernels for a particular hardware or API—for example, the CPU EP is based on the MLAS library and leverages multithreading and SIMD instructions, the OpenVINO EP calls Intel OpenVINO's graph optimization and inference engine, and the DirectML EP executes on the GPU through the DirectX 12 DirectML API. ONNX Runtime supports registering multiple EPs simultaneously with priority settings; when an EP does not support a certain operator, it automatically falls back to the next EP (usually the CPU EP). This design allows developers to deploy across hardware without modifying the model, but different EPs vary greatly in how well they optimize the same model, and actual performance must be verified through testing.

A Tie on CPU: OpenVINO and the Standard EP Are Neck and Neck

On the i5-10300H, the OpenVINO EP performed almost exactly the same as the standard CPU EP. This result is worth pondering: OpenVINO is generally thought to bring performance gains through operator fusion, memory layout optimization, and utilization of AVX instruction sets, but in this test it did not show a clear advantage.

There are several possible reasons:

  • Model fit: If the model itself is relatively simple, or the standard CPU EP in ONNX Runtime is already fully optimized, OpenVINO has limited room for additional optimization.
  • Thread scheduling: On a 4-core, 8-thread mobile CPU, parallel efficiency may be limited by thermals and power walls, and both EPs hit the hardware ceiling.
  • Version factors: Different versions of ONNX Runtime and OpenVINO support specific models to varying degrees; unoptimized operators may fall back to the CPU EP, offsetting the advantage.

For developers using similar hardware, this means that if you are already using the standard CPU EP, there is no urgent reason to switch to OpenVINO—unless your model has specific operators that can benefit from OpenVINO, or you need consistency in cross-platform deployment.

Intel OpenVINO is an inference optimization toolkit for Intel hardware (CPU, integrated GPU, VPU, etc.). Its core advantages include: model-level graph optimization (such as operator fusion and constant folding), hand-written kernels for Intel instruction sets (AVX2, AVX-512, VNNI), and memory layout and thread scheduling optimization. The OpenVINO EP converts the ONNX graph into OpenVINO's intermediate representation (IR) before execution, which in theory can more fully utilize the vectorization capabilities of Intel CPUs. However, on mobile quad-core CPUs, power walls and thermal limits often cause parallel efficiency to saturate early; at this point, the standard CPU EP's MLAS-based optimization is already close to the hardware ceiling, and the additional graph optimization gains from OpenVINO are diluted. In addition, if the model contains operators not supported by the OpenVINO EP, falling back to the CPU EP introduces extra overhead and offsets some of the advantage.

A Breakthrough on GPU: DirectML Shows Its Advantage on the GTX 1650 Ti

In contrast to the lackluster results on CPU, the DirectML EP showed a clear performance improvement on the mobile GTX 1650 Ti. Although the original post did not give a specific multiplier, the author used the word "delivers" to emphasize DirectML's effectiveness on this configuration.

The GTX 1650 Ti Mobile is an entry-level Turing graphics card that does not support Tensor Cores and has only 4GB of VRAM. That DirectML can bring improvements on such hardware shows that:

  • The barrier to GPU inference is lowering: You don't need a high-end NVIDIA graphics card or CUDA-specific optimization; DirectML can call GPU compute through the DirectX 12 abstraction layer.
  • Compatibility first: For deploying ONNX models on the Windows platform, DirectML provides a low-friction path, especially suitable for applications already dependent on the DirectX ecosystem.
  • Energy efficiency considerations: The power consumption of a mobile GPU is far lower than that of a CPU at full load, so moving the inference workload to the GPU may bring better overall energy efficiency.

However, DirectML's absolute performance is still limited by the hardware specifications of the GTX 1650 Ti. For large models or high-resolution inputs, 4GB of VRAM may become a bottleneck.

DirectML is a low-level machine learning API provided by Microsoft, built on DirectX 12, which can execute inference on any GPU that supports DirectX 12, including integrated/discrete graphics cards from NVIDIA, AMD, and Intel. Unlike CUDA, DirectML is not tied to a specific vendor, and developers can leverage GPU compute without installing the CUDA toolchain. ONNX Runtime's DirectML EP maps operators into a DirectML computation graph, which the driver schedules for execution on the GPU. Its performance depends on driver maturity and operator coverage; on entry-level GPUs it typically brings throughput improvements several times that of CPU, but VRAM capacity (such as 4GB) limits the model size and batch size that can be handled. DirectML is particularly suitable for Windows desktop applications, in-game inference, and general acceleration scenarios across GPUs from different vendors.

Implications for Developers

This test conveys several practical signals:

First, don't assume that "a specialized EP is always faster." OpenVINO's performance on Intel CPUs is on par with the standard EP, reminding us that we should test before deploying rather than blindly trusting vendor marketing.

Second, older GPUs still have value to unlock. DirectML brings mobile graphics cards like the GTX 1650 Ti back into the inference race; for scenarios with limited budgets or fixed devices, this is a viable low-cost acceleration option.

Third, the choice of execution provider needs to match the model and hardware. If your model contains many custom operators, the standard CPU EP may be the safest choice; if you want GPU acceleration without being tied to CUDA, DirectML is worth a try; OpenVINO is better suited to scenarios with specific Intel hardware (such as integrated or discrete graphics) and a validated model.

Limitations and Open Questions

As a Reddit share, the original post has limited information: it does not disclose the specific model, input size, batch size, number of inference runs, or latency metrics, nor does it give precise comparison numbers. Therefore, the above analysis is based on qualitative descriptions, and readers should verify it with their own models. In addition, the test covers only a single hardware combination, and the conclusions cannot be directly generalized to other CPUs or GPUs.

Nevertheless, this "field report" from a real user is still valuable—it punctures some assumptions about performance optimization and provides a down-to-earth reference for mobile inference deployment.

One-line Summary

Reddit test: OpenVINO ties with the standard CPU EP on the i5-10300H, while DirectML significantly accelerates inference on the GTX 1650 Ti.

Paragraph Summary

Based on a real test shared by a Reddit developer, this article compares three ONNX Runtime execution providers on aging hardware (i5-10300H CPU and mobile GTX 1650 Ti GPU): the standard CPU EP, OpenVINO EP, and DirectML EP. The results show that OpenVINO's performance on CPU is almost identical to the standard CPU EP, without the expected advantage, possibly due to the mobile CPU's power wall, model fit, and operator fallback. DirectML, meanwhile, brought a clear improvement on the mobile GPU, proving that entry-level Turing graphics cards can also effectively accelerate inference without CUDA binding. The article offers practical advice accordingly: don't assume a specialized EP is always faster; test with your specific model and hardware. DirectML provides a low-barrier GPU acceleration path for the Windows platform. It also notes that the original post lacks specific models and quantitative metrics, so the conclusions are qualitative references.

#OpenVINO#ONNX Runtime#DirectML#CPU inference#GPU inference#GTX 1650 Ti#i5-10300H
Share:

Related articles