threestudio
threestudio copied to clipboard
xformers requirement install wrong version
Threestudio install requires cu118, but the xformers default install requires cu121. (https://github.com/facebookresearch/xformers#installing-xformers). This mismatch breaks the MVDream install when following the instructions here: https://github.com/DSaurus/threestudio-mvdream. The install is successful, but the code will not run.
Installing the correct xformers version pip3 install -U xformers --index-url https://download.pytorch.org/whl/cu118
fixes the problem. I recommend updating requirements.txt
Hi @nkundtz ,
Thank you for your advice, I have updated requirements.txt (removing xformers ) and added instructions in installation.
Hi @DSaurus, I faced a similar issue, Due to xformers upgrading torch from 2.0.0 to 2.3.1 (using torch2.0.0+cu118). Which caused issue with nerfacc, and I had to downgrade torch again.
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
xformers 0.0.27 requires torch==2.3.1, but you have torch 2.0.0+cu118 which is incompatible.
Can we also update the main installation instructions rather than just the? mvdream extension? Let's put versions for all the repos listed so that such an issue won't occur in the future due to other repos. Thanks!