# Tensorflow doesn't see any GPU

**URL:** <https://forums.developer.nvidia.com/t/tensorflow-doesnt-see-any-gpu/243142>\
**Category:** CUDA Setup and Installation\
**Tags:** installation, tensorflow\
**Created:** [February 16, 2023, 11:39pm UTC](https://forums.developer.nvidia.com/t/tensorflow-doesnt-see-any-gpu/243142 "2023-02-16T23:39:45Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![deep.learning.newbie](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@deep.learning.newbie](https://forums.developer.nvidia.com/u/deep.learning.newbie)\
**Post date:** [February 16, 2023, 11:39pm UTC](https://forums.developer.nvidia.com/t/tensorflow-doesnt-see-any-gpu/243142/1 "2023-02-16T23:39:45Z")

</div>

## Description

in case I posted this message in wrong group, please point me right group.

the issue is - my tensorflow does not see any GPU.

```python
print("Num GPUs Available: ", len(tf.config.list_physical_devices('GPU')))

```

this code returns 0

could somebody help me to fix it ?

## Environment

**TensorRT Version** :  
**GPU Type** : nvidia 2080 ti  
**Nvidia Driver Version** : 528.49  
**CUDA Version** : 12.0  
**CUDNN Version** : 8.4.1.50  
**Operating System + Version** : Windows 10  
**Python Version (if applicable)**: 3.11.0  
**TensorFlow Version (if applicable)**: 2.12.0-rc0

---

<div class="post-metadata">

**Author:** ![mike11d11](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@mike11d11](https://forums.developer.nvidia.com/u/mike11d11)\
**Post date:** [April 1, 2023, 6:02pm UTC](https://forums.developer.nvidia.com/t/tensorflow-doesnt-see-any-gpu/243142/2 "2023-04-01T18:02:01Z")

</div>

Having the same issue here…

---

<div class="post-metadata">

**Author:** ![shamsuadamu](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/shamsuadamu/32/237995_2.png) [@shamsuadamu](https://forums.developer.nvidia.com/u/shamsuadamu)\
**Post date:** [May 9, 2023, 9:33am UTC](https://forums.developer.nvidia.com/t/tensorflow-doesnt-see-any-gpu/243142/3 "2023-05-09T09:33:55Z")

</div>

Why is it too difficult to activate GPU. I have followed different tutorial, yet same erro.  
len(tf.config.list\_physical\_devices(‘GPU’))\>0  
False

---

<div class="post-metadata">

**Author:** ![zroslav](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/zroslav/32/264140_2.png) [@zroslav](https://forums.developer.nvidia.com/u/zroslav)\
**Post date:** [July 5, 2023, 7:58am UTC](https://forums.developer.nvidia.com/t/tensorflow-doesnt-see-any-gpu/243142/4 "2023-07-05T07:58:21Z")

</div>

I am writing this for any seekers in future.

I used different instructions than on official website.

Instead of typing “pip install tensorflow” I typed “conda install tensorflow” (since Miniconda didn’t list tensorflow I decided to install with conda) in Anaconda Powershell.

And it worked! Now TF sees my GPU.

---

<div class="post-metadata">

**Author:** ![thomas.schipper3](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@thomas.schipper3](https://forums.developer.nvidia.com/u/thomas.schipper3)\
**Post date:** [October 2, 2023, 7:53pm UTC](https://forums.developer.nvidia.com/t/tensorflow-doesnt-see-any-gpu/243142/5 "2023-10-02T19:53:53Z")

</div>

Not enough information in the original to be able to tell exactly what sort of install they’re attempting.

I’m running into a similar problem and working through various different solutions. It used to be simple to get tensorflow to use the native GPU in a system, but not anymore. Even after attempting to install CUDA/cuDNN and validating the installs as well as possible, tensorflow does not see the GPU. I think the problem is that the Windows version stopped looking for it at 2.10 which is now old enough that it’s not readily available for install. It seems we now need to move to WSL which I’m now attempting to do.

While I understand there are a lot of good reasons to go with WSL, it seems like it was so simple before to have my GPU working for me and now I’m needing to put in a lot of extra steps. Will update if/when I get it solved and would appreciate any other input/suggestions.

---

<div class="post-metadata">

**Author:** ![lalit.k.pal](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@lalit.k.pal](https://forums.developer.nvidia.com/u/lalit.k.pal)\
**Post date:** [February 21, 2025, 8:11am UTC](https://forums.developer.nvidia.com/t/tensorflow-doesnt-see-any-gpu/243142/6 "2025-02-21T08:11:02Z")

</div>

I have tried WSL as well but not successful. I thought it to be simple and straightforward but it came out to be rather cumbersome.
