Skip To Main Content
Support Knowledge Base

Numerical Instability Observed for an OpenVINO Model Using FP16 Precision

Content Type: Product Information & Documentation   |   Article ID: 000102780   |   Last Reviewed: 10/14/2026

Environment

OpenVINO™ toolkit

Description

  • A localization model produced invalid results when executed as an FP16 model on GPU, with predictions containing NaN values and failing to detect the correct region. When the same FP16 model was executed on the CPU, it ran as FP32 by default and produced valid results.
  • After enforcing FP16 execution on the CPU using the INFERENCE_PRECISION_HINT set to f16, the model produced incorrect prediction values and failed to localize the region consistently, indicating numerical instability in FP16 precision.

Resolution

When a model produces very small or precise numerical outputs (e.g. localization models), running inference with a lower-precision format, like FP16, may impact accuracy. In such scenarios, it is recommended to execute the model inference using FP32 precision.

By default, OpenVINO dynamically chooses the best precision format during runtime. Forcing the execution to a fixed precision (e.g. using INFERENCE_PRECISION_HINT="f16") will affect the results accuracy for models designed to run at higher precision formats.

Additional information

For detailed information on precision control, refer to OpenVINO Precision Control.

Related Products

This article applies to 1 products.