[df] Suggest to opt-in to Numba JIT in RDF API#22188
Open
vepadulano wants to merge 1 commit intoroot-project:masterfrom
Open
[df] Suggest to opt-in to Numba JIT in RDF API#22188vepadulano wants to merge 1 commit intoroot-project:masterfrom
vepadulano wants to merge 1 commit intoroot-project:masterfrom
Conversation
RDF supports calling Python functions in the Define and Filter APIs by implicit Numba-jitting the Python callable before executing it in the RDF computation graph. Given that in the future we may be able to run Python callables directly within the computation graph, and even more importantly given that numba has its limitations and it is not desirable to implicitly lock-in users to this particular technology, I propose to introduce a warning message that signals the user RDF is implicitly calling Numba JIT on one of their callables. The same functionality is still achievable opt-in.
siliataider
approved these changes
May 8, 2026
Contributor
|
I should also eventually update the Python section of the docs, it's good that the 2 examples explicitly specify the Numba decorator already, not the implicit syntax |
Test Results 22 files 22 suites 3d 8h 2m 42s ⏱️ Results for commit ddf105a. |
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
RDF supports calling Python functions in the Define and Filter APIs by implicit Numba-jitting the Python callable before executing it in the RDF computation graph. Given that in the future we may be able to run Python callables directly within the computation graph, and even more importantly given that numba has its limitations and it is not desirable to implicitly lock-in users to this particular technology, I propose to introduce a warning message that signals the user RDF is implicitly calling Numba JIT on one of their callables. The same functionality is still achievable opt-in.