-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding
compile_function
as execute option. (#536)
* Adding `compile_function` as execute option. This allows users to use jit or aot compilation during the dag finalization process within executors. It should work straightforwardly on jax/numba style jit compilation. It's possible, but maybe ugly, to perform jax-aot-style compilation. * Add numba for compilation tests. * Singlequotes not needed. * Update function doc. * Added another compile test for failure case. * Added another test to ensure config was applied. * Improve tests - remove todo for new test - use pytest conventions * I don’t think numba jit works well on jax arrays. * Update plan.py Simplifying type to make mypy happy.
- Loading branch information
Showing
2 changed files
with
90 additions
and
2 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