question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

CuPy 7.2 breaks CI

See original GitHub issue

This is probably any issue with CuPy but wanted note here that we have seen breaking issues with CuPy 7.2

E   cupy.cuda.curand.CURANDError: CURAND_STATUS_INITIALIZATION_FAILED

cupy/cuda/curand.pyx:86: CURANDError
``` params = {'device_memory_limit': 1000000000.0, 'host_pause': None, 'host_spill': 0.0, 'host_target': 0.0, ...}
@pytest.mark.parametrize(
    "params",
    [
        {
            "device_memory_limit": 1e9,
            "memory_limit": 4e9,
            "host_target": 0.0,
            "host_spill": 0.0,
            "host_pause": None,
            "spills_to_disk": False,
        },
        {
            "device_memory_limit": 1e9,
            "memory_limit": 1e9,
            "host_target": 0.0,
            "host_spill": 0.0,
            "host_pause": None,
            "spills_to_disk": True,
        },
    ],
)
@pytest.mark.asyncio
async def test_cupy_cluster_device_spill(params):
    cupy = pytest.importorskip("cupy")
    with dask.config.set({"distributed.worker.memory.terminate": False}):
        async with LocalCUDACluster(
            1,
            scheduler_port=0,
            processes=True,
            silence_logs=False,
            dashboard_address=None,
            asynchronous=True,
            death_timeout=60,
            device_memory_limit=params["device_memory_limit"],
            memory_limit=params["memory_limit"],
            memory_target_fraction=params["host_target"],
            memory_spill_fraction=params["host_spill"],
            memory_pause_fraction=params["host_pause"],
        ) as cluster:
            async with Client(cluster, asynchronous=True) as client:

                rs = da.random.RandomState(RandomState=cupy.random.RandomState)
              x = rs.random(int(250e6), chunks=10e6)

dask_cuda/tests/test_spill.py:181:


/conda/envs/gdf/lib/python3.6/site-packages/dask/array/random.py:387: in random_sample return self._wrap(“random_sample”, size=size, chunks=chunks) /conda/envs/gdf/lib/python3.6/site-packages/dask/array/random.py:188: in _wrap small_kwargs, /conda/envs/gdf/lib/python3.6/site-packages/dask/array/random.py:453: in _apply_random state = RandomState(state_data) /conda/envs/gdf/lib/python3.6/site-packages/cupy/random/generator.py:51: in init self._generator = curand.createGenerator(method) cupy/cuda/curand.pyx:93: in cupy.cuda.curand.createGenerator ??? cupy/cuda/curand.pyx:97: in cupy.cuda.curand.createGenerator ???


??? E cupy.cuda.curand.CURANDError: CURAND_STATUS_INITIALIZATION_FAILED

cupy/cuda/curand.pyx:86: CURANDError

</details>

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:1
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
quasibencommented, Feb 21, 2020

Yes, we pinned. I was raising this issue to track that we are not working with 7.2

0reactions
jakirkhamcommented, Mar 1, 2020

Added PR ( https://github.com/rapidsai/dask-cuda/pull/248 ) to relax the pin since we’ve rebuilt the cupy package with a fix.

Read more comments on GitHub >

github_iconTop Results From Across the Web

v7.2.0 PDF - CuPy Documentation
CuPy is an implementation of NumPy-compatible multi-dimensional array on CUDA. CuPy consists of cupy. ndarray, the core multi-dimensional ...
Read more >
CuPy Documentation - Read the Docs
CuPy is an implementation of NumPy-compatible multi-dimensional array on CUDA. CuPy consists of cupy. ndarray, the core multi-dimensional ...
Read more >
QuSpin: a Python package for dynamics and exact ... - SciPost
equation on a 1D lattice, (vi) integrability breaking and thermalizing dynamics in the ... where the fermionic operators satisfy {ci,c.
Read more >
conda-forge - :: Anaconda.org
airflow-code-editor, 7.2.0, Apache-2.0 ... A package installed by conda-forge each time a build is run on CI. This. ... flake8-broken-line, 0.6.0 ...
Read more >
Package List — Spack 0.20.0.dev0 documentation
fixesproto, py-ci-info, r-mapplots ... fujitsu-fftw, py-cupy, r-nonnest2 ... Versions: 7.2.1, 7.2.0, 7.1.0, 7.0.0, 6.3.0, 6.0.0, 5.0.0, 4.0.1, 3.1.0, 3.0.0, ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found