I ported more than 600 model configurations to a faster PyTorch version. To further speed it up, I added custom CUDA kernels.
Popular models like depth anything 3 are this way 5 times faster, while requiring only 40% of the memory. Segment Anything 3 is 2.4 times faster or dinov3-vitl16 is 3.4 times faster. Most models get a speedup in the range 3-5x.
All models also have comfyui nodes, are tested at Windows and Linux and even have a MLX port to run faster on Apple devices. ONNX and TensorRT export works for all models, that are not blocked by bugs within TensorRT. The Custom CUDA Kernels often offer similar speed like TensorRT without the drawback that you need to compile it beforehand for a given image size. They get downloaded when required and don’t require additional installed libraries. The required memory is also often smaller with library than with tensorrt.
kleinicke•7m ago
All models also have comfyui nodes, are tested at Windows and Linux and even have a MLX port to run faster on Apple devices. ONNX and TensorRT export works for all models, that are not blocked by bugs within TensorRT. The Custom CUDA Kernels often offer similar speed like TensorRT without the drawback that you need to compile it beforehand for a given image size. They get downloaded when required and don’t require additional installed libraries. The required memory is also often smaller with library than with tensorrt.