Skip to content

Update dependency torchcodec to v0.14.0#9

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/pytorch
Open

Update dependency torchcodec to v0.14.0#9
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/pytorch

Conversation

@renovate

@renovate renovate Bot commented Jun 5, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
torchcodec ==0.13.0 β†’ ==0.14.0 age confidence

Release Notes

pytorch/torchcodec (torchcodec)

v0.14.0: TorchCodec 0.14: HDR Video Decoding for CPU & CUDA, and Fast Wav Decoder

Compare Source

TorchCodec 0.14 is out! It is compatible with torch >= 2.11. It comes with two major additions: a fast audio WavDecoder, and support for HDR video decoding!

Fast wav decoder

Inspired by SDPL's fast wav decoder, TorchCodec now has a dedicated WavDecoder for decoding WAV files. It bypasses FFmpeg entirely and reads WAV data directly, resulting in significantly faster decoding. It supports multiple sample formats (int16, int32, float32, etc.), and can decode from files, bytes, or file-like objects.

from torchcodec.decoders import WavDecoder

decoder = WavDecoder("audio.wav")
samples = decoder.get_all_samples()  # AudioSamples with data and sample_rate

Read more in our docs.

HDR Video Decoding

VideoDecoder now supports HDR (High Dynamic Range) video decoding without losing precision. When output_dtype=torch.float32 is specified, the decoder outputs RGB float32 frames in [0, 1], preserving the full HDR color range. This is supported for both CPU and CUDA!

import torch
from torchcodec.decoders import VideoDecoder

decoder = VideoDecoder("hdr_video.mp4", output_dtype=torch.float32)
frame = decoder[0]  # Full HDR precision in float32

Read more in our docs.

⚠️ This feature is in beta stage, so behavior may slightly change depending on user feedback. Let us know if you encounter any issue!

Other Improvements
  • Improved audio seeking: AudioDecoder seeking is now much faster (#​1449)
  • Dropped NPP dependency: TorchCodec no longer depends on NVIDIA's NPP library, which will simplify installing and using TorchCodec for CUDA decoding.
Bug Fixes
  • Fix a rare crash scenario during process teardown with the CUDA decoder (#​1441)
  • Fix CUDA decoding of videos with odd dimensions(#​1462)

Configuration

πŸ“… Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

β™» Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

πŸ”• Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate Bot force-pushed the renovate/pytorch branch 2 times, most recently from e56b4fa to 481f84c Compare June 18, 2026 02:08
@renovate renovate Bot force-pushed the renovate/pytorch branch from 481f84c to 1d0fe3a Compare June 20, 2026 01:07
@renovate renovate Bot changed the title Update PyTorch dependencies to v0.14.0 Update PyTorch dependencies (minor) Jun 22, 2026
@renovate renovate Bot changed the title Update PyTorch dependencies (minor) Update dependency torchcodec to v0.14.0 Jun 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants