Comments (7)
@JulienTheron
Could you help change the build script here ?
-or (args.use_tensorrt and args.use_tensorrt_oss_parser)
+or args.use_tensorrt
to use protobuf?
The issue is because when building Debug on Windows, ORT will implicitly use oss onnx-tensorrt parser rather than built-in parser due to known issue of msvc. And oss onnx-tensorrt requires protobuf not protobuf-lite.
from onnxruntime.
We will have a fix for it.
And for the upcoming TRT 10 GA, onnx-tensorrt parser will support protobuf-lite and TRT EP can then move to protobuf-lite completely.
from onnxruntime.
Thanks for the quick response. I think the issue is linked to #20368. I will try to build the correct tag and will get back to you.
from onnxruntime.
It seems QSpectre is enabled by default now, unless --enable_address_sanitizer
is set.
I'm not sure if this is by design, but I updated my build script to replace --disable_memleak_checker
with --enable_address_sanitizer
and the build succeeded!
Thanks.
from onnxruntime.
I just found out that enabling the address sanitizer is not a good solution for us as it relies on the presense of clang_rt.asan_dynamic-x86_64.dll at runtime, which is not a good idea when you ship a DLL to your users.
So currently, we're stuck with being forced to enable QSpectre when building ORT v1.17.3, which breaks the build as those prerequisites are not installed with Visual Studio by default.
Any idea if this can be fixed before 1.18?
from onnxruntime.
Could you help change the build script here ?
-or (args.use_tensorrt and args.use_tensorrt_oss_parser)
+or args.use_tensorrt
just wondering did you try above?
i can repro from my side and this issue is because of using protobuf-lite when building the onnx-tensorrt parser.
update: had a PR for this issue.
from onnxruntime.
Yes I did try your fix and it works fine on the main branch, but it's not applicable for 1.17.3 as the build script is different.
The issue now is that QSpectre is always enabled when building 1.17.3. I think I'll open a new issue for that.
Thanks.
from onnxruntime.
Related Issues (20)
- User-provided session logging function is not used for every log HOT 6
- NOT_IMPLEMENTED : Could not find an implementation for ReduceProd(18) node with name 'p2o.ReduceProd.0' HOT 1
- [Performance] Quadratic behaviour in list operations with SequenceInsert in onnx HOT 1
- [Build] [CANN] Failed to build CANN provider with training and Python bindings HOT 1
- ONNX Runtime doesn't support the graph optimization of vision-encoder-decoder yet HOT 1
- cannot resolve operator 'HardSwish' with opsets: ai.onnx v9 [Web] HOT 1
- cuda's FusedConv is not support Sigmod HOT 2
- [Mobile] Subgraphs duplicate initializers in RAM during execution HOT 9
- [Web] The YOLOv8 segmentation model with batching option is not runing on the GPU ? HOT 3
- [Performance] Regression observed when using CUDA execution provider HOT 16
- Onnxruntime-directml 1.18.0 broken multithreading inference session HOT 13
- [Build] 0.18.0 release breaks Hummingbird build pipeline HOT 5
- Windows ARM64 & X64 CLIP Image Encoder different results HOT 2
- .. HOT 1
- [Feature Request] Get device ids via get_available_device_ids()
- [Training] IR version incompatibility in artifact generation for on-device training HOT 5
- npm install provides error on onnxruntime: 404 URL not found. HOT 2
- [Build] GCC Linker can't find re2 HOT 3
- [Web] `executionProviders` chain for `webnn` fallback does not work on init error HOT 29
- pip install failure for onnxruntime-gpu==1.9.0 HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from onnxruntime.