How to run on GPU
harshitazilen opened this issue · comments
harshitazilen commented
I tried configuring below parameters but it still does not use GPU. Please guide:
os.environ["CUDA_DEVICE_ORDER"] = "PCI:1:0:0"
os.environ["CUDA_VISIBLE_DEVICES"] = "0"
Thanks
Rodrigo Meira de Andrade commented
if you installed tensorflow correctly, it will use GPU by default
look4pritam commented
Install cuda 10
Install cudnn for cuda-10
Install tensorflow- GPU.
Then it will work.
harshitazilen commented
Thanks. I tried by creating new virtual environment and re-configured everything and it is working now.