Inconsistent Results for Output v1_0 After ONNX Runtime Optimization (Flaky Test) #23143
Labels
model:transformer
issues related to a transformer model: BERT, GPT2, Hugging Face, Longformer, T5, etc.
Describe the issue
I encountered an issue where the results from the optimized ONNX model are inconsistent with the original unoptimized model. Specifically, the output v1_0 is inconsistent, and the discrepancy occurs intermittently (flaky test). This issue arises after applying different optimization levels (opt_level=0, 1, 2, 99), though it does not occur consistently in every test.
The following error is reported when comparing the results from the optimized and original models:
Could anyone tell me why the v1_0 output is inconsistent after applying optimizations? Specifically, I'd like to understand the cause of this intermittent discrepancy and whether there are optimizations that could be adjusted to improve the consistency of the results.
To reproduce
Urgency
No response
Platform
Linux
OS Version
Ubuntu 20.04
ONNX Runtime Installation
Built from Source
ONNX Runtime Version or Commit ID
5c1b7cc
ONNX Runtime API
Python
Architecture
X64
Execution Provider
CUDA
Execution Provider Library Version
No response
The text was updated successfully, but these errors were encountered: