[torchvision] Move video_reader backend to fb/ for internal-only use (#9370)#9373
Merged
meta-codesync[bot] merged 1 commit intopytorch:mainfrom Feb 2, 2026
Merged
Conversation
…ytorch#9370) Summary: PLEASE DO NOT REVERT THIS DIFF. It would be highly disruptive for TorchVision. If you identify this diff as the source of issues, please ping me (NicolasHug) and I'll urgently prioritize a fix. ---- Pull Request resolved: pytorch#9370 Move the video_reader backend (C++ decoder and Python API) from the open-source torchvision/ folder to the internal-only fb/ folder. This prepares for removal of the deprecated video decoders from open-source GitHub while maintaining backward compatibility for internal Meta users. The move preserves all existing BUCK target paths via aliases, so existing internal consumers continue to work without modification. Python imports from torchvision.io are redirected to the fb/ location with OSS fallback stubs. This is one of many steps towards the removal of the torchvision video decoders. More stuff will come. Reviewed By: zy1git Differential Revision: D91702027
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/vision/9373
Note: Links to docs will display an error until the docs builds have been completed. ❌ 2 New Failures, 1 PendingAs of commit ac50ec9 with merge base 75c6fbe ( NEW FAILURES - The following jobs have failed:
This comment was automatically generated by Dr. CI and updates every 15 minutes. |
|
@NicolasHug has exported this pull request. If you are a Meta employee, you can view the originating Diff in D91702027. |
|
Hey @meta-codesync[bot]! You merged this PR, but no labels were added. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary:
PLEASE DO NOT REVERT THIS DIFF. It would be highly disruptive for TorchVision. If you identify this diff as the source of issues, please ping me (NicolasHug) and I'll urgently prioritize a fix.
Move the video_reader backend (C++ decoder and Python API) from the open-source torchvision/ folder to the internal-only fb/ folder. This prepares for removal of the deprecated video decoders from open-source GitHub while maintaining backward compatibility for internal Meta users.
The move preserves all existing BUCK target paths via aliases, so existing internal consumers continue to work without modification. Python imports from torchvision.io are redirected to the fb/ location with OSS fallback stubs.
This is one of many steps towards the removal of the torchvision video decoders. More stuff will come.
Reviewed By: zy1git
Differential Revision: D91702027