Dev: You Can Now Build Full Inference Pipelines in C++/CUDA Without PyTorch

TheAhmadOsman · x · 2026-11-30

Ahmad Osman argues PyTorch is becoming optional: you can build the entire inference pipeline in C++ with CUDA/Vulkan/Metal backends for faster inference and a smaller footprint.

Developer gandamuml corroborates: 6 months ago he trained image and video models using only C++ and CUDA, including a fully trained from-scratch video model in 10 minutes (on modest hardware, aimed at fast iteration cycles). He had LLMs write PyTorch first, then port down to CUDA — a step he now considers unnecessary.

Related event: Debates Grow Over Dropping PyTorch for Pure C++/CUDA Pipelines(2 posts)→

Original post →

More from Infra

Infra channel →