Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Nov 25, 2025

Bumps torchcodec from 0.7.0 to 0.8.1.

Release notes

Sourced from torchcodec's releases.

TorchCodec 0.8.1

We are releasing TorchCodec 0.8.1 which is bug-fix release, compatible with torch 2.9.

The fix

In 0.8 we introduced our new "beta" backend which is much faster than our existing CUDA decoder (try it!!). But we also introduced a hard dependency on libnvcuvid.so, which isn't always available on the users machine. This would cause issues when import torchcodec was run.

We have now removed the hard dependency on libnvcuvid.so: if it cannot be found at runtime, the VideoDecoder will gracefully fallback to the CPU. This should resolve a lot of the ongoing import torchcodec errors. We're working on exposing an API that allows the user to know whether they're falling back to the CPU.

Thanks again to @​traversaro for the original diagnosis and for the help testing the fix on Windows!

Enhancement

We also added support for FFmpeg 8 on Windows - we now support FFmpeg 4, 5, 6, 7, and 8 across all platforms (Linux, MacOS and Windows).

TorchCodec 0.8

TorchCodec 0.8 is out, and is compatible with torch 2.9!

Faster GPU decoding!

Faster video decoding on GPU is available, with our new Beta CUDA backend! We have observed up to 3x speedups compared to our previous GPU decoding implementation, and up to 90% NVDEC utilization.

We are releasing it as a Beta feature that we will polish over time, but we are confident it is ready to use, and we are eager to hear your feedback! Eventually, this Beta backend will become the default.

To use it, you just need to specify the "beta" backend when creating the VideoDecoder instance:

from torchcodec.decoders import set_cuda_backend, VideoDecoder
with set_cuda_backend("beta"):
dec = VideoDecoder("file.mp4", device="cuda")
All existing methods are supported
batch = dec.get_frames_at(...)

Custom Frame Mappings

Video decoding now accepts pre-computed frame index data for faster VideoDecoder instantiation speeds, while maintaining exact frame seeking accuracy.

Read more about this feature in our tutorial!

Enhancements

  • #935, #947 - Enabled compatibility with FFmpeg8 for Linux and Mac
  • #899 - More robust support for 10-bit videos on CUDA.
  • #915 - Added support for tensor indices in dec.get_frames_at(indices) and for timestamps in dec.get_frames_played_at(timestamps).

Bug fixes

  • #901 - Fixed a rare floating point error in clips_at_regular_timestamps()
Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [torchcodec](https://github.com/pytorch/torchcodec) from 0.7.0 to 0.8.1.
- [Release notes](https://github.com/pytorch/torchcodec/releases)
- [Commits](meta-pytorch/torchcodec@v0.7.0...v0.8.1)

---
updated-dependencies:
- dependency-name: torchcodec
  dependency-version: 0.8.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update python code labels Nov 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

category: GGUF GGUF file reader category: tests dependencies dependencies Pull requests that update a dependency file python Pull requests that update python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants