python3 -c “import tensorflow as tf; print(tf.config.list_physical_devices(‘GPU’))”
tensorflow/tsl/cuda/cudart_stub.cc:28] Could not find cuda drivers on your machine, GPU will not be used.
Yes, I see on the tensorflow website, that only tested with lower CUDA, Using Python 3.10, PyTOrch cuda_is_available,
nvcc --version
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2019 NVIDIA Corporation
Built on Sun_Jul_28_19:07:16_PDT_2019
Cuda compilation tools, release 10.1, V10.1.243
nvidia-smi
Sat May 6 17:42:47 2023
±--------------------------------------------------------------------------------------+
| NVIDIA-SMI 530.41.03 Driver Version: 530.41.03 CUDA Version: 12.1 |
|-----------------------------------------±---------------------±---------------------+
| 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 4090 Off| 00000000:41:00.0 On | Off |
| 0% 37C P8 41W / 450W| 301MiB / 24564MiB | 0% Default |
| | | N/A |
±----------------------------------------±---------------------±---------------------+
±--------------------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=======================================================================================|
| 0 N/A N/A 1496 G /usr/lib/xorg/Xorg 59MiB |
| 0 N/A N/A 1930 G /usr/lib/xorg/Xorg 70MiB |
| 0 N/A N/A 2057 G …73947497,1085657924065483633,131072 153MiB |
±--------------------------------------------------------------------------------------+