nvidia / nsight-training Goto Github PK
View Code? Open in Web Editor NEWTraining material for Nsight developer tools
License: Other
Training material for Nsight developer tools
License: Other
Hello everyone
I am working on a pytorch object tracking model to convert it to tensorrt for faster inference
When inferencing tensorrt with a single batch the model is about 2x faster, but when adding batches, it becomes SLOWER
batch of 1 inference time:
pytorch - 40ms
tensorrt - 20ms
batch of 8 inference time:
pytorch - 50ms
tensorrt - 85ms
When adding batches the inference time on pytorch pretty much doesn't increase, but inferencing time with tensorrt engine increases significantly!!!
Can anybody help, why is the speed regression happening?
I have exported the model with batch size 1 and batch size 4 to nsight systems:
1 batch inference test: https://drive.google.com/file/d/1achvISpSc1pvlV2RLfSNLxCLlRsZHcnT/view?usp=sharing
4 batch inference test: https://drive.google.com/file/d/1ZuHsO28LIlETNIcWk6lh7miv2Lovco9D/view?usp=sharing
Can anybody with experience in Nvidia NSight help me understand these graphs and compare them to know where and why the performance reggression is happening?
Thank you
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.