-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Closed
Description
Describe the issue
When building ONNX Runtime in Debug configuration, inference consistently fails for all models tested (e.g., SqueezeNet, AlexNet). The same models run successfully with a Release build. This issue appears to be isolated to the Debug build configuration and is reproducible across different models.
The inference attempt in Debug mode results in the following error (attached below), indicating a possible issue in debug-specific assertions, memory checks, or internal state validations.

To reproduce
- git clone --recursive https://github.com/microsoft/onnxruntime
- cd onnxruntime
- build.bat --config Debug --build_shared_lib --parallel
- cd build/Windows/Debug/Debug
- onnxruntime_perf_test.exe -v -m times -r 1 -I "C:\Users\Administrator\Downloads\squeezenet1.1-7.onnx"
Urgency
No response
Platform
Windows
OS Version
Windows
ONNX Runtime Installation
Built from Source
ONNX Runtime Version or Commit ID
main
ONNX Runtime API
C++
Architecture
X64
Execution Provider
Default CPU
Execution Provider Library Version
No response
Metadata
Metadata
Assignees
Labels
No labels