Skip to content

Conversation

janeyx99
Copy link
Contributor

@janeyx99 janeyx99 commented Jan 21, 2025

Use torch.ops.load_library instead of PYBIND11 to allow the extension to be python agnostic.

This is step 1 in modernizing the user story for cpp extensions. Step 2 is to change the corresponding tutorial. I also have yet to test locally that this is indeed python agnostic.

Now I've tested locally that the wheel works for 3.10 and 3.13 (when built on 3.13)

Other steps done in:
#106, #108
#107

@janeyx99
Copy link
Contributor Author

Will merge if CI passes

@janeyx99 janeyx99 merged commit 4be2205 into master Jan 22, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants