-
Notifications
You must be signed in to change notification settings - Fork 915
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow users to set jitify cache file limit via an environment variable #8132
Allow users to set jitify cache file limit via an environment variable #8132
Conversation
Codecov Report
@@ Coverage Diff @@
## branch-0.20 #8132 +/- ##
===============================================
+ Coverage 82.88% 82.92% +0.03%
===============================================
Files 103 104 +1
Lines 17668 17896 +228
===============================================
+ Hits 14645 14840 +195
- Misses 3023 3056 +33
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
so code much wow 🐕
…gure-jitify-cache-size
@gpucibot merge |
Jitify limits the file count of the kernel cache, defaulting to the number of JIT kernels to keep in memory.
Limiting to 100 files on disk leads to thrashing if running workloads that exercise all the binops (like unit tests).
This PR adds a
LIBCUDF_KERNEL_CACHE_FILE_LIMIT
environment variable so users can control the number of files Jitify should keep on disk.