Open notdanilo opened 9 months ago
Got saimilar issue
dreamer@e4ec35602742:~/threestudio$ python launch.py --config configs/zero123.yaml --train --gpu 0 data.image_path=./load/images/dog1_rgba.png
Traceback (most recent call last):
File "/home/dreamer/threestudio/launch.py", line 301, in
This issue seem to be linked. I am working on getting gcc10 up on the system. I will report back if I succeed https://github.com/threestudio-project/threestudio/issues/438
I got it installed. I commented out tinycudann in the requirements file, ran and then commented it back in, run pip install again. I created a new conda to do this. I had said gcc version 10 in the other bug but im using 11 and it works. I'm currently stuck on exporting a mesh. It is running with no progress. But the video was generated.
https://blog.andytriboletti.com/2024/02/26/installing-dreamfusion-on-ubuntu-wsl-windows/
I increased the ram in my machine and was able to export a mesh. One problem I saw is the mesh is not oriented the same way as the video and pictures.
I had the same problem but solved it.
Environment
I followed the installation instruction in the link below: https://www.youtube.com/watch?v=jaRr5W80N8E&t=260s
After that, I encountered the same issue you are experiencing, but found this solution.
As the link below states: https://github.com/autonomousvision/sdfstudio/issues/33
It seems that _89_C.cpython-310-x86_64-linux-gnu.so is the problem, so you need to re-build your tinycudann by yourself (which is easy. just follow the instruction in the comment in the link)
once the build is complete, COPY '_89_C.cpython-310-x86_64-linux-gnu.so' UNDER 'tiny-cuda-nn/bindings/torch/build/lib.linux-x86_64-cpython-310/tinycudann_bindings' TO '/home/dreamer/.local/lib/python3.10/site-packages/tinycudann_bindings/' in your case.
This issue seem to be linked. I am working on getting gcc10 up on the system. I will report back if I succeed #438
did gcc10 solve this problem?
I meet the same problem, has anyone solved this problem?
@Wisriter solved this by builing tiny-cuda-nn
separately as @gganjang suggested.
https://github.com/NVlabs/tiny-cuda-nn
I just followed the instructions there
git clone --recursive https://github.com/nvlabs/tiny-cuda-nn
cd tiny-cuda-nn
cmake . -B build -DCMAKE_BUILD_TYPE=RelWithDebInfo
cmake --build build --config RelWithDebInfo -j
Build took approx 20 minutes.
In my case it also complained that "The detected CUDA version (11.8) mismatches the version that was used to compile PyTorch (12.1). Please make sure to use the same CUDA versions." Which is solved by pip install torch==2.1.1 torchvision==0.16.1 torchaudio==2.1.1 --index-url https://download.pytorch.org/whl/cu118
Then:
cd bindings/torch
python setup.py install
FYI, if you're using the docker approach, this looks like it is happening because when we install xformers as part of the pip install -r requirements.txt
step, xformers is upgrading the version of torch. (I did a pip freeze in my container and found it was torch==2.2.2
even though we explicitly set it in an earlier step of the docker container: pip install torch==2.0.1+cu118 torchvision==0.15.2+cu118 --index-url https://download.pytorch.org/whl/cu118
. I recommend that somebody go and pin all the versions in requirements.txt as per the recommendations in this guide so this doesn't happen again. I would do it myself, but I don't have approval. P.S. This is an awesome project! Love what you guys are doing here. :)
@ArielQuinn you are right, it was mentioned in xformers issue #380
For me pip3 install -U xformers==0.0.23 --index-url https://download.pytorch.org/whl/cu118
worked
I had the same problem but solved it.
Environment
- WSL2 Ubuntu 20.04.6 LTS
I followed the installation instruction in the link below: https://www.youtube.com/watch?v=jaRr5W80N8E&t=260s
After that, I encountered the same issue you are experiencing, but found this solution.
As the link below states: autonomousvision/sdfstudio#33
It seems that _89_C.cpython-310-x86_64-linux-gnu.so is the problem, so you need to re-build your tinycudann by yourself (which is easy. just follow the instruction in the comment in the link)
once the build is complete, COPY '_89_C.cpython-310-x86_64-linux-gnu.so' UNDER 'tiny-cuda-nn/bindings/torch/build/lib.linux-x86_64-cpython-310/tinycudann_bindings' TO '/home/dreamer/.local/lib/python3.10/site-packages/tinycudann_bindings/' in your case.
solved!!! thanks!!!!!!!!!!!!!!!
This is still an issue, is it possible to alter the Docker file so that it installs in one go? That's supposed to be the point of them!
@crystalthoughts I guess we can comment on this pull request to fix this https://github.com/threestudio-project/threestudio/pull/472
Anyone with a ready docker image that can be pulled onto DockerHub?
I am facing this after setting up the Docker project: