# I followed the tensorflow instructions but it won't detect my gpu

**URL:** <https://discuss.ai.google.dev/t/i-followed-the-tensorflow-instructions-but-it-wont-detect-my-gpu/26344>\
**Category:** General Discussion\
**Tags:** gpu, tensorflow\
**Created:** [April 23, 2024, 11:34am UTC](https://discuss.ai.google.dev/t/i-followed-the-tensorflow-instructions-but-it-wont-detect-my-gpu/26344 "2024-04-23T11:34:37Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jiyuu](https://d1dlmcr85iqnpo.cloudfront.net/user_avatar/discuss.ai.google.dev/jiyuu/32/18015_2.png) [@Jiyuu](https://discuss.ai.google.dev/u/Jiyuu)\
**Post date:** [April 23, 2024, 11:34am UTC](https://discuss.ai.google.dev/t/i-followed-the-tensorflow-instructions-but-it-wont-detect-my-gpu/26344/1 "2024-04-23T11:34:37Z")

</div>

Hello guys, sorry for asking this simple question but why won’t tensorflow detect my GPU I have the correct versions for python, cuda, cudnn, and tensorflow and I think I’m stumped after 3 days. I hope someone can help. Here is a summary of installed packages I used in Anaconda Powershell Prompt.

```auto
(tf) PS C:\WINDOWS\system32> conda list cudatoolkit
# packages in environment at C:\ProgramData\anaconda3\envs\tf:
#
# Name Version Build Channel
cudatoolkit 11.2.2 h7d7167e_13 conda-forge
(tf) PS C:\WINDOWS\system32> conda list cudnn
# packages in environment at C:\ProgramData\anaconda3\envs\tf:
#
# Name Version Build Channel
cudnn 8.1.0.77 h3e0f4f4_0 conda-forge
(tf) PS C:\WINDOWS\system32> conda list tensorflow
# packages in environment at C:\ProgramData\anaconda3\envs\tf:
#
# Name Version Build Channel
tensorflow 2.10.0 pypi_0 pypi
tensorflow-estimator 2.10.0 pypi_0 pypi
(tf) PS C:\WINDOWS\system32> conda list python
# packages in environment at C:\ProgramData\anaconda3\envs\tf:
#
# Name Version Build Channel
python 3.9.19 h1aa4202_0
(tf) PS C:\WINDOWS\system32> python -c "import tensorflow as tf; print(tf.config.list_physical_devices('GPU'))"
[]
(tf) PS C:\WINDOWS\system32> python -c "import tensorflow as tf; print(tf.reduce_sum(tf.random.normal([1000, 1000])))"
tf.Tensor(-1392.3337, shape=(), dtype=float32)

```

---

<div class="post-metadata">

**Author:** ![Kiran\_Sai\_Ramineni](https://d1dlmcr85iqnpo.cloudfront.net/user_avatar/discuss.ai.google.dev/kiran_sai_ramineni/32/8859_2.png) [@Kiran\_Sai\_Ramineni](https://discuss.ai.google.dev/u/Kiran_Sai_Ramineni)\
**Post date:** [May 30, 2024, 8:09am UTC](https://discuss.ai.google.dev/t/i-followed-the-tensorflow-instructions-but-it-wont-detect-my-gpu/26344/3 "2024-05-30T08:09:37Z")

</div>

Hi @Jiyuu, I have tried to install tensorflow with GPU on windows and was able to detect the GPU

![Displaying image.png](https://chat.google.com/u/0/api/get_attachment_url?url_type=FIFE_URL&content_type=image%2Fpng&attachment_token=AOo0EEUtrslB4mzBalQRAevmkmVru7zh9ccAcijooBvpTkZAt6La47ScfQYmtuZtdq0ZPNPMWdg%2BXo0ANmh%2Fw3ZL8IUWoJvBrJ9aDaNUHKtprld89xK9JH7gCJYqaJkm9GLfq08FByAZDQmVQJpCb11%2FJ9Gz82foYrTp6xAdAY5Q%2FYILX21io7rCgD9G7jrVEM5eHLQieGhGFgF9KWDavejMDzsyht5VuZD%2BatYnAQ%2Fhhamplcd2MrZOlh1Zej97rLHc7M3e%2BFI3sogDKwYMEZxyEL%2FvbtU0PokStYs1%2BLeVE6uwvznCn2KzYJq7%2BzPlSRk2guSua85KFohQvD7yfh2cqedjjgyL%2FBV%2BdEA8P1RYaJld9iViv4kolBuIx9Fg%2FAW3g%2FIZIorhUjOst%2BJm38xeSqgnLIjJV5yKhpaaAGjhsQ43ig5nzv2MjPf90oG5n%2FAa1TStNKrvtRO%2Bhkw%2BH4RmxZBnqdNzyZ1FIpPRB08m3Lyb27lS8zF0dVLetX0foBgw1TdCzVGHlhOI6f4RU812RF1ORnNEBEC%2B6SWuhi17Zjt9fHBI%2FzuCywE%2FA4HlY%2BUT05haYKzAKWdz%2FM%2FmbxUjmbGlNuLzDg%3D%3D&sz=w1920-h1040)

could you please try to create a new environment and then install tensorflow with GPU support. Thank You.
