Upgrade torchao build configs to C++20 (#4025)#4025
Upgrade torchao build configs to C++20 (#4025)#4025meta-codesync[bot] merged 1 commit intopytorch:mainfrom
Conversation
🔗 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. This comment was automatically generated by Dr. CI and updates every 15 minutes. |
|
@pytorchbot merge |
Merge failedReason: 1 mandatory check(s) are pending/not yet run. The first few are:
Dig deeper by viewing the pending checks on hud |
|
@pytorchbot merge -f "CLA satisfied" |
Merge startedYour change will be merged immediately since you used the force (-f) flag, bypassing any CI checks (ETA: 1-5 minutes). Please use Learn more about merging in the wiki. Questions? Feedback? Please reach out to the PyTorch DevX Team |
Merge failedReason: 1 mandatory check(s) are pending/not yet run. The first few are:
Dig deeper by viewing the pending checks on hud |
2caed41 to
d268c4a
Compare
Summary: Update CMAKE_CXX_STANDARD and compiler flags from c++17 to c++20 in torchao's setup.py, CMakeLists.txt, and Makefile files. Reviewed By: andrewor14 Differential Revision: D95103084
d268c4a to
a982fcc
Compare
Summary: Update CMAKE_CXX_STANDARD and compiler flags from c++17 to c++20 in torchao's setup.py, CMakeLists.txt, and Makefile files. Reviewed By: andrewor14 Differential Revision: D95103084
|
If regression tests don't fail after rebase, we should be good. |
Summary: Update CMAKE_CXX_STANDARD and compiler flags from c++17 to c++20 in torchao's setup.py, CMakeLists.txt, and Makefile files. Reviewed By: andrewor14 Differential Revision: D95103084
a982fcc to
bd29912
Compare
Summary: Pull Request resolved: pytorch#4025 Update CMAKE_CXX_STANDARD and compiler flags from c++17 to c++20 in torchao's setup.py, CMakeLists.txt, and Makefile files. Reviewed By: andrewor14 Differential Revision: D95103084
bd29912 to
76b76b9
Compare
76b76b9 to
ae95ea8
Compare
Summary: Update CMAKE_CXX_STANDARD and compiler flags from c++17 to c++20 in torchao's setup.py, CMakeLists.txt, and Makefile files. Reviewed By: andrewor14 Differential Revision: D95103084
Summary: Pull Request resolved: pytorch#4025 Update CMAKE_CXX_STANDARD and compiler flags from c++17 to c++20 in torchao's setup.py, CMakeLists.txt, and Makefile files. Reviewed By: andrewor14 Differential Revision: D95103084
ae95ea8 to
5c5102c
Compare
Summary: Update CMAKE_CXX_STANDARD and compiler flags from c++17 to c++20 in torchao's setup.py, CMakeLists.txt, and Makefile files. Reviewed By: andrewor14 Differential Revision: D95103084
5c5102c to
442ae65
Compare
Bump the torchao commit pin to fbce9178 which includes pytorch/ao#4025 (Upgrade torchao build configs to C++20). This is needed because #178150 enforces C++20 in ATen.h header guards, and the old pin built CUDA extensions with -std=c++17, causing compilation failures in the inductor CI.
Bump the torchao commit pin to fbce9178 which includes pytorch/ao#4025 (Upgrade torchao build configs to C++20). This is needed because pytorch#178150 enforces C++20 in ATen.h header guards, and the old pin built CUDA extensions with -std=c++17, causing compilation failures in the inductor CI.
## Summary - Bump torchao pin from `985d970b` to `fbce9178` (pytorch/ao#4025) - The new pin builds CUDA extensions with `-std=c++20` instead of `-std=c++17` - Fixes the inductor build failure introduced by #178150 (C++20 header guards in ATen.h) ## Test plan - Inductor CI build should pass (torchao CUDA extensions now compile with C++20) Pull Request resolved: #180302 Approved by: https://github.com/Skylion007
## Summary - Bump torchao pin from `985d970b` to `fbce9178` (pytorch/ao#4025) - The new pin builds CUDA extensions with `-std=c++20` instead of `-std=c++17` - Fixes the inductor build failure introduced by #178150 (C++20 header guards in ATen.h) ## Test plan - Inductor CI build should pass (torchao CUDA extensions now compile with C++20) Pull Request resolved: #180302 Approved by: https://github.com/Skylion007
Summary:
Update CMAKE_CXX_STANDARD and compiler flags from c++17 to c++20
in torchao's setup.py, CMakeLists.txt, and Makefile files.
Reviewed By: andrewor14
Differential Revision: D95103084