We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents ad95c60 + 1f0d4ff commit fcc64caCopy full SHA for fcc64ca
python/cudf/cudf/core/udf/nrt_utils.py
@@ -37,7 +37,7 @@ def nrt_enabled():
37
for a single kernel launch, so we use this context
38
to enable it for those that we know need it.
39
"""
40
- original_value = numba_config.CUDA_ENABLE_NRT
+ original_value = getattr(numba_config, "CUDA_ENABLE_NRT", False)
41
numba_config.CUDA_ENABLE_NRT = True
42
try:
43
yield
0 commit comments