Skip to content

[torchvision] Move video_reader backend to fb/ for internal-only use (#9370)#9373

Merged
meta-codesync[bot] merged 1 commit intopytorch:mainfrom
NicolasHug:export-D91702027
Feb 2, 2026
Merged

[torchvision] Move video_reader backend to fb/ for internal-only use (#9370)#9373
meta-codesync[bot] merged 1 commit intopytorch:mainfrom
NicolasHug:export-D91702027

Conversation

@NicolasHug
Copy link
Copy Markdown
Member

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

…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
@pytorch-bot
Copy link
Copy Markdown

pytorch-bot bot commented Feb 2, 2026

🔗 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 Pending

As of commit ac50ec9 with merge base 75c6fbe (image):

NEW FAILURES - The following jobs have failed:

This comment was automatically generated by Dr. CI and updates every 15 minutes.

@meta-cla meta-cla bot added the cla signed label Feb 2, 2026
@meta-codesync
Copy link
Copy Markdown

meta-codesync bot commented Feb 2, 2026

@NicolasHug has exported this pull request. If you are a Meta employee, you can view the originating Diff in D91702027.

@meta-codesync meta-codesync bot merged commit 91b3aa6 into pytorch:main Feb 2, 2026
61 of 68 checks passed
@github-actions
Copy link
Copy Markdown

github-actions bot commented Feb 2, 2026

Hey @meta-codesync[bot]!

You merged this PR, but no labels were added.
The list of valid labels is available at https://github.com/pytorch/vision/blob/main/.github/process_commit.py

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant