Chips & infrastructure · · first reported by PyTorch
TorchCodec 1.0: The Media Layer of PyTorch
PyTorch announced TorchCodec 1.0, making official a media library that decodes and encodes video, audio and images as PyTorch tensors and media files. The project says TorchCodec has been used in production for more than two years and supports multimodal training and inference; libraries and systems including Hugging Face datasets, Transformers and LeRobot, as well as vLLM and SGLang, use it for media decoding. Its high-level APIs handle common decoding tasks, while new low-level APIs expose separate demuxing, decoding and conversion stages for more control. These APIs enable options such as multithreaded or multiprocess pipelines, raw YUV access, custom color conversion and decoding packets outside a container. The library supports CPU and GPU workflows, including NVIDIA hardware-assisted video and image decoding, and can encode media from model-generated tensors. PyTorch says the 1.0 release also brings performance controls that coding agents can help tune for particular workloads.
How we know ConfirmedConfirmedA primary source backs it: the company’s own announcement, a filing, a research paper, or the released model or code.
checked · updates as sources arriveConfirmed: PyTorch’s own announcement.
Crunch Score shows how loud a story is. Sourcing shows how well it is backed. Checked automatically, with AI comparing the reports.