Skip to content

Upgrade torchao build configs to C++20#4025

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

Upgrade torchao build configs to C++20#4025
r-barnes wants to merge 1 commit intopytorch:mainfrom
r-barnes:export-D95103084

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 and compiler flags from c++17 to c++20 in torchao's setup.py, CMakeLists.txt, and Makefile files.

Differential Revision: D95103084

Summary:
Update CMAKE_CXX_STANDARD and compiler flags from c++17 to c++20
in torchao's setup.py, CMakeLists.txt, and Makefile files.

Differential Revision: D95103084
@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/ao/4025

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

❌ 1 New Failure

As of commit 2caed41 with merge base 03bdac0 (image):

NEW FAILURE - The following job has failed:

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

@meta-cla meta-cla bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Mar 8, 2026
@andrewor14 andrewor14 added the topic: for developers Use this tag if this PR is mainly developer facing label Mar 9, 2026
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 Facebook bot. Authors need to sign the CLA before a PR can be reviewed. fb-exported meta-exported topic: for developers Use this tag if this PR is mainly developer facing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants