PDillis / stylegan3-fun

Modifications of the official PyTorch implementation of StyleGAN3. Let's easily generate images and videos with StyleGAN2/2-ADA/3!
Other
230 stars 36 forks source link

Fix custom ops bug for pytorch 1.12 and onwards #36

Open whatsnewsisyphus opened 6 months ago

whatsnewsisyphus commented 6 months ago

The code does not work with any available stable version of pytorch, meaning it breaks with colab out of box. The fix is simple, you should pull it from the official repo since you are downstream from that, it's their latest commit

From: https://github.com/NVlabs/stylegan3/commit/c233a919a6faee6e36a316ddd4eddababad1adf9

Adapt to newer _jit_get_operation API that changed in pytorch/pytorch#76814

for #188, #193