-
Notifications
You must be signed in to change notification settings - Fork 23.4k
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
[torch] fix builds for older pybind #146630
Conversation
Summary: some versions of pybind we build with don't have `py::set_error`. So just use the underlying python C API. Test Plan: unit tests Differential Revision: D69254629
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/146630
Note: Links to docs will display an error until the docs builds have been completed. ✅ No FailuresAs of commit b429756 with merge base 49082f9 ( This comment was automatically generated by Dr. CI and updates every 15 minutes. |
This pull request was exported from Phabricator. Differential Revision: D69254629 |
@pytorchbot merge -i (Initiating merge automatically since Phabricator Diff has merged, merging with -i because oss signals were bypassed internally) |
Merge startedYour change will be merged while ignoring the following 0 checks: Learn more about merging in the wiki. Questions? Feedback? Please reach out to the PyTorch DevX Team |
Summary: some versions of pybind we build with don't have `py::set_error`. So just use the underlying python C API. Test Plan: unit tests Differential Revision: D69254629 Pull Request resolved: pytorch#146630 Approved by: https://github.com/colin2328, https://github.com/ngimel
Summary:
some versions of pybind we build with don't have
py::set_error
.So just use the underlying python C API.
Test Plan: unit tests
Differential Revision: D69254629
cc @EikanWang @jgong5 @wenzhe-nrv @sanchitintel