Skip to content

Commit

Permalink
Merge pull request #372 from rapidsai/branch-0.15
Browse files Browse the repository at this point in the history
[gpuCI] Auto-merge branch-0.15 to branch-0.16 [skip ci]
  • Loading branch information
GPUtester authored Aug 14, 2020
2 parents 11a21a5 + 1579b3b commit 5123f79
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion dask_cuda/benchmarks/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ def get_scheduler_workers(dask_scheduler=None):
def setup_memory_pool(pool_size=None, disable_pool=False):
import cupy

os.environ['RMM_NO_INITIALIZE'] = 'True'
os.environ["RAPIDS_NO_INITIALIZE"] = "True"
import rmm

rmm.reinitialize(
Expand Down
2 changes: 1 addition & 1 deletion dask_cuda/cuda_worker.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ def del_pid_file():

if rmm_pool_size is not None or rmm_managed_memory:
try:
os.environ['RMM_NO_INITIALIZE'] = 'True'
os.environ["RAPIDS_NO_INITIALIZE"] = "True"
import rmm # noqa F401
except ImportError:
raise ValueError(
Expand Down
4 changes: 2 additions & 2 deletions dask_cuda/initialize.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ def initialize(
):
if create_cuda_context:
try:
os.environ['RMM_NO_INITIALIZE'] = 'True'
os.environ["RAPIDS_NO_INITIALIZE"] = "True"
numba.cuda.current_context()
except Exception:
logger.error("Unable to start CUDA Context", exc_info=True)
Expand Down Expand Up @@ -107,7 +107,7 @@ def dask_setup(
):
if create_cuda_context:
try:
os.environ['RMM_NO_INITIALIZE'] = 'True'
os.environ["RAPIDS_NO_INITIALIZE"] = "True"
numba.cuda.current_context()
except Exception:
logger.error("Unable to start CUDA Context", exc_info=True)
2 changes: 1 addition & 1 deletion dask_cuda/local_cuda_cluster.py
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ def __init__(
self.rmm_managed_memory = rmm_managed_memory
if rmm_pool_size is not None or rmm_managed_memory:
try:
os.environ['RMM_NO_INITIALIZE'] = 'True'
os.environ["RAPIDS_NO_INITIALIZE"] = "True"
import rmm # noqa F401
except ImportError:
raise ValueError(
Expand Down
2 changes: 1 addition & 1 deletion dask_cuda/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def __init__(self, nbytes, managed_memory):

def setup(self, worker=None):
if self.nbytes is not None or self.managed_memory is True:
os.environ['RMM_NO_INITIALIZE'] = 'True'
os.environ["RAPIDS_NO_INITIALIZE"] = "True"
import rmm

pool_allocator = False if self.nbytes is None else True
Expand Down

0 comments on commit 5123f79

Please sign in to comment.