Pytorch cpp extension not working

When playing with https://github.com/happy-jihye/Cartoon-StyleGAN, PyTorch CPP extension does not work out of the box.

Running under docker at least let me import the module.

Update:
It seems that gcc-11 causing the problem. Using gcc-10 seems to work. But I need to modify environment variables explicitly.

export CC=/usr/bin/gcc-10 
export CXX=/usr/bin/g++-10


Leave a Reply

Your email address will not be published. Required fields are marked *