Skip to content

Commit e358d5b

Browse files
committed
Remove legacy support of device='cuda:0:beta'
1 parent 48b07cc commit e358d5b

File tree

3 files changed

+105
-72
lines changed

3 files changed

+105
-72
lines changed

src/torchcodec/decoders/_video_decoder.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -149,13 +149,6 @@ def __init__(
149149
# TODONVDEC P2 rename 'default' into 'ffmpeg' everywhere.
150150
device_variant = "default"
151151

152-
# Legacy support for device="cuda:0:beta" syntax
153-
# TODONVDEC P2: remove support for this everywhere. This will require
154-
# updating our tests.
155-
if device == "cuda:0:beta":
156-
device = "cuda:0"
157-
device_variant = "beta"
158-
159152
core.add_video_stream(
160153
self._decoder,
161154
stream_index=stream_index,

0 commit comments

Comments
 (0)