-
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
Can ORT be built with BuildTools 16.11? #17693
Comments
Given build had used following tools:
|
No. |
Hi @snnn Thank you for the given recommendation to regarding VisualStudio version change. If you have a straight forward recommendation to use a specific version of VisualStudio which can solve the described above issue we will appreciate such a guidance. |
We are preparing a patch release: ONNX Runtime 1.16.1. It will be built with Visual Studio 2022 17.7. I don't have experience with BuildTools, would love to learn more about it. |
@nv-kmcgill53 We've not tested with 17.7. It's best to use 17.6 given this compiler issue. |
I've tried to build it with BUILDTOOLS_VERSION: Any ideas are welcome to help us understand the root cause... |
Even in Release mode, VC still can generate debug symbols. The symbols usually are in separated PDB files. I think as the first step we should get a stacktrace when the crash happened. However, the stacktrace might not contain the culprit function, because the heap corruption might already happened much earlier. But it is still helpful. I don't except something was wrong in the compiler. I expect it would be a code error in Tritonserver and its dependencies ( like ORT). We need more information to proceed. You can also try application verifier, which is what we usually use for debugging memory issues. |
This issue has been automatically marked as stale due to inactivity and will be closed in 7 days if no further activity occurs. If further support is needed, please provide an update and/or more details. |
Describe the issue
Tritonserver is seeing a compiler regression when using BuildTools 17. My understanding is that ORT 1.16.0 must be built with BuildTools 17, is it possible to build ORT with BuildTools 16.*?
When building Tritonserver using BuildTools 17 with
Release
flags set, At runtime we observe a heap corruption error https://stackoverflow.com/questions/23471161/critical-error-detected-c0000374-c-dll-returns-pointer-off-allocated-memory. However, when building aDebug
version of the application, we see no error and proper functionality.If we are able to build ORT with an earlier version of BuildTools, this would unblock us as we can revert the version we are using to build our application.
To reproduce
N/A
Urgency
This is urgent as it's blocking our windows release
Platform
Windows
OS Version
mcr.microsoft.com/windows:10.0.19042.1889
ONNX Runtime Installation
Built from Source
ONNX Runtime Version or Commit ID
1.16.0
ONNX Runtime API
C++
Architecture
X64
Execution Provider
CUDA, TensorRT
Execution Provider Library Version
CUDA 12.2.1
The text was updated successfully, but these errors were encountered: