Open ivanpuhachov opened 3 years ago
I would also be interested in the GPU vs CPU discussion. Installing with CUDA and PyTorch did not really change performance for me. It does not even show the GPU being used in the activity monitor, but PyTorch insists that the tensors are on the GPU.
For me testing painterly_rendering.py
, running on CPU is roughly 10x faster than CUDA with RTX 3060 Ti 8GB.
I wonder if anyone can reproduce it or if it's just me getting the awkward result.
In your
generative_models/rendering.py
you haveforce_cpu=True
, but it works fine with all tensors on GPU (after little tweaks likecuda()
insted ofcpu()
here and there). However, it does not give any performance boost (mnist epoch still takes 15 minutes on my machine). Why is that? Am I missing something?Cheers, Ivan