Hello RAPIDS,
Thanks for developing this amazing package.
I met 'ImportError: /usr/lib/x86_64-linux-gnu/libcuda.so.1: file too short' when importing packages.
import scanpy as sc
import anndata
import time
import os, wget
import cudf
import cupy as cp
from cuml.decomposition import PCA
from cuml.manifold import TSNE
from cuml.cluster import KMeans
from cuml.preprocessing import StandardScaler
import rapids_scanpy_funcs
import warnings
warnings.filterwarnings('ignore', 'Expected ')
warnings.simplefilter('ignore')
---------------------------------------------------------------------------
ImportError Traceback (most recent call last)
<ipython-input-1-40576262d873> in <module>
5 import os, wget
6
----> 7 import cudf
8 import cupy as cp
9
/opt/conda/envs/rapids/lib/python3.7/site-packages/cudf/__init__.py in <module>
2 from cudf.utils.gpu_utils import validate_setup
3
----> 4 validate_setup()
5
6 import cupy
/opt/conda/envs/rapids/lib/python3.7/site-packages/cudf/utils/gpu_utils.py in validate_setup()
16 import warnings
17
---> 18 from rmm._cuda.gpu import (
19 CUDARuntimeError,
20 cudaDeviceAttr,
/opt/conda/envs/rapids/lib/python3.7/site-packages/rmm/__init__.py in <module>
14 import weakref
15
---> 16 from rmm import mr
17 from rmm._lib.device_buffer import DeviceBuffer
18 from rmm._version import get_versions
/opt/conda/envs/rapids/lib/python3.7/site-packages/rmm/mr.py in <module>
1 # Copyright (c) 2020, NVIDIA CORPORATION.
----> 2 from rmm._lib.memory_resource import (
3 BinningMemoryResource,
4 CudaAsyncMemoryResource,
5 CudaMemoryResource,
/opt/conda/envs/rapids/lib/python3.7/site-packages/rmm/_lib/__init__.py in <module>
1 # Copyright (c) 2019-2020, NVIDIA CORPORATION.
2
----> 3 from .device_buffer import DeviceBuffer
ImportError: /usr/lib/x86_64-linux-gnu/libcuda.so.1: file too short
I googled it. Some people recommend nvidia-docker2. I tried, but failed.
nvidia-docker run -v /home/hyjforesight/:/data -p 8888:8888 -p 8787:8787 -p 8786:8786 claraparabricks/single-cell-examples_rapids_cuda11.0
docker: Error response from daemon: Unknown runtime specified nvidia.
See 'docker run --help'.
Could you please help me with this issue? I'm working in Windows 11 22H2 WSL2 Ubuntu 22.04.
Thanks!
Best,
Yuanjian
Hello RAPIDS, Thanks for developing this amazing package. I met 'ImportError: /usr/lib/x86_64-linux-gnu/libcuda.so.1: file too short' when importing packages.
I googled it. Some people recommend
nvidia-docker2
. I tried, but failed.Could you please help me with this issue? I'm working in Windows 11 22H2 WSL2 Ubuntu 22.04. Thanks! Best, Yuanjian