threestudio-project / threestudio

A unified framework for 3D content generation.
Apache License 2.0
5.92k stars 457 forks source link

xformers requirement install wrong version #377

Open nkundtz opened 6 months ago

nkundtz commented 6 months ago

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

DSaurus commented 6 months ago

Hi @nkundtz ,

Thank you for your advice, I have updated requirements.txt (removing xformers ) and added instructions in installation.