Giter VIP home page Giter VIP logo

Comments (9)

jeanswiegers avatar jeanswiegers commented on April 28, 2024 2

i have restarted pc and ubuntu multiple times.

+-----------------------------------------------------------------------------------------+
| NVIDIA-SMI 550.60.01              Driver Version: 551.76         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 3090        On  |   00000000:01:00.0  On |                  N/A |
| 30%   54C    P0            121W /  350W |    1642MiB /  24576MiB |      4%      Default |
|                                         |                        |                  N/A |
+-----------------------------------------+------------------------+----------------------+

+-----------------------------------------------------------------------------------------+
| Processes:                                                                              |
|  GPU   GI   CI        PID   Type   Process name                              GPU Memory |
|        ID   ID                                                               Usage      |
|=========================================================================================|
|  No running processes found                                                             |
+-----------------------------------------------------------------------------------------+

from tensorflow.

sushreebarsa avatar sushreebarsa commented on April 28, 2024

@jeanswiegers If TF is not recognizing GPU, then could you please verify the build compatibility by running the following in your WSL environment;

import tensorflow as tf
print(tf.test.is_built_with_cuda())

This should output True. If it's False, you might need to reinstall TensorFlow with GPU support. For more information on WSL with GPU support please refer to https://www.tensorflow.org/install/pip. The TensorFlow version needs to be compatible with your CUDA version.

Thank you!

from tensorflow.

jeanswiegers avatar jeanswiegers commented on April 28, 2024

@jeanswiegers If TF is not recognizing GPU, then could you please verify the build compatibility by running the following in your WSL environment;

import tensorflow as tf
print(tf.test.is_built_with_cuda())

This should output True. If it's False, you might need to reinstall TensorFlow with GPU support. For more information on WSL with GPU support please refer to https://www.tensorflow.org/install/pip. The TensorFlow version needs to be compatible with your CUDA version.

Thank you!

Hi Sushreebarsa, thanks for your help. It does return True in my environment.

from tensorflow.

sushreebarsa avatar sushreebarsa commented on April 28, 2024

@jeanswiegers Thank you for your quick response!
Simply restarting your WSL instance (wsl --shutdown) or your entire computer can resolve environment variable issues. Could you please try this once. If the issue continues then, please use nvidia-smi within your WSL terminal to confirm your RTX3090 is recognized by the NVIDIA drivers. If not, there might be an issue with the driver installation itself.
Thank you!

from tensorflow.

jeanswiegers avatar jeanswiegers commented on April 28, 2024

I managed to get it working by installing the latest supported CUDA version (12.3) Ubuntu runfile stated on tensorflows website.

Only running
pip install tensorflow[with-cuda] doesn't work.

from tensorflow.

jeanswiegers avatar jeanswiegers commented on April 28, 2024

Working

from tensorflow.

google-ml-butler avatar google-ml-butler commented on April 28, 2024

Are you satisfied with the resolution of your issue?
Yes
No

from tensorflow.

sushreebarsa avatar sushreebarsa commented on April 28, 2024

@jeanswiegers Glad it worked fine for you.
Thank you!

from tensorflow.

chaudharyachint08 avatar chaudharyachint08 commented on April 28, 2024

Almost final and automated fix below

from tensorflow.

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.