Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 0 additions & 7 deletions src/torchcodec/decoders/_video_decoder.py
Original file line number Diff line number Diff line change
Expand Up @@ -149,13 +149,6 @@ def __init__(
# TODONVDEC P2 rename 'default' into 'ffmpeg' everywhere.
device_variant = "default"

# Legacy support for device="cuda:0:beta" syntax
# TODONVDEC P2: remove support for this everywhere. This will require
# updating our tests.
if device == "cuda:0:beta":
device = "cuda:0"
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is the actual removal. Everything else in this PR is a consequence of that change - mostly just changing how we use the BETA backend in existing tests.

device_variant = "beta"

core.add_video_stream(
self._decoder,
stream_index=stream_index,
Expand Down
Loading
Loading