PyTorch media stack consolidated: TorchCodec now handles all image/video/audio decoding

lmoroney · x · 2026-10-07

After two years of consolidation, PyTorch's media stack has settled: TorchCodec now handles all decoding/encoding for images, video, and audio on CPU and CUDA (generally faster than old paths, especially CUDA video decoding). TorchVision and TorchAudio focus on transforms with old I/O APIs deprecated or removed (TorchVision image decoding deprecated since 0.29). All three libs are ABI stable. Pipeline maintainers should audit imports and port to VideoDecoder/AudioDecoder.

Related event: PyTorch Unifies Media Stack Around TorchCodec(3 posts)→

Original post →

More from Infra

Infra channel →