Open w4-jinhyeonkim opened 3 months ago
@w4-jinhyeonkim thank you for reaching the OpenVINO!
Issue is in the way CPU executes the Subtract + Equal ops. Attaching the execution graph model_exec.txt
@mg-intel please assign someone to take a look
These operations are actually executed in float precision, thus there can be accuracy deviation of values exceeding the float mantissa. There is no plan to implement them in int32 at the moment. @w4-jinhyeonkim where did you encounter this issue? Is it a real model or just some tests?
Thanks for the reply, @nshchego
I encountered this problem on a real model and had a hard time figuring out the cause of the problem 😅
(a-b).eq(0)
works on my model so I have no trouble now.
Maybe you could provide some warnings somewhere on the doc?
OpenVINO Version
2024.1.0
Operating System
macOS Systems for Intel CPU
Device used for inference
CPU
Framework
ONNX
Model used
No response
Issue description
ONNX equal operator on
int32
acts weirdly when running with openvino runtimeStep-by-step reproduction
Pip dependency
Python code
Run the following python code
Relevant log output
Issue submission checklist