Skip to content

Conversation

@NicolasHug
Copy link
Contributor

No description provided.

@meta-cla meta-cla bot added the CLA Signed This label is managed by the Meta Open Source bot. label Oct 15, 2025
# 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.

test/utils.py Outdated
return device_str, "default"


def make_video_decoder(*args, **kwargs) -> Union[VideoDecoder, str]:
Copy link
Contributor

Choose a reason for hiding this comment

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

Return type is supposed to be a Tuple not Union, correct?

Copy link
Contributor

@scotts scotts left a comment

Choose a reason for hiding this comment

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

I think we need to fix the return type of make_video_decoder, but otherwise this is great!

@NicolasHug NicolasHug merged commit 822495b into meta-pytorch:main Oct 16, 2025
53 of 54 checks passed
@NicolasHug NicolasHug deleted the removelegacy branch October 16, 2025 11:27
NicolasHug added a commit to NicolasHug/torchcodec that referenced this pull request Oct 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Meta Open Source bot.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants