Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TensorFlow can'f find GPU inside Spyder but can from the CL #23755

Open
Nic-Roberts-Hud opened this issue Feb 18, 2025 · 0 comments
Open

TensorFlow can'f find GPU inside Spyder but can from the CL #23755

Nic-Roberts-Hud opened this issue Feb 18, 2025 · 0 comments

Comments

@Nic-Roberts-Hud
Copy link

Nic-Roberts-Hud commented Feb 18, 2025

  • Spyder version: 5.5.1 (conda)
  • Python version: 3.12.4 64-bit
  • Qt version: 5.15.2
  • PyQt5 version: 5.15.10
  • Operating System: Windows-11-10.0.22631-SP0

FTR - update to version 6.x isn't an option at the moment due to IT restrictions (but if you can give more ammo to suggest the upgrade....)

From the command line,

Image

As you can see TensorFlow is having no problem finding the GPU but when I run the following script in Spyder with the tf environment interpreter selected,

import tensorflow as tf

print(tf.config.list_physical_devices('GPU'))

I get the following traceback,

The system cannot find the path specified.
2025-02-18 10:05:05.001019: W tensorflow/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library 'cudart64_110.dll'; dlerror: cudart64_110.dll not found
2025-02-18 10:05:05.001054: I tensorflow/stream_executor/cuda/cudart_stub.cc:29] Ignore above cudart dlerror if you do not have a GPU set up on your machine.
2025-02-18 10:05:06.229557: W tensorflow/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library 'cudart64_110.dll'; dlerror: cudart64_110.dll not found
2025-02-18 10:05:06.229761: W tensorflow/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library 'cublas64_11.dll'; dlerror: cublas64_11.dll not found
2025-02-18 10:05:06.230459: W tensorflow/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library 'cublasLt64_11.dll'; dlerror: cublasLt64_11.dll not found
2025-02-18 10:05:06.230626: W tensorflow/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library 'cufft64_10.dll'; dlerror: cufft64_10.dll not found
2025-02-18 10:05:06.230785: W tensorflow/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library 'curand64_10.dll'; dlerror: curand64_10.dll not found
2025-02-18 10:05:06.230945: W tensorflow/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library 'cusolver64_11.dll'; dlerror: cusolver64_11.dll not found
2025-02-18 10:05:06.231103: W tensorflow/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library 'cusparse64_11.dll'; dlerror: cusparse64_11.dll not found
2025-02-18 10:05:06.231260: W tensorflow/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library 'cudnn64_8.dll'; dlerror: cudnn64_8.dll not found
2025-02-18 10:05:06.231267: W tensorflow/core/common_runtime/gpu/gpu_device.cc:1934] Cannot dlopen some GPU libraries. Please make sure the missing libraries mentioned above are installed properly if you would like to use GPU. Follow the guide at https://www.tensorflow.org/install/gpu for how to download and setup the required libraries for your platform.
Skipping registering GPU devices...

So no GPU found.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant