Coder Social home page Coder Social logo

Comments (1)

icejean avatar icejean commented on June 22, 2024

Well, it is my fault. Acutally every thing is O.K, both models are running on device cuda.
The cause is that, I'm running R torch on WSL2 Ubuntu22, and watching the GPU loads with Windows task manager, this leads to some misunderstanding.
The fact is that, CUDA toolkit on WSL2 Ubuntu is a special version that doesn't include Nvidia driver of Ubuntu,Windows will export the Windows Nvidia driver to Ubuntu at /usr/lib/wsl/lib/, and Windows task manager seems doesn't reflect all loads on the Nvidia GPU,especially those running on WSL2 Ubuntu. The main load in Windows task manaager of a Nvidia GPU is copy load, this isn't the fact.
And when I run nvidia-smi -l 1 on WSL2 Ubuntu, I can see the actual load on it, the GPU-Util & Compute M. indexes show that it's really running on the cuda device. May be nvidia-smi only looks for process running on Windows, not including those on WSL2 Ubuntu, it tells that 'No running processes found', but it isn't the truth.
The following is nvidia-smi output and windows task manager snapshot of the 1st model:
R-13
The folowing is the snapshot of the 2nd model:
R-14
After all, the fan of the GPU is running fast, it means tha the GPU is working hard.

from torch.

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.