-
Notifications
You must be signed in to change notification settings - Fork 25.6k
replace torch::make_unique with std::make_unique #108866
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
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/108866
Note: Links to docs will display an error until the docs builds have been completed. ✅ No FailuresAs of commit ab2fcee with merge base 94a54b8 ( This comment was automatically generated by Dr. CI and updates every 15 minutes. |
0b61390
to
ac9dcc3
Compare
@pytorchbot label ciflow/binaries |
9029a02
to
63c9344
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice cleanup! Thanks!
@pytorchbot rebase -b main |
@pytorchbot started a rebase job onto refs/remotes/origin/main. Check the current status here |
Successfully rebased |
63c9344
to
ab2fcee
Compare
@pytorchmergebot merge |
Merge startedYour change will be merged once all checks pass (ETA 0-4 Hours). Learn more about merging in the wiki. Questions? Feedback? Please reach out to the PyTorch DevX Team |
@huydhn has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
It looks like Updated: Found only one instance of |
@pytorchbot revert -m "Sorry but I found more usages of |
@pytorchbot successfully started a revert job. Check the current status here. |
@cyyever your PR has been successfully reverted. |
This reverts commit 03e35ef. Reverted #108866 on behalf of https://github.com/clee2000 due to Sorry but I found more usages of `torch::make_unique` internally, I can go change all of these, but I'd prefer if that gets done before this gets merged ([comment](#108866 (comment)))
We can first try to move torch::make_unique to std::make_unique despite reverting of #108866 . Pull Request resolved: #109780 Approved by: https://github.com/ezyang
It should be safe to remove the old torch::make_unique functions.
cc @huydhn