WSL2环境下cudf.pandas无法调用GPU的问题求助
WSL2环境下cudf.pandas无法调用GPU的问题
在WSL2环境中使用cudf.pandas时,处理大型数据集期间GPU使用率始终保持0%,完全未调用GPU。
已完成的安装验证步骤
- 成功加载cudf.pandas扩展并验证pandas被RAPIDS加速包装:
%load_ext cudf.pandas import pandas as pd print(pd) <module 'pandas' (ModuleAccelerator(fast=cudf, slow=pandas))>
- 直接使用cudf库验证功能正常:
import cudf print(cudf.Series([1, 2, 3])) 0 1 1 2 2 3 dtype: int64
硬件与环境信息
- NVIDIA硬件及驱动信息(nvidia-smi输出):
NVIDIA-SMI 535.104.05,驱动版本535.104.05,CUDA版本12.2;GPU型号为NVIDIA GeForce RTX 3060,显存等状态正常。 - CUDA工具包版本(
nvcc --version输出):
nvcc: NVIDIA (R) Cuda compiler driver Copyright (c) 2005-2021 NVIDIA Corporation Built on Thu_Nov_18_09:45:30_PST_2021 Cuda compilation tools, release 11.5, V11.5.119 Build cuda_11.5.r11.5/compiler.30672275_0
补充错误信息
安装nvtop后,执行%load_ext cudf.pandas时触发如下错误:
ImportError: libnvidia-ml.so.1: cannot open shared object file: No such file or directory
内容的提问来源于stack exchange,提问作者Sebastian Cantergiani
相关产品推荐
相关产品推荐

