Giter Site home page Giter Site logo

Comments (4)

mmmovania avatar mmmovania commented on September 7, 2024 1

Yep that was it. It works :)

from nvcc4jupyter.

cosminc98 avatar cosminc98 commented on September 7, 2024 1

The extension now runs these steps for you when it is loaded.

from nvcc4jupyter.

cosminc98 avatar cosminc98 commented on September 7, 2024

Hello @mmmovania,

According to this post from the nvidia forum, it looks like a broken CUDA install. I will test it as soon as I have time to see if there is a solution for it.

from nvcc4jupyter.

cosminc98 avatar cosminc98 commented on September 7, 2024

The problem seems to be that the "nvidia-cuda-toolkit" package is not installed. After this, it seems that another error appears that is related to a wrong version of gcc. You can fix it by adding a new directory to the PATH environment variable (at the beginning so it is prioritized) where you put a symbolic link to the correct gcc version that is already installed in kaggle.

Cell 1:

!apt install -y nvidia-cuda-toolkit; mkdir /usr/bin/priority; ln -s /usr/bin/gcc-8 /usr/bin/priority/gcc

Cell 2:

import os
os.environ["PATH"] = "/usr/bin/priority:" + os.environ["PATH"]

If this does not solve your problem feel free to reopen the issue.

from nvcc4jupyter.

Related Issues (18)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.