Skip to content

Commit 822495b

Browse files
authored
Remove legacy support of device='cuda:0:beta' (#965)
1 parent b9cf8d1 commit 822495b

File tree

3 files changed

+105
-69
lines changed

3 files changed

+105
-69
lines changed

src/torchcodec/decoders/_video_decoder.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -148,13 +148,6 @@ def __init__(
148148

149149
device_variant = _get_cuda_backend()
150150

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

0 commit comments

Comments
 (0)