PaddleGAN icon indicating copy to clipboard operation
PaddleGAN copied to clipboard

How to use GPU

Open osushilover opened this issue 1 year ago • 2 comments

Sorry if I am missing the relevant tutorial. I couldn't use gpu on Google Colab Pro during the running python: styleganv2fitting.py or more. Do we have any option for gpu training? I wanna train faster with gpu instead of using the cpu preferentially.

My environment, Hardware acceleration: GPU Runtime: High memory

osushilover avatar Jul 20 '22 07:07 osushilover

Me too.That's strange. Somebody is can.

lp20010415 avatar Sep 09 '22 17:09 lp20010415

I deal this problem.Emmm, make sure you computer is use Nvidia suggest download version 10.2 You need download CUDA(https://developer.nvidia.com/cuda-10.2-download-archive?target_os=Windows&target_arch=x86_64&target_version=10&target_type=exelocal) And paddlepaddle-gpu(https://www.paddlepaddle.org.cn/install/quick?docurl=/documentation/docs/zh/install/pip/windows-pip.html) And you also download cudnn, is 7 (this can speed up your coumputing) if you have CUDA and paddlepaddle-gpu, normally can use GPU

lp20010415 avatar Sep 09 '22 17:09 lp20010415