Environment variables#
These variables configure libcudf’s runtime context and affect applications using the C++, Python, and Java interfaces. They are read when the context is first initialized. Set them before initializing libcudf; changing the environment afterward does not reconfigure the existing context.
Boolean settings default to disabled. The recognized true values are ON, on, 1, true, TRUE, and True.
Other parsed values disable them; use OFF or 0 to disable a setting explicitly.
JIT compilation#
Variable |
Default |
Description |
|---|---|---|
|
|
Select JIT execution for APIs with a runtime-selectable JIT path, including AST column computation and Parquet filter evaluation. APIs explicitly requesting JIT execution do not require this setting. |
|
|
NVRTC precompiled-header heap size. Set to |
Kernel cache#
Variable |
Default |
Description |
|---|---|---|
|
Selected as described below |
Root directory for cached compiled code, extracted source bundles, and temporary compilation files. |
|
|
Preload existing compiled blobs and libraries from the disk cache during context initialization, subject to the in-memory cache limits. This moves loading work to initialization; it does not compile kernels that are absent from the cache. |
|
|
Bypass libcudf’s in-memory and on-disk compiled-code cache lookups, forcing compilation or linking instead of reusing those entries. This does not disable NVRTC PCH reuse or CUDA’s separate compilation caches. |
|
|
Clear the in-memory and on-disk compiled-code caches during initialization. Later operations can populate the cache again. Clearing occurs after any requested preload. |
|
|
Maximum number of compiled blobs and maximum number of loaded libraries retained in memory per process. The same unsigned integer limit applies independently to both caches. It is an entry count, not a byte limit or an on-disk size limit. |
|
|
Pass |
Disabling libcudf cache lookups does not prevent newly compiled artifacts from being written to disk.
Cache directory selection#
libcudf tries these locations in order and uses the first directory it can create or access with read, write, and execute permissions:
$LIBCUDF_KERNEL_CACHE_PATH, if set.$XDG_CACHE_HOME/libcudf, ifXDG_CACHE_HOMEis set.$HOME/.cache/libcudf, ifHOMEis set and names an accessible directory.$TMPDIR/libcudf, ifTMPDIRis set and names an accessible directory./tmp/libcudf.
If an explicit LIBCUDF_KERNEL_CACHE_PATH cannot be used, libcudf logs a warning and tries the remaining locations. Initialization fails if none can be used.
The root contains bundle for extracted source bundles, rtcx_cache for compiled artifacts, and tmp for temporary files. A cache directory is still required when compiled-code cache lookups are disabled.
Diagnostics#
Variable |
Default |
Description |
|---|---|---|
|
|
Print CUDA source generated from row IR for transform execution to standard output. |
|
|
Enable verbose JIT compiler/linker diagnostics. NVRTC warnings are enabled, as are PCH messages on versions supporting PCH. |
|
|
Request compiler/linker timing output: |
|
|
Request NVRTC device compilation time traces using |
Compiler and linker diagnostics are generated only when compilation or linking occurs. A libcudf cache hit can therefore bypass the work that produces them.
Compression library initialization#
Variable |
Default |
Description |
|---|---|---|
|
|
Load nvCOMP during context initialization instead of waiting for a later operation to need it. Explicit initialization flags can also request this preload. |