williamyang1991 / VToonify

[SIGGRAPH Asia 2022] VToonify: Controllable High-Resolution Portrait Video Style Transfer
Other
3.53k stars 442 forks source link

cpp_extension ninja subprocess error on Amazon EC2 server with CUDA 11. #69

Open akokhlik opened 10 months ago

akokhlik commented 10 months ago

Hi everyone,

I am encountering issues when installing VToonify on my Amazon ec2 Linux 2 server which has CUDA 11.

Here is a snippet of the issue that I see: Traceback (most recent call last): File "/home/ec2-user/anaconda3/envs/vtoonify_env/lib/python3.8/site-packages/torch/utils/cpp_extension.py", line 1516, in _run_ninja_build subprocess.run( File "/home/ec2-user/anaconda3/envs/vtoonify_env/lib/python3.8/subprocess.py", line 512, in run raise CalledProcessError(retcode, process.args, subprocess.CalledProcessError: Command '['ninja', '-v']' returned non-zero exit status 1.

The full error message can be found here. Error message

The output of conda list can be found here. Conda list

Any help would be greatly appreciated.

Thank you, Artur