-
Notifications
You must be signed in to change notification settings - Fork 38
ImportError Problem with Tinycudann bindings #26
Description
Process
…./MVDream-threestudio/docker$ docker compose build
…../MVDream-threestudio/docker$ docker compose up
…/MVDream-threestudio/docker$ docker compose exec threestudio bash
dreamer@...../threestudio$ python launch.py --config configs/mvdream-sd21.yaml --train --gpu 0 system.prompt_processor.prompt="an astronaut riding a horse"
Error message after prompt input
Traceback (most recent call last):
File "/home/dreamer/threestudio/launch.py", line 237, in
main(args, extras)
File "/home/dreamer/threestudio/launch.py", line 73, in main
import threestudio
File "/home/dreamer/threestudio/threestudio/init.py", line 36, in
from . import data, models, systems
File "/home/dreamer/threestudio/threestudio/data/init.py", line 1, in
from . import co3d, image, multiview, uncond, random_multiview
File "/home/dreamer/threestudio/threestudio/data/co3d.py", line 17, in
from threestudio.data.uncond import (
File "/home/dreamer/threestudio/threestudio/data/uncond.py", line 13, in
from threestudio.utils.base import Updateable
File "/home/dreamer/threestudio/threestudio/utils/init.py", line 1, in
from . import base
File "/home/dreamer/threestudio/threestudio/utils/base.py", line 7, in
from threestudio.utils.misc import get_device, load_module_weights
File "/home/dreamer/threestudio/threestudio/utils/misc.py", line 5, in
import tinycudann as tcnn
File "/home/dreamer/.local/lib/python3.10/site-packages/tinycudann/init.py", line 9, in
from tinycudann.modules import free_temporary_memory, NetworkWithInputEncoding, Network, Encoding
File "/home/dreamer/.local/lib/python3.10/site-packages/tinycudann/modules.py", line 51, in
C = importlib.import_module(f"tinycudann_bindings.{cc}_C")
File "/usr/lib/python3.10/importlib/init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
ImportError: /home/dreamer/.local/lib/python3.10/site-packages/tinycudann_bindings/_86_C.cpython-310-x86_64-linux-gnu.so: undefined symbol: _ZN2at4_ops5zeros4callEN3c108ArrayRefINS2_6SymIntEEENS2_8optionalINS2_10ScalarTypeEEENS6_INS2_6LayoutEEENS6_INS2_6DeviceEEENS6_IbEE
Additional information
Working on an Ubuntu 22.4. Docker like in your Repo. I tried it on two different computers and I get the same error. A month ago, everything was still functioning, now I tried everything and nothing works unfortunately. Hopefully someone can help!