stylegan2-pytorch icon indicating copy to clipboard operation
stylegan2-pytorch copied to clipboard

Get stuck when “from op import FusedLeakyReLu, fused_leaky_relu, upfirdn2d”

Open caskr opened this issue 2 years ago • 8 comments

Thank you for the great project. I used to run it successfully, but with not changing anything when I ran it last time, it stuck there for a long time. I pressed ctrl-c and it turned out that it was stuck in the line “ from op import FusedLeakyReLu, fused_leaky_relu, upfirdn2d”. Thanks!

caskr avatar Apr 13 '22 04:04 caskr

same here!

nooppi18 avatar Apr 13 '22 05:04 nooppi18

same problem

fyviezhao avatar Apr 15 '22 02:04 fyviezhao

I takes some time to compile custom kernels. You can check compiler is running.

rosinality avatar Apr 17 '22 04:04 rosinality

As mentioned by caskr, it was fine but all of a sudden compiling process won't finish (it keeps running). I've been using this code for 3 months now and it is the first time encountering this kind of issue.

nooppi18 avatar Apr 18 '22 11:04 nooppi18

Maybe it is related to pytorch or build environment problems. You can try to remove build caches usually located on /tmp/torch_extensions.

rosinality avatar Apr 18 '22 23:04 rosinality

Even after removing caches in /tmp/torch_extensions, the problem wasn't resolved. However, removing lock files in /.cache/torch_extensions/fused and /.cache/torch_extensions/upfirdn2d solved this issue.

For further details please refer to https://github.com/eladrich/pixel2style2pixel/issues/80#issuecomment-778637066

Thank you

nooppi18 avatar Apr 19 '22 06:04 nooppi18

Even after removing caches in /tmp/torch_extensions, the problem wasn't resolved. However, removing lock files in /.cache/torch_extensions/fused and /.cache/torch_extensions/upfirdn2d solved this issue.

For further details please refer to eladrich/pixel2style2pixel#80 (comment)

Thank you

This works for me! Thanks a lot!!!

caskr avatar Apr 22 '22 08:04 caskr

Even after removing caches in /tmp/torch_extensions, the problem wasn't resolved. However, removing lock files in /.cache/torch_extensions/fused and /.cache/torch_extensions/upfirdn2d solved this issue.

For further details please refer to eladrich/pixel2style2pixel#80 (comment)

Thank you

This also solved my problem, thanks a lot!

pandafriedlich avatar Feb 23 '23 19:02 pandafriedlich