-
Notifications
You must be signed in to change notification settings - Fork 226
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Modernize extension-cpp; refactor code
This PR: - creates a single unified build for extension-cpp (instead of having separate cpu/cuda setup.pys). - Updates the build system to use pyproject.toml (instead of only setup.py) - Uses TORCH_LIBRARY to bind operators (instead of using PyBind) There will be more future work to add improvements (e.g. torch.compile support) and also fix up the corresponding C++ extensions tutorial. Test Plan: - Refactored all of the tests under test/ ghstack-source-id: a31d059ed3f83118513791e712a394713e07a96b Pull Request resolved: #86
- Loading branch information
Showing
24 changed files
with
334 additions
and
582 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Empty file.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Empty file.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.