You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The outputs of an ONNX model optimized with ONNXRuntime show discrepancies compared to the original model, particularly for outputs C and D, which are related to the BiasDropout operator.
Actual Behavior:
Traceback (most recent call last):
...
np.testing.assert_allclose(r1, r2, atol=1e-3, rtol=1e-3)
File "/root/miniconda3/lib/python3.12/site-packages/numpy/testing/_private/utils.py", line 1504, in assert_allclose
assert_array_compare(compare, actual, desired, err_msg=str(err_msg),
File "/root/miniconda3/lib/python3.12/contextlib.py", line 81, in inner
return func(*args, **kwds)
^^^^^^^^^^^^^^^^^^^
File "/root/miniconda3/lib/python3.12/site-packages/numpy/testing/_private/utils.py", line 797, in assert_array_compare
raise AssertionError(msg)
AssertionError:
Not equal to tolerance rtol=0.001, atol=0.001
Mismatched elements: 1011 / 3072 (32.9%)
Max absolute difference: 9.99115
Max relative difference: 10.000002
x: array([[[0.589064, 6.314322, 0.172512, ..., 0.03122 , 0.27859 ,
0.55074 ]]], dtype=float32)
y: array([[[0.589064, 0.574029, 0.172512, ..., 0.343425, 0.27859 ,
6.058143]]], dtype=float32)
Describe the issue
The outputs of an ONNX model optimized with ONNXRuntime show discrepancies compared to the original model, particularly for outputs
C
andD
, which are related to theBiasDropout
operator.Actual Behavior:
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: