Skip to content

[4/12] Upgrade torchvision build configs to C++20#9427

Open
r-barnes wants to merge 1 commit intopytorch:mainfrom
r-barnes:export-D95103083
Open

[4/12] Upgrade torchvision build configs to C++20#9427
r-barnes wants to merge 1 commit intopytorch:mainfrom
r-barnes:export-D95103083

Conversation

@r-barnes
Copy link
Contributor

@r-barnes r-barnes commented Mar 8, 2026

PyTorch is moving to C++20. Putting up this PR to keep the ecosystem in sync.

Update CMAKE_CXX_STANDARD from 17 to 20 in torchvision's CMakeLists.txt files (main, android/ops, ios).

Differential Revision: D95103083

@pytorch-bot
Copy link

pytorch-bot bot commented Mar 8, 2026

🔗 Helpful Links

🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/vision/9427

Note: Links to docs will display an error until the docs builds have been completed.

❌ 2 New Failures, 1 Pending, 2 Unrelated Failures

As of commit 678c0d5 with merge base 48956e0 (image):

NEW FAILURES - The following jobs have failed:

BROKEN TRUNK - The following jobs failed but were present on the merge base:

👉 Rebase onto the `viable/strict` branch to avoid these failures

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

@meta-cla meta-cla bot added the cla signed label Mar 8, 2026
@meta-codesync
Copy link

meta-codesync bot commented Mar 8, 2026

@r-barnes has exported this pull request. If you are a Meta employee, you can view the originating Diff in D95103083.

Summary:

Update CMAKE_CXX_STANDARD from 17 to 20 in torchvision's
CMakeLists.txt files (main, android/ops, ios).

Differential Revision: D95103083
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.

2 participants