Hello everyone,
I run a code in python 3.9 with tensorflow 2.10 and cuda 11.2. when running the code:
python -c "import tensorflow as tf; print(tf.config.list_physical_devices('GPU'))"
I get this result indicating that everything is alright:
[PhysicalDevice(name=‘/physical_device:GPU:0’, device_type=‘GPU’)]
This code is ran on another environment in anaconda and not on the root environment.
However the GPU is not utilized and the code is ran on on CPU.
I installed cuda toolkit 11.2 on the system but nothing changed.
Can you please help me to fix this problem?