Skip to content

Colab: Errors & Possible fixes #169

@csmborgaro

Description

@csmborgaro

colab is broken due to google removing cuda 10.1
answered by eyaler

this can be fixed by:

!apt-get -o Dpkg::Options::="--force-overwrite" install cuda-11-1
import os
cuda_home = '/usr/local/cuda-11.1'
os.environ["CUDA_HOME"] = cuda_home
with open(os.path.join(cuda_home, 'version.txt'), 'w') as f:
  f.write('CUDA Version 11.1')

outdated pip error

pip install pip==23.0.1
(or just install the latest version of pip.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions