How to force it not to use GPU?

I am looking into -tf version, and I would like to run train_and_eval without using my GPU.
Is that possible?

  • install tensorflow instead of tensorflow-gpu
  • or hide all GPUs to the process:
CUDA_VISIBLE_DEVICES= onmt-main [...]
1 Like