这是indexloc提供的服务,不要输入任何密码
Skip to content

[BUG]: libcudf.so error on Google Colab #70

@berkorbay

Description

@berkorbay

Version

25.*

Which installation method(s) does this occur on?

Pip

Describe the bug.

Hi. I am trying to run this MIP example on a Google Colab Notebook but failing at the from cuopt_sh_client import ThinClientSolverSettings line.

Relevant log output is given.

Minimum reproducible example

It is the copy of the notebook itself. But still

`from cuopt_sh_client import ThinClientSolverSettings`

even `import cuopt_sh_client` triggers the error.

Relevant log output

---------------------------------------------------------------------------
ImportError                               Traceback (most recent call last)
[/tmp/ipython-input-9-1867913342.py](https://localhost:8080/#) in <cell line: 0>()
----> 1 import cuopt_sh_client

16 frames
[~/.local/lib/python3.11/site-packages/cudf/_lib/__init__.py](https://localhost:8080/#) in <module>
      1 # Copyright (c) 2020-2024, NVIDIA CORPORATION.
----> 2 from . import strings_udf

ImportError: libcudf.so: cannot open shared object file: No such file or directory

---------------------------------------------------------------------------
NOTE: If your import is failing due to a missing package, you can
manually install dependencies using either !pip or !apt.

To view examples of installing some common dependencies, click the
"Open Examples" button below.
---------------------------------------------------------------------------

Environment details

Google Colab
Python 3
T4 GPU

Also adding smi info

+-----------------------------------------------------------------------------------------+
| NVIDIA-SMI 550.54.15 Driver Version: 550.54.15 CUDA Version: 12.4 |
|-----------------------------------------+------------------------+----------------------+
| GPU Name Persistence-M | Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap | Memory-Usage | GPU-Util Compute M. |
| | | MIG M. |
|=========================================+========================+======================|
| 0 Tesla T4 Off | 00000000:00:04.0 Off | 0 |
| N/A 57C P8 10W / 70W | 0MiB / 15360MiB | 0% Default |
| | | N/A |
+-----------------------------------------+------------------------+----------------------+

+-----------------------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=========================================================================================|
| No running processes found |
+-----------------------------------------------------------------------------------------+

Other/Misc.

Since it is an import problem, perhaps having a colab notebook or any other environment does not matter?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions