-
Notifications
You must be signed in to change notification settings - Fork 224
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This PR introduces the FlashInfer JIT compilation for TVM, with corresponding TVM bindings. Compared with Torch-based JIT which returns the compiled module, the JIT for TVM returns the generated uri and source files directly, which will be compiled and loaded as a TVM runtime module on TVM side. Some notes: * SM90 prefill is not fully enabled due to the layout mismatch of `indptr`. This will be addressed in the near future. * Unit tests are not yet included. We are still working on getting a plan to test TVM bindings in FlashInfer. * The previous TVM bindings in `src/tvm_wrapper.cu` is removed, and AOT compilation for TVM is no longer supported since this PR.
- Loading branch information
1 parent
1605eaa
commit e02fb8a
Showing
21 changed files
with
1,994 additions
and
893 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
Oops, something went wrong.