Ubuntu GPU CUDA support
https://www.tensorflow.org/install/gpu
Step 1 - Install Nvidia drivers
Driver version 5.25 seems to work best for me
Verify by running
nvidia-smi
Step 2 - Install CUDA Toolkit
../CUDA/index.html
Step 3 - Install cuDNN
../CUDnn/index.html
Step 4 - Install Miniconda
../../../techtips/anaconda/index.html
Step 5 - create conda environment
conda create -n test01 python=3.10
activate
conda activate test01
Step 6 - Install CUDA-enabled tensorflow
conda install -c conda-forge tensorflow=2.15.0
Check to make sure that the CUDA packages were installed
conda list
Step 7 - Verify that tensorflow sees the GPU(s)
python3 -c 'import tensorflow as tf; print("Num GPUs Available: ",
len(tf.config.list_physical_devices("GPU")))'