-
Notifications
You must be signed in to change notification settings - Fork 26.3k
PyTorch -> C++17 (#98209) #100557
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PyTorch -> C++17 (#98209) #100557
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/100557
Note: Links to docs will display an error until the docs builds have been completed. ✅ No FailuresAs of commit 32db672: This comment was automatically generated by Dr. CI and updates every 15 minutes. |
|
This pull request was exported from Phabricator. Differential Revision: D44356879 |
|
pytorchbot rebase -c main |
|
@pytorchbot rebase -c main |
|
❌ 🤖 pytorchbot command failed: Try |
Summary: Pull Request resolved: pytorch#100557 Pull Request resolved: pytorch#98209 #buildmore Test Plan: Sandcastle Reviewed By: VasuAgrawal, malfet Differential Revision: D44356879 fbshipit-source-id: 0d59faf9ebbfc1597e6ce643efb6c0eeabdb6caf
|
@pytorchbot rebase -b main |
|
@pytorchbot successfully started a rebase job. Check the current status here |
|
Tried to rebase and push PR #100557, but it was already up to date |
|
This pull request was exported from Phabricator. Differential Revision: D44356879 |
|
@r-barnes has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
1 similar comment
|
@r-barnes has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
|
@pytorchbot rebase -b main |
|
@pytorchbot successfully started a rebase job. Check the current status here |
|
Rebase failed due to Command |
|
@r-barnes has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
|
@pytorchbot merge -f "Landed internally" |
Merge startedYour change will be merged immediately since you used the force (-f) flag, bypassing any CI checks (ETA: 1-5 minutes). Learn more about merging in the wiki. Questions? Feedback? Please reach out to the PyTorch DevX Team |
After pytorch/pytorch#100557 PyTorch is free to use C++17 feature in it's headers, such as `std::optional`, `if constexpr` etc. This update language standard for DS extensions to use C++17 standard by default
The PyTorch codebase has migrated from the C++14 to the C++17 standard, see: pytorch/pytorch#100557
🤖 Generated by Copilot at 4f0b524
This pull request updates the codebase and the documentation to use C++17 instead of C++14 as the minimum required C++ standard. This affects the
ATen,c10, andtorchlibraries and their dependencies, as well as the CI system and thecondapackage metadata.cc @jgong5 @mingfeima @XiaobingSuper @sanchitintel @ashokei @jingxu10