Comments (3)
Recommendation provided in the Issue #409 builds DLR successfully for TRT8 however, using a model compiled with Neo for a previous revision of TRT (JetPack4.4) crashes with a SEGFAULT during Inference.
from neo-ai-dlr.
Hi @mycpuorg
What is the model you were testing?
from neo-ai-dlr.
I rebuilt DLR with release-1.10.0 branch and replaced libdlr.so in the package from Neo service.
The model is able to inference with no error, the test script I used.
import dlr
import numpy as np
import os
import time
os.environ["TVM_TENSORRT_CACHE_DIR"] = "."
m=dlr.DLRModel("./compiled_model", "gpu", 0)
x = np.random.rand(1, 3, 224, 224)
for _ in range(100):
y = m.run(x)
start = time.time()
iterations = 100
for _ in range(iterations):
y = m.run(x)
elapse = time.time() - start
print("m elapse: ", elapse/iterations)
# m elapse: 0.003999626636505127
from neo-ai-dlr.
Related Issues (20)
- dlr 1.7.0 pip wheel for x86_64 target HOT 1
- importing dlr prodcuing error
- CudaLaunchError : CUDA_ERROR_LAUNCH_OUT_OF_RESOURCES
- "make install" is not supported (CMAKE_INSTALL_PREFIX) HOT 1
- Neo, XGBoost, and ONNX
- CUDA driver version is insufficient for CUDA runtime version HOT 1
- Failed to initialize Lambda runtime due to exception: No module named 'dlr' HOT 1
- Unhashable type: dict
- How to get accuracy using dlr runtime??
- SetDLROutputTensorZeroCopy
- Can we add treelite specific backend? HOT 1
- DLR Building on Jetson Device Throws unhandled errors HOT 2
- A question about GIL
- I am Building on a BeagleBone AI-64 and Receiving the Below Errors... HOT 3
- Cannot disable Phone Home from read-only filesystem
- Planned support for Neuron runtime?
- Not working with jetpack 4.6 HOT 1
- Segmentation fault (core dumped) on the Jetson Nano
- Jetpackt 4.6 support HOT 1
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 neo-ai-dlr.