Installation fails
Opened this issue · 1 comments
Hi! I'm trying to get this project running specifically for the audio-visual part. I'm following the installation instructions in the root README, running in a Google Colab notebook using a T4 GPU.
I've run the following:
!pip install nvidia-cudnn-cu116 --extra-index-url https://pypi.ngc.nvidia.com
as per the earlier issue here.
Then:
!pip install numpy Cython torch --extra-index-url https://download.pytorch.org/whl/cu116
and finally:
!pip install git+https://github.com/maua-maua-maua/maua.git --extra-index-url https://pypi.ngc.nvidia.com --extra-index-url https://download.pytorch.org/whl/cu116
Which then gives the output:
Looking in indexes: https://pypi.org/simple, https://pypi.ngc.nvidia.com/, https://download.pytorch.org/whl/cu116
Collecting git+https://github.com/maua-maua-maua/maua.git
Cloning https://github.com/maua-maua-maua/maua.git to /tmp/pip-req-build-0gqqay2x
Running command git clone --filter=blob:none --quiet https://github.com/maua-maua-maua/maua.git /tmp/pip-req-build-0gqqay2x
Resolved https://github.com/maua-maua-maua/maua.git to commit d968fd91f0d9b371ae5a5aa8e7ad9e9a906ded22
Running command git submodule update --init --recursive -q
Preparing metadata (setup.py) ... done
Collecting apex@ git+https://github.com/NVIDIA/apex (from maua==0.4)
Cloning https://github.com/NVIDIA/apex to /tmp/pip-install-hyxcyr_i/apex_ee92ddee1c1c471a964997c89113d2cc
Running command git clone --filter=blob:none --quiet https://github.com/NVIDIA/apex /tmp/pip-install-hyxcyr_i/apex_ee92ddee1c1c471a964997c89113d2cc
Resolved https://github.com/NVIDIA/apex to commit 141bbf1cf362d4ca4d94f4284393e91dda5105a5
Running command git submodule update --init --recursive -q
Installing build dependencies ... done
error: subprocess-exited-with-error
× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.
Getting requirements to build wheel ... error
error: subprocess-exited-with-error
× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.
The end game here is that I just want to be able to run the audio-visual code with a pretrained StyleGAN3 model preferably in Google Colab, so any solution which gets me there I'm happy with 😄 Here's a test environment for you.
Always a pain having to compile these libraries from source...
Looks like Apex needs a couple of extra compilation flags to work through pip nowadays which then requires a bunch of haggling with the other source installs.
Here's a notebook based on yours which seems to install successfully for me:
https://colab.research.google.com/drive/1pRQ2GLNYjKYUcqdAzu5XydtC7Dh8q-3p?usp=sharing