Code Monkey home page Code Monkey logo

Comments (4)

AndreSlavescu avatar AndreSlavescu commented on August 28, 2024 1

no CUDA-capable device is detected

Okay in that case it seems you have installed it. There are quite a few problems if you install it a certain way, so refer to this thread:

https://forums.developer.nvidia.com/t/no-cuda-capable-device-is-detected/39478

from llm.c.

AndreSlavescu avatar AndreSlavescu commented on August 28, 2024

It seems like you have not installed a GPU driver for your GPU. If you try running nvidia-smi, it will not work for this reason. Refer to this information page:

https://docs.nvidia.com/cuda/wsl-user-guide/index.html

from llm.c.

rucnyz avatar rucnyz commented on August 28, 2024

It seems like you have not installed a GPU driver for your GPU. If you try running nvidia-smi, it will not work for this reason. Refer to this information page:

https://docs.nvidia.com/cuda/wsl-user-guide/index.html

@AndreSlavescu Thanks for your reply! But when I run nvidia-smi, it indeed shows:

Thu Apr 11 22:05:22 2024       
+-----------------------------------------------------------------------------------------+
| NVIDIA-SMI 550.54.10              Driver Version: 551.61         CUDA Version: 12.4     |
|-----------------------------------------+------------------------+----------------------+
| GPU  Name                 Persistence-M | Bus-Id          Disp.A | Volatile Uncorr. ECC |
| Fan  Temp   Perf          Pwr:Usage/Cap |           Memory-Usage | GPU-Util  Compute M. |
|                                         |                        |               MIG M. |
|=========================================+========================+======================|
|   0  NVIDIA GeForce RTX 4060 ...    On  |   00000000:01:00.0  On |                  N/A |
| N/A   54C    P5              7W /  120W |    1974MiB /   8188MiB |     26%      Default |
|                                         |                        |                  N/A |
+-----------------------------------------+------------------------+----------------------+

from llm.c.

rucnyz avatar rucnyz commented on August 28, 2024

no CUDA-capable device is detected

Okay in that case it seems you have installed it. There are quite a few problems if you install it a certain way, so refer to this thread:

https://forums.developer.nvidia.com/t/no-cuda-capable-device-is-detected/39478

Thanks! The reason is that I downloaded the wrong version of the CUDA toolkit. I downloaded it again and then it worked!

from llm.c.

Related Issues (20)

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.