【问题标题】:Unable import "cuxfilter" package in Kaggle Notebook environment无法在 Kaggle Notebook 环境中导入“cuxfilter”包
【发布时间】:2023-04-02 06:09:01
【问题描述】:

我正在使用大于 5GB 的 CSV 文件来参加 Kaggle 比赛。我正在使用 cudf 和 cuml 进行数据预处理和机器学习。但对于可视化,我的计划是使用 Plotly 使用 GPU 加速可视化。由于 Kaggle docker 还没有包含 Rapids,所以我使用以下数据集来安装它。
https://www.kaggle.com/cdeotte/rapids
但是,即使使用上述数据集安装了 rapids,我也无法在 Kaggle 笔记本中导入“cuxfilter”包。

import cuxfilter

正在给出 ModuleNotFoundError

有没有办法在 Kaggle 中安装这个包?

我也尝试使用 conda 安装该软件包,但没有成功。使用的命令如下

conda install -c rapidsai -c nvidia -c conda-forge -c defaults cuxfilter=0.15 python=3.7 cudatoolkit=10.0

还请在 kaggle 论坛中找到我的帖子以获取更多详细信息 https://www.kaggle.com/cdeotte/rapids/discussion/190432#1046557

【问题讨论】:

  • 能否请您添加您使用的 conda 命令和错误?
  • 添加了命令。 conda 命令无限期运行

标签: python gpu kaggle rapids


【解决方案1】:

RAPIDS 0.15 版本不支持 CUDA10.0。 请更新您的 CUDA 包或使用 RAPIDS 0.14 版本

使用 conda 安装 cuxfilter 0.14 的命令:

conda install -c rapidsai -c nvidia -c conda-forge -c defaults cuxfilter=0.14 python=3.7 cudatoolkit=10.0

【讨论】:

    猜你喜欢
    • 2021-08-16
    • 2018-11-29
    • 2023-01-23
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多