threestudio-project / threestudio

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

ImportError #464

Open lcttlx opened 4 months ago

lcttlx commented 4 months ago

ImportError: /home/dreamer/.local/lib/python3.10/site-packages/tinycudann_bindings/_89_C.cpython-310-x86_64-linux-gnu.so: undefined symbol: _ZN2at4_ops5zeros4callEN3c108ArrayRefINS2_6SymIntEEENS2_8optionalINS2_10ScalarTypeEEENS6_INS2_6LayoutEEENS6_INS2_6DeviceEEENS6_IbEE also too

lcttlx commented 4 months ago

dreamer@6acb1d8fedc0:~/threestudio$ python3 launch.py --config configs/stable-zero123.yaml --train --gpu 0 data.image_path=./load/images/hamburger_rgba.png


launch.py 301 main(args, extras)

launch.py 135 main import threestudio

init.py 55 from . import data, models, systems

init.py 1 from . import co3d, image, multiview, uncond

co3d.py 17 from threestudio.data.uncond import (

uncond.py 14 from threestudio.utils.base import Updateable

init.py 1 from . import base

base.py 7 from threestudio.utils.misc import get_device, load_module_weights

misc.py 6 import tinycudann as tcnn

init.py 9 from tinycudann.modules import free_temporary_memory, NetworkWithInputEncoding, Network, Encoding

modules.py 51 _C = importlib.import_module(f"tinycudannbindings.{cc}_C")

init.py 126 import_module return _bootstrap._gcd_import(name[level:], package, level)

ImportError: /home/dreamer/.local/lib/python3.10/site-packages/tinycudann_bindings/_89_C.cpython-310-x86_64-linux-gnu.so: undefined symbol: _ZN2at4_ops5zeros4callEN3c108ArrayRefINS2_6SymIntEEENS2_8optionalINS2_10ScalarTypeEEENS6_INS2_6LayoutEEENS6_INS2_6DeviceEEENS6_IbEE

scchess commented 2 months ago

I also have the same issue

jokodi commented 1 week ago

exactly the same error here :/ Running it on Windows 10 within Docker.

jokodi commented 1 week ago

might be a driver or cuda version issue. [https://github.com/NVlabs/tiny-cuda-nn/issues/398]