Comments (2)
You will also need to link libtorchtrt.so
or libtorchtrt_runtime.so
. Note that since there is no direct code dependency for this library, it must be linked with -Wl,--no-as-neeed
so that it wont get optimized out by the compiler. More details can be found here: https://pytorch.org/TensorRT/user_guide/runtime.html
from tensorrt.
Thank you so much!
Adding this line did fix the problem :)
target_link_libraries(example-app -Wl,--no-as-needed "/usr/local/lib/python3.8/dist-packages/torch_tensorrt/lib/libtorchtrt.so")
from tensorrt.
Related Issues (20)
- 🐛 [Bug] FAILED conversion\test_rand_aten.py
- ✨[Feature] Handling Scalar type outputs on the boundry between TensorRT and PyTorch subgraphs
- 🐛 [Bug] An assertion error when upgrading to enqueueV3 interface
- ❓ [Question] How to solve this warning: Detected this engine is being instantitated in a multi-GPU system with multi-device safe mode disabled. HOT 6
- 🐛 [Bug] RuntimeError: [Error thrown at core/util/trt_util.cpp:320] Expected type to be true but got false HOT 2
- ✨[Feature] Autogen TRT Plugins
- 🐛 [Bug] Nightly import fails HOT 2
- ❓ [Question] Model inference is much slower after updating to TensorRT 9.3 HOT 1
- 🐛 [Bug] failed to install torch-tensorrt HOT 1
- 🐛 [Bug] error: backend='torch_tensorrt' raised: TypeError: pybind11::init(): factory function returned nullptr HOT 4
- aten.atan2.out
- ❓ [Question] How to specific aten operators must be run by LibTorch in C++? HOT 7
- 🐛 [Bug] Llama-2-7b on a 4090 GPU
- Add support for `torch.ops.aten.baddbmm.default`
- Add support for `torch.ops.aten.full_like.default`
- Remove `ShapeProp` Pass
- 🐛 [Bug] A Segmentation fault occurs when torchtrt::ts::compile using Torch-TensorRT HOT 2
- 🐛 [Bug] torch.export fails to export embedding_bag_aten layer in a standalone test HOT 2
- ↔ [Converter] Add support for aten.diagonal
- 🐛 [Bug] Unable to freeze tensor of type Int64/Float64 into constant layer HOT 4
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 tensorrt.