-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
debug result is ok, release get NaN output #23440
Comments
Please reduce the optimization level from -O3 to -O2 or -O1 and report the results. |
test -Od -O1 -O2 -Ox, still get NaN. |
I tested ONNX runtime vesion 1.18.1 and 1.20.1 with visual studio 2022 with -O2 optimization level,get the same result. |
@kassinvin It seems the issue might be caused by the input or output data variables not being allocated sufficient memory or being cleared unintentionally. If you could provide a complete test code, it would make it easier for everyone to assist you. |
Describe the issue
Platform
windows 10
Visual Studio Version
17
ONNX Runtime Installation
download from released package
ONNX Runtime Version or Commit ID
1.15.1
ONNX Runtime API
C++
Architecture
X64
Execution Provider
GPU RTX 2080
Model
SAM Decoder
Result
Debug:
Release:
To reproduce
Code
Urgency
No response
Platform
Windows
OS Version
10
ONNX Runtime Installation
Released Package
ONNX Runtime Version or Commit ID
1.15.1
ONNX Runtime API
C++
Architecture
X64
Execution Provider
CUDA
Execution Provider Library Version
CUDA 11.1
The text was updated successfully, but these errors were encountered: