TorchCodec 1.0 makes PyTorch’s media APIs officially stable
The PyTorch team released TorchCodec 1.0, marking its media APIs as stable. The library converts video, audio, and images into PyTorch tensors for training and inference and can encode tensors back into media. Version 1.0 includes low-level APIs that separate reading compressed packets, decoding them, and converting the output. Developers can run those stages in parallel or work directly with raw video frames for custom color conversion. TorchCodec is available through pip on Linux, macOS, and Windows. The Linux wheels include CUDA support, and the library works with system installations of FFmpeg versions 4 through 9.
Why it matters
Teams building multimodal systems can use the same library to prepare model inputs and encode generated outputs. The low-level controls let them tune decoding for their own workloads.
Sources
- OpenAI expands ChatGPT dots to Plus users worldwide
- OpenAI adds Salesforce marketing and quoting workflows to ChatGPT beta
- GitHub adds per-model Copilot token counts to its billing API
- GitHub adds account IDs to AI usage and premium request reports
- Hugging Face adds Voice Code Bench to its speech recognition leaderboard