tiny-cuda-nn icon indicating copy to clipboard operation
tiny-cuda-nn copied to clipboard

install issue

Open clear-train opened this issue 1 year ago • 8 comments
trafficstars

i've been tried to pip install but failed. then i clone it and python setup.py install there are still something wrong and after i have been set CUDA_HOME and update cmake version to 3.29 it stuck here _running bdist_egg running egg_info writing tinycudann.egg-info/PKG-INFO writing dependency_links to tinycudann.egg-info/dependency_links.txt writing top-level names to tinycudann.egg-info/top_level.txt reading manifest file 'tinycudann.egg-info/SOURCES.txt' writing manifest file 'tinycudann.egg-info/SOURCES.txt' installing library code to build/bdist.linux-x86_64/egg running install_lib running build_py running build_ext /mnt/mfs/liqinkai/miniconda/envs/sy311/lib/python3.11/site-packages/torch/utils/cpp_extension.py:424: UserWarning: There are no g++ version bounds defined for CUDA version 11.8 warnings.warn(f'There are no {compiler_name} version bounds defined for CUDA version {cuda_str_version}') building 'tinycudann_bindings._80_C' extension Emitting ninja build file /mnt/mfs/liqinkai/prog/SyncDreamer-main/tiny-cuda-nn/bindings/torch/build/temp.linux-x86_64-cpython-311/build.ninja... Compiling objects... Allowing ninja to set a default number of workers... (overridable by setting the environment variable MAX_JOBS=N) 1.8.2 g++ -pthread -B /mnt/mfs/liqinkai/miniconda/envs/sy311/compiler_compat -shared -Wl,-rpath,/mnt/mfs/liqinkai/miniconda/envs/sy311/lib -Wl,-rpath-link,/mnt/mfs/liqinkai/miniconda/envs/sy311/lib -L/mnt/mfs/liqinkai/miniconda/envs/sy311/lib -Wl,-rpath,/mnt/mfs/liqinkai/miniconda/envs/sy311/lib -Wl,-rpath-link,/mnt/mfs/liqinkai/miniconda/envs/sy311/lib -L/mnt/mfs/liqinkai/miniconda/envs/sy311/lib /mnt/mfs/liqinkai/prog/SyncDreamer-main/tiny-cuda-nn/bindings/torch/build/temp.linux-x86_64-cpython-311/../../dependencies/fmt/src/format.o /mnt/mfs/liqinkai/prog/SyncDreamer-main/tiny-cuda-nn/bindings/torch/build/temp.linux-x86_64-cpython-311/../../dependencies/fmt/src/os.o /mnt/mfs/liqinkai/prog/SyncDreamer-main/tiny-cuda-nn/bindings/torch/build/temp.linux-x86_64-cpython-311/../../src/common_host.o /mnt/mfs/liqinkai/prog/SyncDreamer-main/tiny-cuda-nn/bindings/torch/build/temp.linux-x86_64-cpython-311/../../src/cpp_api.o /mnt/mfs/liqinkai/prog/SyncDreamer-main/tiny-cuda-nn/bindings/torch/build/temp.linux-x86_64-cpython-311/../../src/cutlass_mlp.o /mnt/mfs/liqinkai/prog/SyncDreamer-main/tiny-cuda-nn/bindings/torch/build/temp.linux-x86_64-cpython-311/../../src/encoding.o /mnt/mfs/liqinkai/prog/SyncDreamer-main/tiny-cuda-nn/bindings/torch/build/temp.linux-x86_64-cpython-311/../../src/fully_fused_mlp.o /mnt/mfs/liqinkai/prog/SyncDreamer-main/tiny-cuda-nn/bindings/torch/build/temp.linux-x86_64-cpython-311/../../src/network.o /mnt/mfs/liqinkai/prog/SyncDreamer-main/tiny-cuda-nn/bindings/torch/build/temp.linux-x86_64-cpython-311/../../src/object.o /mnt/mfs/liqinkai/prog/SyncDreamer-main/tiny-cuda-nn/bindings/torch/build/temp.linux-x86_64-cpython-311/tinycudann/bindings.o -L/mnt/mfs/liqinkai/miniconda/envs/sy311/lib/python3.11/site-packages/torch/lib -L/cm/shared/apps/cuda11.8/toolkit/11.8.0/lib64 -lcuda -lc10 -ltorch -ltorch_cpu -ltorch_python -lcudart -lc10_cuda -ltorch_cuda -o build/lib.linux-x86_64-cpython-311/tinycudann_bindings/_80_C.cpython-311-x86_64-linux-gnu.so /mnt/mfs/liqinkai/miniconda/envs/sy311/compiler_compat/ld: cannot find /mnt/mfs/liqinkai/prog/SyncDreamer-main/tiny-cuda-nn/bindings/torch/build/temp.linux-x86_64-cpython-311/../../dependencies/fmt/src/format.o: No such file or directory /mnt/mfs/liqinkai/miniconda/envs/sy311/compiler_compat/ld: cannot find /mnt/mfs/liqinkai/prog/SyncDreamer-main/tiny-cuda-nn/bindings/torch/build/temp.linux-x86_64-cpython-311/../../dependencies/fmt/src/os.o: No such file or directory /mnt/mfs/liqinkai/miniconda/envs/sy311/compiler_compat/ld: cannot find /mnt/mfs/liqinkai/prog/SyncDreamer-main/tiny-cuda-nn/bindings/torch/build/temp.linux-x86_64-cpython-311/../../src/common_host.o: No such file or directory /mnt/mfs/liqinkai/miniconda/envs/sy311/compiler_compat/ld: cannot find /mnt/mfs/liqinkai/prog/SyncDreamer-main/tiny-cuda-nn/bindings/torch/build/temp.linux-x86_64-cpython-311/../../src/cpp_api.o: No such file or directory /mnt/mfs/liqinkai/miniconda/envs/sy311/compiler_compat/ld: cannot find /mnt/mfs/liqinkai/prog/SyncDreamer-main/tiny-cuda-nn/bindings/torch/build/temp.linux-x86_64-cpython-311/../../src/cutlass_mlp.o: No such file or directory /mnt/mfs/liqinkai/miniconda/envs/sy311/compiler_compat/ld: cannot find /mnt/mfs/liqinkai/prog/SyncDreamer-main/tiny-cuda-nn/bindings/torch/build/temp.linux-x86_64-cpython-311/../../src/encoding.o: No such file or directory /mnt/mfs/liqinkai/miniconda/envs/sy311/compiler_compat/ld: cannot find /mnt/mfs/liqinkai/prog/SyncDreamer-main/tiny-cuda-nn/bindings/torch/build/temp.linux-x86_64-cpython-311/../../src/fully_fused_mlp.o: No such file or directory /mnt/mfs/liqinkai/miniconda/envs/sy311/compiler_compat/ld: cannot find /mnt/mfs/liqinkai/prog/SyncDreamer-main/tiny-cuda-nn/bindings/torch/build/temp.linux-x86_64-cpython-311/../../src/network.o: No such file or directory /mnt/mfs/liqinkai/miniconda/envs/sy311/compiler_compat/ld: cannot find /mnt/mfs/liqinkai/prog/SyncDreamer-main/tiny-cuda-nn/bindings/torch/build/temp.linux-x86_64-cpython-311/../../src/object.o: No such file or directory /mnt/mfs/liqinkai/miniconda/envs/sy311/compiler_compat/ld: cannot find /mnt/mfs/liqinkai/prog/SyncDreamer-main/tiny-cuda-nn/bindings/torch/build/temp.linux-x86_64-cpython-311/tinycudann/bindings.o: No such file or directory collect2: error: ld returned 1 exit status error: command '/cm/local/apps/gcc/11.2.0/bin/g++' failed with exit code 1

here is some info of my device: torch 2.1.2+CU118 gcc 11.2.0 cmake 3.29.0-rc1 python 3.9/3.11( for both version, they will get same result)

Could you plz tell me how to solve it?

clear-train avatar Feb 21 '24 09:02 clear-train

same problem

xiaofulenlong avatar Apr 05 '24 08:04 xiaofulenlong

Same problem, if you solved it, can you go back to how?

chais-xp avatar Apr 16 '24 03:04 chais-xp

Same problem, if you solved it, can you go back to how please?

Gaoyuan2 avatar Apr 20 '24 12:04 Gaoyuan2

same problem

Same problem, if you solved it, can you go back to how?

Gaoyuan2 avatar Apr 20 '24 12:04 Gaoyuan2

My environment is Ubuntu 20.04.4 LTS cuda 11.7 pytorch 2.0.0 gcc9.4.0 g++9.4.0 on WSL,you can try it.best wishes.

---Original--- From: @.> Date: Sat, Apr 20, 2024 20:14 PM To: @.>; Cc: @.@.>; Subject: Re: [NVlabs/tiny-cuda-nn] install issue (Issue #414)

Same problem, if you solved it, can you go back to how please?

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>

chais-xp avatar Apr 20 '24 12:04 chais-xp

Same problem, if you solved it, can you go back to how please? I solve it just now ! It is gcc version is too high and incompatible with cuda. Check the gcc version of the local device. gcc -v Install gcc and g++ for version 10: sudo apt-get install gcc-10 sudo apt-get install g++-10 To specify a specific version of gcc for the nvcc compiler: sudo ln -s /usr/bin/gcc-10 /usr/local/cuda/bin/gcc I hope it can help you!

Gaoyuan2 avatar Apr 20 '24 12:04 Gaoyuan2

not solved any way.

kotran88 avatar Jun 03 '24 07:06 kotran88

the same problem

HowcanoeWang avatar Jul 12 '24 06:07 HowcanoeWang