-
Notifications
You must be signed in to change notification settings - Fork 310
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] importing cugraph in Amazon SageMaker Studio Lab cause import error libnuma.so.1 #2113
Comments
@taureandyernv is helping look into this. Thanks, Taurean. |
TLDR: Okay and now for the long part of it:
and here is the traceback when importing cugraph before we tried removing ucx-py for reference
|
This PR aims to directly resolve #2113, and allows for cugraph to be imported without errors in environments with only a single GPU What this PR does: - Moves `comms` module into the `dask` module, renaming imports across `cugraph` accordingly - Adds mock class in case ucp is not available or usable in SG-only environments (note ucp requires libnuma.so) - Renames `tests/dask` to `tests/mg` to better reflect the fact that those tests are for mg algs and utils - Separates symmetrize testing into `tests/mg` and `tests` for separation of SG and MG testing Authors: - https://github.com/betochimas Approvers: - Rick Ratzel (https://github.com/rlratzel) - AJ Schmidt (https://github.com/ajschmidt8) URL: #2241
Finally got an instance in SMSL....but no dice.
|
I think i see the issue: one FIXME didn't make it into 22.06 somehow. When I removed
Here is the entire error stack trace:
|
The modules dependent on ucx-py are from |
…rror for Amazon SMS libnuma.so.1 bug (#2385) Generalize ModuleNotFoundError exception handling to ImportError for Amazon SMS libnuma.so.1 bug #2113 This allows cugraph to be imported in a SageMaker environment without having to remove `ucx-py` Authors: - Dylan Chima-Sanchez (https://github.com/betochimas) - Rick Ratzel (https://github.com/rlratzel) Approvers: - Brad Rees (https://github.com/BradReesWork)
Describe the bug
importing cugraph in Amazon SageMaker Studio Lab cause import error libnuma.so.1: cannot open shared object file: No such file or directory
Steps/Code to reproduce bug
import cugraph in a cell within jupyter notebook
Expected behavior
successful import of cugraph
Environment overview (please complete the following information)
Followed the exact installation from the doc:
conda create -n rapids-22.02 -c rapidsai -c nvidia -c conda-forge rapids=22.02 python=3.8 cudatoolkit=11.4 dask-sql ipykernel -y
Environment details
Cannot import cugraph so I can't get the message
Additional context
I have no issue importing other cu libraries like cudf/dask_cudf etc.
The text was updated successfully, but these errors were encountered: