duduhedangdang opened a new issue, #18100:
URL: https://github.com/apache/tvm/issues/18100
### Expected behavior
TVM-compiled model should match PyTorch reference within `rtol=0.01`,
`atol=0.001`.
### Actual behavior
Mismatch detected in tensor **o2** (layer index 2):
### Environment
| Item | Value |
|------|-------|
| TVM | v0.9.dev |
| OS | Ubuntu 20.04 |
| Python | 3.8.13 |
| LLVM | 10.0.0 |
###Error
tvm-omax v.s. PyTorch mismatch in #2 tensor named o2:
Not equal to tolerance rtol=0.01, atol=0.001
Mismatched elements: 1 / 8 (12.5%)
Max absolute difference: 87176.266
Max relative difference: 10.557457
x: array([[[[ 1.533974e+00],
[-4.493160e+00]],
...
y: array([[[[ 1.533026e+00],
[-4.493160e+00]],
...
[2025-04-27-19-25-44_none_opt2.zip](https://github.com/user-attachments/files/20961712/2025-04-27-19-25-44_none_opt2.zip)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]