camenduru / MVDream-colab

16 stars 2 forks source link

Torchaudio 2.1.0 Conflict #2

Open Carvahalll opened 8 months ago

Carvahalll commented 8 months ago

When running the first Cell of the MVDream_3D_colab, there seems to be a conflict with the new Pytorch release. I'm guessing the combination of the xformers 0.0.20 and nerfacc with torch version 2.0.0 don't seem to work together nicely. This is the error i get:

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.
lida 0.0.10 requires kaleido, which is not installed.
torchaudio 2.1.0+cu118 requires torch==2.1.0, but you have torch 2.0.1 which is incompatible.
torchdata 0.7.0 requires torch==2.1.0, but you have torch 2.0.1 which is incompatible.
torchtext 0.16.0 requires torch==2.1.0, but you have torch 2.0.1 which is incompatible.

And if I ignore it, I can't run the second cell with the Error Message: OSError: /usr/local/lib/python3.10/dist-packages/torchaudio/lib/libtorchaudio.so: undefined symbol: _ZN3c104cuda9SetDeviceEi

camenduru commented 8 months ago

thanks for the info ❤ please try again

Carvahalll commented 8 months ago

Wow, that was very quick. I actually found exactly the same fix in the meantime. Now i get to the execution of the model, but because google colab is never actually assigning me a A100 (even though i payd for pro), I still can't run the model. With the P100 it naturally runs out of memory and with the V100 there is a mismatch between the necessary tinycudann extension installed on the Runtime. I guess there is no easy fix for either of those problems?