CUDA error: illegal memory access was encountered
matigekunstintelligentie opened this issue · 3 comments
matigekunstintelligentie commented
I'm getting the following error in stylegan2/op/fused_act.py at line 66:
RuntimeError: CUDA error: an illegal memory access was encountered
Did not use the docker file and I'm running on torch 1.8.1 and I'm running on a 3090
matigekunstintelligentie commented
Pytorch 1.7.1 from the docker file does not have the sinc operator used in the lowpass operator
rosinality commented
Sorry, I thought I using 1.7.1. It would be better to update the version in the dockerfile.
Regarding to CUDA error, I don't have much clue on it. I will look into it.
matigekunstintelligentie commented
Got it to work by reducing the resolution from 1024 to 256 or the number of output samples. Pytorch 1.7.1 gives multiple bugs, but 1.8 works!