Re:TorchCodec 0.14: HDR Video Decoding for CPU and CUDA, and...
by alphatozeta on Monday June 15, 2026 @01:43AM
(#48537047)
its really fast and the performance is great, but its really unfortunate it requires torch>=2.11
Too many NVIDIA libraries are still using 2.10 or an alpha version of 2.11 that doesn't have c++ methods used by torchcodec's underlying C++ code like use_blob and a few others. I had to fall back to ffmpeg-python unfortunately
[ Parent
| on HN ]
Re:TorchCodec 0.14: HDR Video Decoding for CPU and CUDA, and...
by scott_s on Monday June 15, 2026 @10:56AM
(#48542215)
You can get older version of TorchCodec that work with older version of PyTorch, but it unfortunately will not have the new features (HDR video decoding; fast Wav decoding) in the latest release. See the compatbility matrix: https://github.com/meta-pytorch/torchcodec#compatibility-wit...
Up until recently, TorchCodec releases worked with one-and-only-one version of PyTorch. This is because up until recently, PyTorch did not have a stable ABI, and we needed to pin TorchCodec releases to PyTorch releases. But! PyTorch now has an excellent Stable ABI (https://github.com/meta-pytorch/torchcodec#compatibility-wit..., https://www.youtube.com/watch?v=HNdEmnvMvGE&t=1s) and TorchCodec is taking advantage of that since version 0.12.
Re:TorchCodec 0.14: HDR Video Decoding for CPU and CUDA, and...
by scott_s on Monday June 15, 2026 @05:38PM
(#48547353)
I was copying URLs fast-and-furious. The PyTorch Stable ABI reference is: https://docs.pytorch.org/docs/2.12/notes/libtorch_stable_abi...