-
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
[Build] Why does TensorRT EP need the full version of protobuf? #18040
Comments
it's because TensorRT EP has a dependency on onnx-tensorrt and that doesn't support protobuf-lite |
Is building ort without full protobuf expected to fail? In my environment it successfully finished building. |
does it work at runtime? |
Hi comment that line gets ort tensorrt without problems. now need test runtime (fixed(?) #15131 ) greetings |
@jywu-msft At least, |
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. |
ping? |
FYI: #18413 |
oh. ok. then need wait to release 1.16.3 greetings |
sadly, seems tensorboard now needs full protobuf
:( |
Describe the issue
With TensorRT 8.6.1 and
--enable_training
, I encountered the same problem mentioned at #15131.After digging into build scripts, I figured out that this line is the culprit for my case.
By forcing
onnxruntime_USE_FULL_PROTOBUF=OFF
, I was able to build onnxruntime without errors.Does different version of TensorRT need the full protobuf? Even if so, I'd like to know the right way to build ORT with tensorrt and training enabled.
Urgency
Not urgent, but at least I'd like to know a better way to resolve this if any.
Target platform
Linux
Build script
Error / output
Exactly the same as #15131
Visual Studio Version
No response
GCC / Compiler Version
gcc 9.4.0
The text was updated successfully, but these errors were encountered: