[Bug]: [ARM] INT8 inference produces incorrect results on Apple M4 Max
OpenVINO Version
2026.0.0-20965-c6d6a13a886-releases/2026/0
Operating System
macOS Systems for Apple Silicon
Device used for inference
CPU
Framework
PyTorch
Model used
MobileNetV2
Issue description
INT8 quantized models produce ~10% accuracy (random guessing) on Apple M4 Max while the same models run correctly on Apple M1 and Intel x86. FP32 inference works correctly on all platforms.
Expected: INT8 accuracy ~93.5% (matching FP32, as documented for ARM simulation mode) Actual: INT8 accuracy ~10% on M4 Max regardless of which platform the model was quantized on
Forcing INFERENCE_PRECISION_HINT=f32 has no effect on M4 Max, while it works correctly on M1. Full reproduction and cross-platform results: OpenVINO-ARM-Int-8-Bug
Step-by-step reproduction
-
Clone this repository:
git clone https://github.com/Passavee-Losripat/OpenVINO-ARM-Int-8-Bug.git cd OpenVINO-ARM-Int-8-Bug -
Install dependencies:
pip install -r requirements.txt -
Open the notebook and connect to your kernel:
-
Run all cells in order.
Relevant log output
Issue submission checklist
- [x] I'm reporting an issue. It's not a question.
- [x] I checked the problem with the documentation, FAQ, open issues, Stack Overflow, etc., and have not found a solution.
- [x] There is reproducer code and related data files such as images, videos, models, etc.
I can independently reproduce this catastrophic accuracy drop on an Apple M4 Mac Mini (ARMv9). The INT8 quantization noise is completely breaking the signal, but it is not happening during the convolution operations as one might expect.
I wrote a targeted topological extraction probe to align and isolate the post-convolution anchor nodes (comparing FP32 vs. INT8 execution directly on the M4 CPU).
The primary feature extractor (standard Convolution and GroupConvolution blocks) is actually functioning correctly with a bounded MAE below 0.007. The catastrophic failure occurs exactly at the Residual Connections (Element-wise Add) within the Inverted Residual blocks.
Here is the absolute error extraction for the early residual Add nodes:
aten::conv2d/Add| MAE:0.085947| Max Err:0.342285aten::conv2d/Add_1| MAE:0.068131| Max Err:0.515869aten::conv2d/Add_2| MAE:0.523024| Max Err:1.669434-> [Point of Catastrophic Failure]
The Add_2 node (shape 1, 16, 32, 32) introduces a massive 1.669 Max Error, which completely destroys the signal-to-noise ratio for all subsequent layers, leading to the 10% random-guess accuracy at the final classifier.
Given the math of INT8 asymmetric eltwise addition
$S_Y(q_Y - Z_Y) = S_A(q_A - Z_A) + S_B(q_B - Z_B)$
, this strongly indicates that the ARM Compute Library (ACL) SVE2/Neon kernel on M4 is failing the requantization/scale-alignment step during the addition of tensors with different scales. It's likely an int32 accumulator overflow, an incorrect broadcast of the scale/zero-point vectors, or a broken SME instruction dispatch within the gemm_acl_s8 routine for Eltwise Add.
Hello @jaweed3
Could you please try with OpenVINO nightly and see if the issue persists? You may download the nightly version via the following command:
pip install --pre openvino openvino-tokenizers openvino-genai --extra-index-url https://storage.openvinotoolkit.org/simple/wheels/nightly
@Wan-Intel @mg-intel
I've confirmed fixed in OpenVINO nightly 2026.2.0.dev20260430
Test Results on Apple M4 base:
- INT8 Accuracy: 93.53% (from ~10% previously)
- Residual connection: Normal output range [1.76-15.58], no NaN/Inf
- M1-quantized on M4: 93.53%
- Intel-quantized on M4: 93.53%
Thank you @jaweed3 for sharing the information.
Closing, feel free to re-open or start a new issue if additional assistance is needed.