Skip to content
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

[BUG] cudf package not compatible with cuda 10 setup #869

Closed
henningpeters opened this issue Feb 6, 2019 · 9 comments
Closed

[BUG] cudf package not compatible with cuda 10 setup #869

henningpeters opened this issue Feb 6, 2019 · 9 comments
Labels
bug Something isn't working invalid This doesn't seem right

Comments

@henningpeters
Copy link

henningpeters commented Feb 6, 2019

Describe the bug
Installing and importing the cudf package on a CUDA 10 system results in following error:

(xxy) henning@instance-4:~$ python -c "import cudf"
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/home/henning/xxy/lib/python3.6/site-packages/cudf/__init__.py", line 2, in <module>
    from cudf import dataframe
  File "/home/henning/xxy/lib/python3.6/site-packages/cudf/dataframe/__init__.py", line 1, in <module>
    from cudf.dataframe import (buffer, dataframe, series,
  File "/home/henning/xxy/lib/python3.6/site-packages/cudf/dataframe/buffer.py", line 3, in <module>
    from librmm_cffi import librmm as rmm
  File "/home/henning/xxy/lib/python3.6/site-packages/librmm_cffi/__init__.py", line 50, in <module>
    librmm_api = ffi.dlopen(_get_lib_name())
OSError: cannot load library '/home/henning/xxy/lib/python3.6/site-packages/librmm.so': libcudart.so.9.2: cannot open 
shared object file: No such file or directory

It's not clear to the user that the cudf package is tied to a specific CUDA version. The docs btw don't list the cudf package, but only cudf-cuda** packages.

Steps/Code to reproduce bug

pip install cudf
python -c "import cudf"

Expected behavior
Just an import

Environment details (please complete the following information):

  • Environment location: Cloud(GCP)
  • Method of cuDF install: pip

Additional context
Installed latest CUDA (10.0.130-1) and driver version (410.79)

@henningpeters henningpeters added Needs Triage Need team to review and classify bug Something isn't working labels Feb 6, 2019
@kkraus14
Copy link
Collaborator

kkraus14 commented Feb 6, 2019

You need to use pip install cudf-cuda100

@kkraus14
Copy link
Collaborator

kkraus14 commented Feb 6, 2019

Due to the nature of the compiled code underneath it's both difficult and troublesome to create a single install for multiple CUDA versions.

@kkraus14 kkraus14 added invalid This doesn't seem right and removed Needs Triage Need team to review and classify labels Feb 6, 2019
@henningpeters
Copy link
Author

I perfectly understand the technical problem, but this might still be a cause for frustration.

@henningpeters
Copy link
Author

Why then having the package in the first place?

@kkraus14
Copy link
Collaborator

kkraus14 commented Feb 6, 2019

I perfectly understand the technical problem, but this might still be a cause for frustration.

Agreed, this isn't the experience we want for an end user installing the software but is a necessary evil for now. We'll continue exploring a better way to handle this moving forward.

@henningpeters
Copy link
Author

Another option would be to fail gracefully

@kkraus14
Copy link
Collaborator

kkraus14 commented Feb 6, 2019

Another option would be to fail gracefully

Agreed. I've created a feature request issue for this: #870. Did using pip install cudf-cuda100 work for you?

@henningpeters
Copy link
Author

Yep, see #839

@kkraus14
Copy link
Collaborator

kkraus14 commented Feb 6, 2019

Awesome, going to close this issue as I've created #870 to track better raising an error for this situation.

@kkraus14 kkraus14 closed this as completed Feb 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working invalid This doesn't seem right
Projects
None yet
Development

No branches or pull requests

2 participants