Colab 上的Rapids

问题描述 投票:0回答:1

我一直使用以下命令在 Colab 上安装 Rapids(来自 https://colab.research.google.com/drive/1rY7Ln6rEE1pOlfSHCYOVaqt8OvDO35J0#forceEdit=true&offline=true&sandboxMode=true

!git clone https://github.com/rapidsai/rapidsai-csp-utils.git
!python rapidsai-csp-utils/colab/env-check.py

!bash rapidsai-csp-utils/colab/update_gcc.sh
import os
os._exit(00)

import condacolab
condacolab.install()

import condacolab
condacolab.check()

# Installing RAPIDS is now 'python rapidsai-csp-utils/colab/install_rapids.py <release> <packages>'
# The <release> options are 'stable' and 'nightly'.  Leaving it blank or adding any other words will default to stable.
!python rapidsai-csp-utils/colab/install_rapids.py stable
import os
os.environ['NUMBAPRO_NVVM'] = '/usr/local/cuda/nvvm/lib64/libnvvm.so'
os.environ['NUMBAPRO_LIBDEVICE'] = '/usr/local/cuda/nvvm/libdevice/'
os.environ['CONDA_PREFIX'] = '/usr/local'

它一直有效,但最近我明白了

尝试检索此 URL 时发生 HTTP 错误。 HTTP 错误通常是间歇性的,只需重试即可恢复正常。 CondaHTTPError:URL 的 HTTP 403 FORBIDDEN 已过去:00:00.358595

我重试了几次还是不行,请问如何解决?

google-colaboratory rapids cudf
1个回答
0
投票

cuDF 和 cudf.pandas 现在预装在 Google Colab 的 GPU 实例上。您仍然可以使用 RAPIDS+Colab Pip 安装模板

将其余 RAPIDS 库安装到支持 GPU 的 Colab 实例上,例如 cuML、cuGraph、cuXfilter 和 cuSpatial
© www.soinside.com 2019 - 2024. All rights reserved.