-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Wrapped "pytorch" version with torch.compile. - Allows "cupy" to run without "numba" installed. - Added "sparse" version using torch.sparse. - Provide registration mechanism for implementations of message passing, simplifying the process of adding new versions - Refactor to only require a single test script - Add speed test script - Moved old implementations to hidden, but still accessible if needed. - Improved documentation Other changes, not related to custom kernels: - improved documentation. Commit messages: * Add first implementation of sparse kernels. Note: sparse kernel sensesum cannot be used when more than one entry connects the same pair, however this is caught as an error. Fixed bug with compare_against='triton'. * Add improved and simplified dispatch for custom kernel implementation. * remove individual test files that are no longer necessary * improve pytorch-only kernels and add compile and jit options * fix python error on gpu part of test * wrong print message * put speed tests into a single function * make comparison function also be wrapped * add script for benchmarking implementation speeds * formatting * add features to speed tester * add legacy atomic based kernels, improved test script * update docs * fix arg passing * tweak documentation tables * adjust error message
- Loading branch information
1 parent
c1c084c
commit 36b7350
Showing
30 changed files
with
1,201 additions
and
352 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 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 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 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 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 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 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 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 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
Oops, something went wrong.