briggers
PyTorch Performance Features and How They Interact
I write fairly deep ML performance tuning articles at https://paulbridger.com and the (many) hours I've spent on each article have been hugely worth it.
Many people reach out to me via this work, and when we talk they already see me as an expert or already want to work with me.
I need to blog more, thanks for the reminder.
docker run -d -p 5000:5000 --name registry registry:2
https://docs.docker.com/registry/#:~:text=The%20Registry%20i....
Wombo Dream: prompt-guided generative art
Solving Machine Learning Performance Anti-Patterns: A Systematic Approach
Solving Machine Learning Performance Anti-Patterns: A Systematic Approach
It’s less about saving the time to re-run something, and more about removing conceptual overhead (I think).
Analyzing the performance of Tensorflow training on M1 Mac Mini and Nvidia V100
Object Detection at 2530 FPS with TensorRT and 8-Bit Quantization
Optimizing models using the PyTorch JIT
Mastering TorchScript: Tracing vs. Scripting, Device Pinning, Graph Modification
Mastering TorchScript: Tracing vs. Scripting, Device Pinning, Graph Modification
Object Detection at 1840 FPS with TorchScript, TensorRT and DeepStream
To me, seeing the GIL held for 40% of time and significant time spent waiting on GIL by other threads was a fairly strong indicator. Keen to hear your thoughts/experience on it.
Everything lostdog says. I've had experience speeding up tracking immensely using the same big hammer I talk about in the article - moving the larger parts of tracking compute to GPU.
Also, in a tracking pipeline you'll generally have the big compute on pixels done up front. Object detection and ReID take the bulk of the compute and can be easily batched and run in parallel. The results (metadata) can then be fed into a more serial process (but still doing the N<->N ReID comparisons on GPU).
Alternatively, there are some quite fast OSS libraries for object detection. Nvidia's retinanet will export to a TensorRT engine which can be used with DeepStream.
Completely agree that almost none of the SoTA github repos are really ready for production and making this stuff work can be pretty hard.
Getting this done on C++ and moving up to the next level of performance is the focus of my next article :)
Object Detection from 9 FPS to 650 FPS
More useful to me would be something similar that operates on tensors on the GPU.
Doing image annotations on host/CPU often becomes a bottleneck.