-
Notifications
You must be signed in to change notification settings - Fork 191
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
[1/2] Wean off of PYBIND in favor of torch.ops.load_library #1276
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/ao/1276
Note: Links to docs will display an error until the docs builds have been completed. ✅ No FailuresAs of commit acd19e0 with merge base f96e5ec (): This comment was automatically generated by Dr. CI and updates every 15 minutes. |
WHEEL_NAME=$(ls dist/) | ||
# Prepare manywheel, only for CUDA. | ||
# The wheel is a pure python wheel for other platforms. | ||
if [[ "$CU_VERSION" == cu* ]]; then |
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.
is this also true for rocm?
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.
No, but it looks like the current .cu files are not built for rocm based on the use_cuda
here https://github.com/pytorch/ao/blob/main/setup.py#L64
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.
Ok! heads up to @petrex who has been working on adding custom hip kernel support
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.
…1276) Wean ao off of PYBIND [part 1]
The no ghstack version of #1275 to see if the mac tests pass (they do).
Pave the path for python agnostic ao by removing depending on PYBIND (which is not python agnostic).
Concretely, what happened this PR?
This PR should have no failures. The next PR will be targeting the wheel process to only output one wheel for every python version. If you're curious, the next PR looks like #1277