xxlong0 / Wonder3D

Single Image to 3D using Cross-Domain Diffusion for 3D Generation
https://www.xxlong.site/Wonder3D/
GNU Affero General Public License v3.0
4.68k stars 371 forks source link

Windows support ! #12

Closed kotaxyz closed 10 months ago

kotaxyz commented 10 months ago

Hello there thanks alot for this amazing work , i have been trying to use it on windows system but it seems not working it only works on linux ! , also it would be nice if it gets a gradio interface combining the image to views and extract the mesh all in one gradio interface

fefespn commented 10 months ago

on windows the following worked: conda create --name venv_wonder3d -y python=3.8 pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu118 conda install -c "nvidia/label/cuda-11.8.0" cuda-toolkit pip install fire diffusers==0.19.3 transformers bitsandbytes accelerate gradio rembg segment_anything pip install einops omegaconf pytorch-lightning==1.9.5 torch_efficient_distloss nerfacc==0.3.3 PyMCubes trimesh pip install https://download.pytorch.org/whl/cu118/xformers-0.0.22.post4%2Bcu118-cp38-cp38-manylinux2014_x86_64.whl pip install ninja git+https://github.com/NVlabs/tiny-cuda-nn/#subdirectory=bindings/torch

xxlong0 commented 10 months ago

on windows the following worked: conda create --name venv_wonder3d -y python=3.8 pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu118 conda install -c "nvidia/label/cuda-11.8.0" cuda-toolkit pip install fire diffusers==0.19.3 transformers bitsandbytes accelerate gradio rembg segment_anything pip install einops omegaconf pytorch-lightning==1.9.5 torch_efficient_distloss nerfacc==0.3.3 PyMCubes trimesh pip install https://download.pytorch.org/whl/cu118/xformers-0.0.22.post4%2Bcu118-cp38-cp38-manylinux2014_x86_64.whl pip install ninja git+https://github.com/NVlabs/tiny-cuda-nn/#subdirectory=bindings/torch

Thanks very much! @fefespn

fefespn commented 10 months ago

but the issue is I have low power GPU, so the mesh extraction (tinycuda / pytorch-lightining) is not working in my machine, so I am not sure if this is sufficient for you.

kotaxyz commented 10 months ago

pip install https://download.pytorch.org/whl/cu118/xformers-0.0.22.post4%2Bcu118-cp38-cp38-manylinux2014_x86_64.whl ERROR: xformers-0.0.22.post4+cu118-cp38-cp38-manylinux2014_x86_64.whl is not a supported wheel on this platform.

pip install ninja git+https://github.com/NVlabs/tiny-cuda-nn/#subdirectory=bindings/torch (wonder3d) C:\Users\Genesis>pip install ninja git+https://github.com/NVlabs/tiny-cuda-nn/#subdirectory=bindings/torch Collecting git+https://github.com/NVlabs/tiny-cuda-nn/#subdirectory=bindings/torch Cloning https://github.com/NVlabs/tiny-cuda-nn/ to c:\users\genesis\appdata\local\temp\pip-req-build-qlwkxj2j Running command git clone --filter=blob:none --quiet https://github.com/NVlabs/tiny-cuda-nn/ 'C:\Users\Genesis\AppData\Local\Temp\pip-req-build-qlwkxj2j' Resolved https://github.com/NVlabs/tiny-cuda-nn/ to commit 212104156403bd87616c1a4f73a1c5f2c2e172a9 Running command git submodule update --init --recursive -q Preparing metadata (setup.py) ... done Requirement already satisfied: ninja in c:\users\genesis\anaconda3\envs\wonder3d\lib\site-packages (1.11.1.1) Building wheels for collected packages: tinycudann Building wheel for tinycudann (setup.py) ... error error: subprocess-exited-with-error

× python setup.py bdist_wheel did not run successfully. │ exit code: 1 ╰─> [207 lines of output] C:\Users\Genesis\AppData\Local\Temp\pip-req-build-qlwkxj2j\bindings/torch\setup.py:5: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html from pkg_resources import parse_version Building PyTorch extension for tiny-cuda-nn version 1.7 Obtained compute capability 86 from PyTorch nvcc: NVIDIA (R) Cuda compiler driver Copyright (c) 2005-2022 NVIDIA Corporation Built on Wed_Sep_21_10:41:10_Pacific_Daylight_Time_2022 Cuda compilation tools, release 11.8, V11.8.89 Build cuda_11.8.r11.8/compiler.31833905_0 Detected CUDA version 11.8 Targeting C++ standard 17 running bdist_wheel running build running build_py creating build creating build\lib.win-amd64-cpython-38 creating build\lib.win-amd64-cpython-38\tinycudann copying tinycudann\modules.py -> build\lib.win-amd64-cpython-38\tinycudann copying tinycudann__init.py -> build\lib.win-amd64-cpython-38\tinycudann running egg_info creating tinycudann.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 writing manifest file 'tinycudann.egg-info\SOURCES.txt' reading manifest file 'tinycudann.egg-info\SOURCES.txt' writing manifest file 'tinycudann.egg-info\SOURCES.txt' copying tinycudann\bindings.cpp -> build\lib.win-amd64-cpython-38\tinycudann running build_ext building 'tinycudann_bindings._86_C' extension creating C:\Users\Genesis\AppData\Local\Temp\pip-req-build-qlwkxj2j\bindings\torch\build\dependencies creating C:\Users\Genesis\AppData\Local\Temp\pip-req-build-qlwkxj2j\bindings\torch\build\dependencies\fmt creating C:\Users\Genesis\AppData\Local\Temp\pip-req-build-qlwkxj2j\bindings\torch\build\dependencies\fmt\src creating C:\Users\Genesis\AppData\Local\Temp\pip-req-build-qlwkxj2j\bindings\torch\build\src creating C:\Users\Genesis\AppData\Local\Temp\pip-req-build-qlwkxj2j\bindings\torch\build\temp.win-amd64-cpython-38 creating C:\Users\Genesis\AppData\Local\Temp\pip-req-build-qlwkxj2j\bindings\torch\build\temp.win-amd64-cpython-38\Release creating C:\Users\Genesis\AppData\Local\Temp\pip-req-build-qlwkxj2j\bindings\torch\build\temp.win-amd64-cpython-38\Release\tinycudann Emitting ninja build file C:\Users\Genesis\AppData\Local\Temp\pip-req-build-qlwkxj2j\bindings\torch\build\temp.win-amd64-cpython-38\Release\build.ninja... Compiling objects... Allowing ninja to set a default number of workers... (overridable by setting the environment variable MAX_JOBS=N) [1/10] cl /showIncludes /nologo /O2 /W3 /GL /DNDEBUG /MD /MD /wd4819 /wd4251 /wd4244 /wd4267 /wd4275 /wd4018 /wd4190 /wd4624 /wd4067 /wd4068 /EHsc -IC:\Users\Genesis\AppData\Local\Temp\pip-req-build-qlwkxj2j/include -IC:\Users\Genesis\AppData\Local\Temp\pip-req-build-qlwkxj2j/dependencies -IC:\Users\Genesis\AppData\Local\Temp\pip-req-build-qlwkxj2j/dependencies/cutlass/include -IC:\Users\Genesis\AppData\Local\Temp\pip-req-build-qlwkxj2j/dependencies/cutlass/tools/util/include -IC:\Users\Genesis\AppData\Local\Temp\pip-req-build-qlwkxj2j/dependencies/fmt/include -IC:\Users\Genesis\anaconda3\envs\wonder3d\lib\site-packages\torch\include -IC:\Users\Genesis\anaconda3\envs\wonder3d\lib\site-packages\torch\include\torch\csrc\api\include -IC:\Users\Genesis\anaconda3\envs\wonder3d\lib\site-packages\torch\include\TH -IC:\Users\Genesis\anaconda3\envs\wonder3d\lib\site-packages\torch\include\THC "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.8\include" -IC:\Users\Genesis\anaconda3\envs\wonder3d\include -IC:\Users\Genesis\anaconda3\envs\wonder3d\Include -c C:\Users\Genesis\AppData\Local\Temp\pip-req-build-qlwkxj2j\dependencies\fmt\src\os.cc /FoC:\Users\Genesis\AppData\Local\Temp\pip-req-build-qlwkxj2j\bindings\torch\build\dependencies/fmt/src/os.obj /std:c++17 -DTCNN_PARAMS_UNALIGNED -DTCNN_MIN_GPU_ARCH=86 -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_86_C -D_GLIBCXX_USE_CXX11_ABI=0 FAILED: C:/Users/Genesis/AppData/Local/Temp/pip-req-build-qlwkxj2j/bindings/torch/build/dependencies/fmt/src/os.obj cl /showIncludes /nologo /O2 /W3 /GL /DNDEBUG /MD /MD /wd4819 /wd4251 /wd4244 /wd4267 /wd4275 /wd4018 /wd4190 /wd4624 /wd4067 /wd4068 /EHsc -IC:\Users\Genesis\AppData\Local\Temp\pip-req-build-qlwkxj2j/include -IC:\Users\Genesis\AppData\Local\Temp\pip-req-build-qlwkxj2j/dependencies -IC:\Users\Genesis\AppData\Local\Temp\pip-req-build-qlwkxj2j/dependencies/cutlass/include -IC:\Users\Genesis\AppData\Local\Temp\pip-req-build-qlwkxj2j/dependencies/cutlass/tools/util/include -IC:\Users\Genesis\AppData\Local\Temp\pip-req-build-qlwkxj2j/dependencies/fmt/include -IC:\Users\Genesis\anaconda3\envs\wonder3d\lib\site-packages\torch\include -IC:\Users\Genesis\anaconda3\envs\wonder3d\lib\site-packages\torch\include\torch\csrc\api\include -IC:\Users\Genesis\anaconda3\envs\wonder3d\lib\site-packages\torch\include\TH -IC:\Users\Genesis\anaconda3\envs\wonder3d\lib\site-packages\torch\include\THC "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.8\include" -IC:\Users\Genesis\anaconda3\envs\wonder3d\include -IC:\Users\Genesis\anaconda3\envs\wonder3d\Include -c C:\Users\Genesis\AppData\Local\Temp\pip-req-build-qlwkxj2j\dependencies\fmt\src\os.cc /FoC:\Users\Genesis\AppData\Local\Temp\pip-req-build-qlwkxj2j\bindings\torch\build\dependencies/fmt/src/os.obj /std:c++17 -DTCNN_PARAMS_UNALIGNED -DTCNN_MIN_GPU_ARCH=86 -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_86_C -D_GLIBCXX_USE_CXX11_ABI=0 C:\Users\Genesis\AppData\Local\Temp\pip-req-build-qlwkxj2j/dependencies/fmt/include\fmt/os.h(11): fatal error C1083: Cannot open include file: 'cerrno': No such file or directory [2/10] cl /showIncludes /nologo /O2 /W3 /GL /DNDEBUG /MD /MD /wd4819 /wd4251 /wd4244 /wd4267 /wd4275 /wd4018 /wd4190 /wd4624 /wd4067 /wd4068 /EHsc -IC:\Users\Genesis\AppData\Local\Temp\pip-req-build-qlwkxj2j/include -IC:\Users\Genesis\AppData\Local\Temp\pip-req-build-qlwkxj2j/dependencies -IC:\Users\Genesis\AppData\Local\Temp\pip-req-build-qlwkxj2j/dependencies/cutlass/include -IC:\Users\Genesis\AppData\Local\Temp\pip-req-build-qlwkxj2j/dependencies/cutlass/tools/util/include -IC:\Users\Genesis\AppData\Local\Temp\pip-req-build-qlwkxj2j/dependencies/fmt/include -IC:\Users\Genesis\anaconda3\envs\wonder3d\lib\site-packages\torch\include -IC:\Users\Genesis\anaconda3\envs\wonder3d\lib\site-packages\torch\include\torch\csrc\api\include -IC:\Users\Genesis\anaconda3\envs\wonder3d\lib\site-packages\torch\include\TH -IC:\Users\Genesis\anaconda3\envs\wonder3d\lib\site-packages\torch\include\THC "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.8\include" -IC:\Users\Genesis\anaconda3\envs\wonder3d\include -IC:\Users\Genesis\anaconda3\envs\wonder3d\Include -c C:\Users\Genesis\AppData\Local\Temp\pip-req-build-qlwkxj2j\dependencies\fmt\src\format.cc /FoC:\Users\Genesis\AppData\Local\Temp\pip-req-build-qlwkxj2j\bindings\torch\build\dependencies/fmt/src/format.obj /std:c++17 -DTCNN_PARAMS_UNALIGNED -DTCNN_MIN_GPU_ARCH=86 -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_86_C -D_GLIBCXX_USE_CXX11_ABI=0 FAILED: C:/Users/Genesis/AppData/Local/Temp/pip-req-build-qlwkxj2j/bindings/torch/build/dependencies/fmt/src/format.obj cl /showIncludes /nologo /O2 /W3 /GL /DNDEBUG /MD /MD /wd4819 /wd4251 /wd4244 /wd4267 /wd4275 /wd4018 /wd4190 /wd4624 /wd4067 /wd4068 /EHsc -IC:\Users\Genesis\AppData\Local\Temp\pip-req-build-qlwkxj2j/include -IC:\Users\Genesis\AppData\Local\Temp\pip-req-build-qlwkxj2j/dependencies -IC:\Users\Genesis\AppData\Local\Temp\pip-req-build-qlwkxj2j/dependencies/cutlass/include -IC:\Users\Genesis\AppData\Local\Temp\pip-req-build-qlwkxj2j/dependencies/cutlass/tools/util/include -IC:\Users\Genesis\AppData\Local\Temp\pip-req-build-qlwkxj2j/dependencies/fmt/include -IC:\Users\Genesis\anaconda3\envs\wonder3d\lib\site-packages\torch\include -IC:\Users\Genesis\anaconda3\envs\wonder3d\lib\site-packages\torch\include\torch\csrc\api\include -IC:\Users\Genesis\anaconda3\envs\wonder3d\lib\site-packages\torch\include\TH -IC:\Users\Genesis\anaconda3\envs\wonder3d\lib\site-packages\torch\include\THC "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.8\include" -IC:\Users\Genesis\anaconda3\envs\wonder3d\include -IC:\Users\Genesis\anaconda3\envs\wonder3d\Include -c C:\Users\Genesis\AppData\Local\Temp\pip-req-build-qlwkxj2j\dependencies\fmt\src\format.cc /FoC:\Users\Genesis\AppData\Local\Temp\pip-req-build-qlwkxj2j\bindings\torch\build\dependencies/fmt/src/format.obj /std:c++17 -DTCNN_PARAMS_UNALIGNED -DTCNN_MIN_GPU_ARCH=86 -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_86_C -D_GLIBCXX_USE_CXX11_ABI=0 C:\Users\Genesis\AppData\Local\Temp\pip-req-build-qlwkxj2j/dependencies/fmt/include\fmt/format-inl.h(11): fatal error C1083: Cannot open include file: 'algorithm': No such file or directory [3/10] cl /showIncludes /nologo /O2 /W3 /GL /DNDEBUG /MD /MD /wd4819 /wd4251 /wd4244 /wd4267 /wd4275 /wd4018 /wd4190 /wd4624 /wd4067 /wd4068 /EHsc -IC:\Users\Genesis\AppData\Local\Temp\pip-req-build-qlwkxj2j/include -IC:\Users\Genesis\AppData\Local\Temp\pip-req-build-qlwkxj2j/dependencies -IC:\Users\Genesis\AppData\Local\Temp\pip-req-build-qlwkxj2j/dependencies/cutlass/include -IC:\Users\Genesis\AppData\Local\Temp\pip-req-build-qlwkxj2j/dependencies/cutlass/tools/util/include -IC:\Users\Genesis\AppData\Local\Temp\pip-req-build-qlwkxj2j/dependencies/fmt/include -IC:\Users\Genesis\anaconda3\envs\wonder3d\lib\site-packages\torch\include -IC:\Users\Genesis\anaconda3\envs\wonder3d\lib\site-packages\torch\include\torch\csrc\api\include -IC:\Users\Genesis\anaconda3\envs\wonder3d\lib\site-packages\torch\include\TH -IC:\Users\Genesis\anaconda3\envs\wonder3d\lib\site-packages\torch\include\THC "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.8\include" -IC:\Users\Genesis\anaconda3\envs\wonder3d\include -IC:\Users\Genesis\anaconda3\envs\wonder3d\Include -c C:\Users\Genesis\AppData\Local\Temp\pip-req-build-qlwkxj2j\bindings\torch\tinycudann\bindings.cpp /FoC:\Users\Genesis\AppData\Local\Temp\pip-req-build-qlwkxj2j\bindings\torch\build\temp.win-amd64-cpython-38\Release\tinycudann/bindings.obj /std:c++17 -DTCNN_PARAMS_UNALIGNED -DTCNN_MIN_GPU_ARCH=86 -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_86_C -D_GLIBCXX_USE_CXX11_ABI=0 FAILED: C:/Users/Genesis/AppData/Local/Temp/pip-req-build-qlwkxj2j/bindings/torch/build/temp.win-amd64-cpython-38/Release/tinycudann/bindings.obj cl /showIncludes /nologo /O2 /W3 /GL /DNDEBUG /MD /MD /wd4819 /wd4251 /wd4244 /wd4267 /wd4275 /wd4018 /wd4190 /wd4624 /wd4067 /wd4068 /EHsc -IC:\Users\Genesis\AppData\Local\Temp\pip-req-build-qlwkxj2j/include -IC:\Users\Genesis\AppData\Local\Temp\pip-req-build-qlwkxj2j/dependencies -IC:\Users\Genesis\AppData\Local\Temp\pip-req-build-qlwkxj2j/dependencies/cutlass/include -IC:\Users\Genesis\AppData\Local\Temp\pip-req-build-qlwkxj2j/dependencies/cutlass/tools/util/include -IC:\Users\Genesis\AppData\Local\Temp\pip-req-build-qlwkxj2j/dependencies/fmt/include -IC:\Users\Genesis\anaconda3\envs\wonder3d\lib\site-packages\torch\include -IC:\Users\Genesis\anaconda3\envs\wonder3d\lib\site-packages\torch\include\torch\csrc\api\include -IC:\Users\Genesis\anaconda3\envs\wonder3d\lib\site-packages\torch\include\TH -IC:\Users\Genesis\anaconda3\envs\wonder3d\lib\site-packages\torch\include\THC "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.8\include" -IC:\Users\Genesis\anaconda3\envs\wonder3d\include -IC:\Users\Genesis\anaconda3\envs\wonder3d\Include -c C:\Users\Genesis\AppData\Local\Temp\pip-req-build-qlwkxj2j\bindings\torch\tinycudann\bindings.cpp /FoC:\Users\Genesis\AppData\Local\Temp\pip-req-build-qlwkxj2j\bindings\torch\build\temp.win-amd64-cpython-38\Release\tinycudann/bindings.obj /std:c++17 -DTCNN_PARAMS_UNALIGNED -DTCNN_MIN_GPU_ARCH=86 -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_86_C -D_GLIBCXX_USE_CXX11_ABI=0 C:\Users\Genesis\anaconda3\envs\wonder3d\lib\site-packages\torch\include\c10/core/DeviceType.h(10): fatal error C1083: Cannot open include file: 'functional': No such file or directory [4/10] C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.8\bin\nvcc --generate-dependencies-with-compile --dependency-output C:\Users\Genesis\AppData\Local\Temp\pip-req-build-qlwkxj2j\bindings\torch\build\src/cutlass_mlp.obj.d -std=c++17 --use-local-env -Xcompiler /MD -Xcompiler /wd4819 -Xcompiler /wd4251 -Xcompiler /wd4244 -Xcompiler /wd4267 -Xcompiler /wd4275 -Xcompiler /wd4018 -Xcompiler /wd4190 -Xcompiler /wd4624 -Xcompiler /wd4067 -Xcompiler /wd4068 -Xcompiler /EHsc -Xcudafe --diag_suppress=base_class_has_different_dll_interface -Xcudafe --diag_suppress=field_without_dll_interface -Xcudafe --diag_suppress=dll_interface_conflict_none_assumed -Xcudafe --diag_suppress=dll_interface_conflict_dllexport_assumed -IC:\Users\Genesis\AppData\Local\Temp\pip-req-build-qlwkxj2j/include -IC:\Users\Genesis\AppData\Local\Temp\pip-req-build-qlwkxj2j/dependencies -IC:\Users\Genesis\AppData\Local\Temp\pip-req-build-qlwkxj2j/dependencies/cutlass/include -IC:\Users\Genesis\AppData\Local\Temp\pip-req-build-qlwkxj2j/dependencies/cutlass/tools/util/include -IC:\Users\Genesis\AppData\Local\Temp\pip-req-build-qlwkxj2j/dependencies/fmt/include -IC:\Users\Genesis\anaconda3\envs\wonder3d\lib\site-packages\torch\include -IC:\Users\Genesis\anaconda3\envs\wonder3d\lib\site-packages\torch\include\torch\csrc\api\include -IC:\Users\Genesis\anaconda3\envs\wonder3d\lib\site-packages\torch\include\TH -IC:\Users\Genesis\anaconda3\envs\wonder3d\lib\site-packages\torch\include\THC "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.8\include" -IC:\Users\Genesis\anaconda3\envs\wonder3d\include -IC:\Users\Genesis\anaconda3\envs\wonder3d\Include -c C:\Users\Genesis\AppData\Local\Temp\pip-req-build-qlwkxj2j\src\cutlass_mlp.cu -o C:\Users\Genesis\AppData\Local\Temp\pip-req-build-qlwkxj2j\bindings\torch\build\src/cutlass_mlp.obj -DCUDA_NO_HALF_OPERATORS -DCUDA_NO_HALF_CONVERSIONS -DCUDA_NO_BFLOAT16_CONVERSIONS -DCUDA_NO_HALF2_OPERATORS --expt-relaxed-constexpr -std=c++17 --extended-lambda --expt-relaxed-constexpr -UCUDA_NO_HALF_OPERATORS -UCUDA_NO_HALF_CONVERSIONS -UCUDA_NO_HALF2_OPERATORS -gencode=arch=compute_86,code=compute_86 -gencode=arch=compute_86,code=sm_86 -DTCNN_PARAMS_UNALIGNED -DTCNN_MIN_GPU_ARCH=86 -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_86_C -D_GLIBCXX_USE_CXX11_ABI=0 FAILED: C:/Users/Genesis/AppData/Local/Temp/pip-req-build-qlwkxj2j/bindings/torch/build/src/cutlass_mlp.obj C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.8\bin\nvcc --generate-dependencies-with-compile --dependency-output C:\Users\Genesis\AppData\Local\Temp\pip-req-build-qlwkxj2j\bindings\torch\build\src/cutlass_mlp.obj.d -std=c++17 --use-local-env -Xcompiler /MD -Xcompiler /wd4819 -Xcompiler /wd4251 -Xcompiler /wd4244 -Xcompiler /wd4267 -Xcompiler /wd4275 -Xcompiler /wd4018 -Xcompiler /wd4190 -Xcompiler /wd4624 -Xcompiler /wd4067 -Xcompiler /wd4068 -Xcompiler /EHsc -Xcudafe --diag_suppress=base_class_has_different_dll_interface -Xcudafe --diag_suppress=field_without_dll_interface -Xcudafe --diag_suppress=dll_interface_conflict_none_assumed -Xcudafe --diag_suppress=dll_interface_conflict_dllexport_assumed -IC:\Users\Genesis\AppData\Local\Temp\pip-req-build-qlwkxj2j/include -IC:\Users\Genesis\AppData\Local\Temp\pip-req-build-qlwkxj2j/dependencies -IC:\Users\Genesis\AppData\Local\Temp\pip-req-build-qlwkxj2j/dependencies/cutlass/include -IC:\Users\Genesis\AppData\Local\Temp\pip-req-build-qlwkxj2j/dependencies/cutlass/tools/util/include -IC:\Users\Genesis\AppData\Local\Temp\pip-req-build-qlwkxj2j/dependencies/fmt/include -IC:\Users\Genesis\anaconda3\envs\wonder3d\lib\site-packages\torch\include -IC:\Users\Genesis\anaconda3\envs\wonder3d\lib\site-packages\torch\include\torch\csrc\api\include -IC:\Users\Genesis\anaconda3\envs\wonder3d\lib\site-packages\torch\include\TH -IC:\Users\Genesis\anaconda3\envs\wonder3d\lib\site-packages\torch\include\THC "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.8\include" -IC:\Users\Genesis\anaconda3\envs\wonder3d\include -IC:\Users\Genesis\anaconda3\envs\wonder3d\Include -c C:\Users\Genesis\AppData\Local\Temp\pip-req-build-qlwkxj2j\src\cutlass_mlp.cu -o C:\Users\Genesis\AppData\Local\Temp\pip-req-build-qlwkxj2j\bindings\torch\build\src/cutlass_mlp.obj -D__CUDA_NO_HALF_OPERATORS -DCUDA_NO_HALF_CONVERSIONS -DCUDA_NO_BFLOAT16_CONVERSIONS -DCUDA_NO_HALF2_OPERATORS --expt-relaxed-constexpr -std=c++17 --extended-lambda --expt-relaxed-constexpr -UCUDA_NO_HALF_OPERATORS -UCUDA_NO_HALF_CONVERSIONS -UCUDA_NO_HALF2_OPERATORS -gencode=arch=compute_86,code=compute_86 -gencode=arch=compute_86,code=sm_86 -DTCNN_PARAMS_UNALIGNED -DTCNN_MIN_GPU_ARCH=86 -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_86_C -D_GLIBCXX_USE_CXX11_ABI=0 cl : Command line warning D9025 : overriding '/DCUDA_NO_HALF_OPERATORS' with '/UCUDA_NO_HALF_OPERATORS'

  cl : Command line warning D9025 : overriding '/D__CUDA_NO_HALF_CONVERSIONS__' with '/U__CUDA_NO_HALF_CONVERSIONS__'

  cl : Command line warning D9025 : overriding '/D__CUDA_NO_HALF2_OPERATORS__' with '/U__CUDA_NO_HALF2_OPERATORS__'

  cutlass_mlp.cu

  C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.8\include\crt/host_config.h(231): fatal error C1083: Cannot open include file: 'crtdefs.h': No such file or directory

  cutlass_mlp.cu

  [5/10] C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.8\bin\nvcc --generate-dependencies-with-compile --dependency-output C:\Users\Genesis\AppData\Local\Temp\pip-req-build-qlwkxj2j\bindings\torch\build\src/fully_fused_mlp.obj.d -std=c++17 --use-local-env -Xcompiler /MD -Xcompiler /wd4819 -Xcompiler /wd4251 -Xcompiler /wd4244 -Xcompiler /wd4267 -Xcompiler /wd4275 -Xcompiler /wd4018 -Xcompiler /wd4190 -Xcompiler /wd4624 -Xcompiler /wd4067 -Xcompiler /wd4068 -Xcompiler /EHsc -Xcudafe --diag_suppress=base_class_has_different_dll_interface -Xcudafe --diag_suppress=field_without_dll_interface -Xcudafe --diag_suppress=dll_interface_conflict_none_assumed -Xcudafe --diag_suppress=dll_interface_conflict_dllexport_assumed -IC:\Users\Genesis\AppData\Local\Temp\pip-req-build-qlwkxj2j/include -IC:\Users\Genesis\AppData\Local\Temp\pip-req-build-qlwkxj2j/dependencies -IC:\Users\Genesis\AppData\Local\Temp\pip-req-build-qlwkxj2j/dependencies/cutlass/include -IC:\Users\Genesis\AppData\Local\Temp\pip-req-build-qlwkxj2j/dependencies/cutlass/tools/util/include -IC:\Users\Genesis\AppData\Local\Temp\pip-req-build-qlwkxj2j/dependencies/fmt/include -IC:\Users\Genesis\anaconda3\envs\wonder3d\lib\site-packages\torch\include -IC:\Users\Genesis\anaconda3\envs\wonder3d\lib\site-packages\torch\include\torch\csrc\api\include -IC:\Users\Genesis\anaconda3\envs\wonder3d\lib\site-packages\torch\include\TH -IC:\Users\Genesis\anaconda3\envs\wonder3d\lib\site-packages\torch\include\THC "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.8\include" -IC:\Users\Genesis\anaconda3\envs\wonder3d\include -IC:\Users\Genesis\anaconda3\envs\wonder3d\Include -c C:\Users\Genesis\AppData\Local\Temp\pip-req-build-qlwkxj2j\src\fully_fused_mlp.cu -o C:\Users\Genesis\AppData\Local\Temp\pip-req-build-qlwkxj2j\bindings\torch\build\src/fully_fused_mlp.obj -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_BFLOAT16_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr -std=c++17 --extended-lambda --expt-relaxed-constexpr -U__CUDA_NO_HALF_OPERATORS__ -U__CUDA_NO_HALF_CONVERSIONS__ -U__CUDA_NO_HALF2_OPERATORS__ -gencode=arch=compute_86,code=compute_86 -gencode=arch=compute_86,code=sm_86 -DTCNN_PARAMS_UNALIGNED -DTCNN_MIN_GPU_ARCH=86 -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_86_C -D_GLIBCXX_USE_CXX11_ABI=0
  FAILED: C:/Users/Genesis/AppData/Local/Temp/pip-req-build-qlwkxj2j/bindings/torch/build/src/fully_fused_mlp.obj
  C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.8\bin\nvcc --generate-dependencies-with-compile --dependency-output C:\Users\Genesis\AppData\Local\Temp\pip-req-build-qlwkxj2j\bindings\torch\build\src/fully_fused_mlp.obj.d -std=c++17 --use-local-env -Xcompiler /MD -Xcompiler /wd4819 -Xcompiler /wd4251 -Xcompiler /wd4244 -Xcompiler /wd4267 -Xcompiler /wd4275 -Xcompiler /wd4018 -Xcompiler /wd4190 -Xcompiler /wd4624 -Xcompiler /wd4067 -Xcompiler /wd4068 -Xcompiler /EHsc -Xcudafe --diag_suppress=base_class_has_different_dll_interface -Xcudafe --diag_suppress=field_without_dll_interface -Xcudafe --diag_suppress=dll_interface_conflict_none_assumed -Xcudafe --diag_suppress=dll_interface_conflict_dllexport_assumed -IC:\Users\Genesis\AppData\Local\Temp\pip-req-build-qlwkxj2j/include -IC:\Users\Genesis\AppData\Local\Temp\pip-req-build-qlwkxj2j/dependencies -IC:\Users\Genesis\AppData\Local\Temp\pip-req-build-qlwkxj2j/dependencies/cutlass/include -IC:\Users\Genesis\AppData\Local\Temp\pip-req-build-qlwkxj2j/dependencies/cutlass/tools/util/include -IC:\Users\Genesis\AppData\Local\Temp\pip-req-build-qlwkxj2j/dependencies/fmt/include -IC:\Users\Genesis\anaconda3\envs\wonder3d\lib\site-packages\torch\include -IC:\Users\Genesis\anaconda3\envs\wonder3d\lib\site-packages\torch\include\torch\csrc\api\include -IC:\Users\Genesis\anaconda3\envs\wonder3d\lib\site-packages\torch\include\TH -IC:\Users\Genesis\anaconda3\envs\wonder3d\lib\site-packages\torch\include\THC "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.8\include" -IC:\Users\Genesis\anaconda3\envs\wonder3d\include -IC:\Users\Genesis\anaconda3\envs\wonder3d\Include -c C:\Users\Genesis\AppData\Local\Temp\pip-req-build-qlwkxj2j\src\fully_fused_mlp.cu -o C:\Users\Genesis\AppData\Local\Temp\pip-req-build-qlwkxj2j\bindings\torch\build\src/fully_fused_mlp.obj -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_BFLOAT16_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr -std=c++17 --extended-lambda --expt-relaxed-constexpr -U__CUDA_NO_HALF_OPERATORS__ -U__CUDA_NO_HALF_CONVERSIONS__ -U__CUDA_NO_HALF2_OPERATORS__ -gencode=arch=compute_86,code=compute_86 -gencode=arch=compute_86,code=sm_86 -DTCNN_PARAMS_UNALIGNED -DTCNN_MIN_GPU_ARCH=86 -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_86_C -D_GLIBCXX_USE_CXX11_ABI=0
  cl : Command line warning D9025 : overriding '/D__CUDA_NO_HALF_OPERATORS__' with '/U__CUDA_NO_HALF_OPERATORS__'
  cl : Command line warning D9025 : overriding '/D__CUDA_NO_HALF_CONVERSIONS__' with '/U__CUDA_NO_HALF_CONVERSIONS__'
  cl : Command line warning D9025 : overriding '/D__CUDA_NO_HALF2_OPERATORS__' with '/U__CUDA_NO_HALF2_OPERATORS__'

  fully_fused_mlp.cu

  C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.8\include\crt/host_config.h(231): fatal error C1083: Cannot open include file: 'crtdefs.h': No such file or directory

  fully_fused_mlp.cu

  [6/10] C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.8\bin\nvcc --generate-dependencies-with-compile --dependency-output C:\Users\Genesis\AppData\Local\Temp\pip-req-build-qlwkxj2j\bindings\torch\build\src/common_host.obj.d -std=c++17 --use-local-env -Xcompiler /MD -Xcompiler /wd4819 -Xcompiler /wd4251 -Xcompiler /wd4244 -Xcompiler /wd4267 -Xcompiler /wd4275 -Xcompiler /wd4018 -Xcompiler /wd4190 -Xcompiler /wd4624 -Xcompiler /wd4067 -Xcompiler /wd4068 -Xcompiler /EHsc -Xcudafe --diag_suppress=base_class_has_different_dll_interface -Xcudafe --diag_suppress=field_without_dll_interface -Xcudafe --diag_suppress=dll_interface_conflict_none_assumed -Xcudafe --diag_suppress=dll_interface_conflict_dllexport_assumed -IC:\Users\Genesis\AppData\Local\Temp\pip-req-build-qlwkxj2j/include -IC:\Users\Genesis\AppData\Local\Temp\pip-req-build-qlwkxj2j/dependencies -IC:\Users\Genesis\AppData\Local\Temp\pip-req-build-qlwkxj2j/dependencies/cutlass/include -IC:\Users\Genesis\AppData\Local\Temp\pip-req-build-qlwkxj2j/dependencies/cutlass/tools/util/include -IC:\Users\Genesis\AppData\Local\Temp\pip-req-build-qlwkxj2j/dependencies/fmt/include -IC:\Users\Genesis\anaconda3\envs\wonder3d\lib\site-packages\torch\include -IC:\Users\Genesis\anaconda3\envs\wonder3d\lib\site-packages\torch\include\torch\csrc\api\include -IC:\Users\Genesis\anaconda3\envs\wonder3d\lib\site-packages\torch\include\TH -IC:\Users\Genesis\anaconda3\envs\wonder3d\lib\site-packages\torch\include\THC "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.8\include" -IC:\Users\Genesis\anaconda3\envs\wonder3d\include -IC:\Users\Genesis\anaconda3\envs\wonder3d\Include -c C:\Users\Genesis\AppData\Local\Temp\pip-req-build-qlwkxj2j\src\common_host.cu -o C:\Users\Genesis\AppData\Local\Temp\pip-req-build-qlwkxj2j\bindings\torch\build\src/common_host.obj -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_BFLOAT16_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr -std=c++17 --extended-lambda --expt-relaxed-constexpr -U__CUDA_NO_HALF_OPERATORS__ -U__CUDA_NO_HALF_CONVERSIONS__ -U__CUDA_NO_HALF2_OPERATORS__ -gencode=arch=compute_86,code=compute_86 -gencode=arch=compute_86,code=sm_86 -DTCNN_PARAMS_UNALIGNED -DTCNN_MIN_GPU_ARCH=86 -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_86_C -D_GLIBCXX_USE_CXX11_ABI=0
  FAILED: C:/Users/Genesis/AppData/Local/Temp/pip-req-build-qlwkxj2j/bindings/torch/build/src/common_host.obj
  C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.8\bin\nvcc --generate-dependencies-with-compile --dependency-output C:\Users\Genesis\AppData\Local\Temp\pip-req-build-qlwkxj2j\bindings\torch\build\src/common_host.obj.d -std=c++17 --use-local-env -Xcompiler /MD -Xcompiler /wd4819 -Xcompiler /wd4251 -Xcompiler /wd4244 -Xcompiler /wd4267 -Xcompiler /wd4275 -Xcompiler /wd4018 -Xcompiler /wd4190 -Xcompiler /wd4624 -Xcompiler /wd4067 -Xcompiler /wd4068 -Xcompiler /EHsc -Xcudafe --diag_suppress=base_class_has_different_dll_interface -Xcudafe --diag_suppress=field_without_dll_interface -Xcudafe --diag_suppress=dll_interface_conflict_none_assumed -Xcudafe --diag_suppress=dll_interface_conflict_dllexport_assumed -IC:\Users\Genesis\AppData\Local\Temp\pip-req-build-qlwkxj2j/include -IC:\Users\Genesis\AppData\Local\Temp\pip-req-build-qlwkxj2j/dependencies -IC:\Users\Genesis\AppData\Local\Temp\pip-req-build-qlwkxj2j/dependencies/cutlass/include -IC:\Users\Genesis\AppData\Local\Temp\pip-req-build-qlwkxj2j/dependencies/cutlass/tools/util/include -IC:\Users\Genesis\AppData\Local\Temp\pip-req-build-qlwkxj2j/dependencies/fmt/include -IC:\Users\Genesis\anaconda3\envs\wonder3d\lib\site-packages\torch\include -IC:\Users\Genesis\anaconda3\envs\wonder3d\lib\site-packages\torch\include\torch\csrc\api\include -IC:\Users\Genesis\anaconda3\envs\wonder3d\lib\site-packages\torch\include\TH -IC:\Users\Genesis\anaconda3\envs\wonder3d\lib\site-packages\torch\include\THC "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.8\include" -IC:\Users\Genesis\anaconda3\envs\wonder3d\include -IC:\Users\Genesis\anaconda3\envs\wonder3d\Include -c C:\Users\Genesis\AppData\Local\Temp\pip-req-build-qlwkxj2j\src\common_host.cu -o C:\Users\Genesis\AppData\Local\Temp\pip-req-build-qlwkxj2j\bindings\torch\build\src/common_host.obj -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_BFLOAT16_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr -std=c++17 --extended-lambda --expt-relaxed-constexpr -U__CUDA_NO_HALF_OPERATORS__ -U__CUDA_NO_HALF_CONVERSIONS__ -U__CUDA_NO_HALF2_OPERATORS__ -gencode=arch=compute_86,code=compute_86 -gencode=arch=compute_86,code=sm_86 -DTCNN_PARAMS_UNALIGNED -DTCNN_MIN_GPU_ARCH=86 -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_86_C -D_GLIBCXX_USE_CXX11_ABI=0
  cl : Command line warning D9025 : overriding '/D__CUDA_NO_HALF_OPERATORS__' with '/U__CUDA_NO_HALF_OPERATORS__'
  cl : Command line warning D9025 : overriding '/D__CUDA_NO_HALF_CONVERSIONS__' with '/U__CUDA_NO_HALF_CONVERSIONS__'

  cl : Command line warning D9025 : overriding '/D__CUDA_NO_HALF2_OPERATORS__' with '/U__CUDA_NO_HALF2_OPERATORS__'

  common_host.cu

  C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.8\include\crt/host_config.h(231): fatal error C1083: Cannot open include file: 'crtdefs.h': No such file or directory

  common_host.cu

  [7/10] C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.8\bin\nvcc --generate-dependencies-with-compile --dependency-output C:\Users\Genesis\AppData\Local\Temp\pip-req-build-qlwkxj2j\bindings\torch\build\src/object.obj.d -std=c++17 --use-local-env -Xcompiler /MD -Xcompiler /wd4819 -Xcompiler /wd4251 -Xcompiler /wd4244 -Xcompiler /wd4267 -Xcompiler /wd4275 -Xcompiler /wd4018 -Xcompiler /wd4190 -Xcompiler /wd4624 -Xcompiler /wd4067 -Xcompiler /wd4068 -Xcompiler /EHsc -Xcudafe --diag_suppress=base_class_has_different_dll_interface -Xcudafe --diag_suppress=field_without_dll_interface -Xcudafe --diag_suppress=dll_interface_conflict_none_assumed -Xcudafe --diag_suppress=dll_interface_conflict_dllexport_assumed -IC:\Users\Genesis\AppData\Local\Temp\pip-req-build-qlwkxj2j/include -IC:\Users\Genesis\AppData\Local\Temp\pip-req-build-qlwkxj2j/dependencies -IC:\Users\Genesis\AppData\Local\Temp\pip-req-build-qlwkxj2j/dependencies/cutlass/include -IC:\Users\Genesis\AppData\Local\Temp\pip-req-build-qlwkxj2j/dependencies/cutlass/tools/util/include -IC:\Users\Genesis\AppData\Local\Temp\pip-req-build-qlwkxj2j/dependencies/fmt/include -IC:\Users\Genesis\anaconda3\envs\wonder3d\lib\site-packages\torch\include -IC:\Users\Genesis\anaconda3\envs\wonder3d\lib\site-packages\torch\include\torch\csrc\api\include -IC:\Users\Genesis\anaconda3\envs\wonder3d\lib\site-packages\torch\include\TH -IC:\Users\Genesis\anaconda3\envs\wonder3d\lib\site-packages\torch\include\THC "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.8\include" -IC:\Users\Genesis\anaconda3\envs\wonder3d\include -IC:\Users\Genesis\anaconda3\envs\wonder3d\Include -c C:\Users\Genesis\AppData\Local\Temp\pip-req-build-qlwkxj2j\src\object.cu -o C:\Users\Genesis\AppData\Local\Temp\pip-req-build-qlwkxj2j\bindings\torch\build\src/object.obj -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_BFLOAT16_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr -std=c++17 --extended-lambda --expt-relaxed-constexpr -U__CUDA_NO_HALF_OPERATORS__ -U__CUDA_NO_HALF_CONVERSIONS__ -U__CUDA_NO_HALF2_OPERATORS__ -gencode=arch=compute_86,code=compute_86 -gencode=arch=compute_86,code=sm_86 -DTCNN_PARAMS_UNALIGNED -DTCNN_MIN_GPU_ARCH=86 -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_86_C -D_GLIBCXX_USE_CXX11_ABI=0
  FAILED: C:/Users/Genesis/AppData/Local/Temp/pip-req-build-qlwkxj2j/bindings/torch/build/src/object.obj
  C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.8\bin\nvcc --generate-dependencies-with-compile --dependency-output C:\Users\Genesis\AppData\Local\Temp\pip-req-build-qlwkxj2j\bindings\torch\build\src/object.obj.d -std=c++17 --use-local-env -Xcompiler /MD -Xcompiler /wd4819 -Xcompiler /wd4251 -Xcompiler /wd4244 -Xcompiler /wd4267 -Xcompiler /wd4275 -Xcompiler /wd4018 -Xcompiler /wd4190 -Xcompiler /wd4624 -Xcompiler /wd4067 -Xcompiler /wd4068 -Xcompiler /EHsc -Xcudafe --diag_suppress=base_class_has_different_dll_interface -Xcudafe --diag_suppress=field_without_dll_interface -Xcudafe --diag_suppress=dll_interface_conflict_none_assumed -Xcudafe --diag_suppress=dll_interface_conflict_dllexport_assumed -IC:\Users\Genesis\AppData\Local\Temp\pip-req-build-qlwkxj2j/include -IC:\Users\Genesis\AppData\Local\Temp\pip-req-build-qlwkxj2j/dependencies -IC:\Users\Genesis\AppData\Local\Temp\pip-req-build-qlwkxj2j/dependencies/cutlass/include -IC:\Users\Genesis\AppData\Local\Temp\pip-req-build-qlwkxj2j/dependencies/cutlass/tools/util/include -IC:\Users\Genesis\AppData\Local\Temp\pip-req-build-qlwkxj2j/dependencies/fmt/include -IC:\Users\Genesis\anaconda3\envs\wonder3d\lib\site-packages\torch\include -IC:\Users\Genesis\anaconda3\envs\wonder3d\lib\site-packages\torch\include\torch\csrc\api\include -IC:\Users\Genesis\anaconda3\envs\wonder3d\lib\site-packages\torch\include\TH -IC:\Users\Genesis\anaconda3\envs\wonder3d\lib\site-packages\torch\include\THC "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.8\include" -IC:\Users\Genesis\anaconda3\envs\wonder3d\include -IC:\Users\Genesis\anaconda3\envs\wonder3d\Include -c C:\Users\Genesis\AppData\Local\Temp\pip-req-build-qlwkxj2j\src\object.cu -o C:\Users\Genesis\AppData\Local\Temp\pip-req-build-qlwkxj2j\bindings\torch\build\src/object.obj -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_BFLOAT16_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr -std=c++17 --extended-lambda --expt-relaxed-constexpr -U__CUDA_NO_HALF_OPERATORS__ -U__CUDA_NO_HALF_CONVERSIONS__ -U__CUDA_NO_HALF2_OPERATORS__ -gencode=arch=compute_86,code=compute_86 -gencode=arch=compute_86,code=sm_86 -DTCNN_PARAMS_UNALIGNED -DTCNN_MIN_GPU_ARCH=86 -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_86_C -D_GLIBCXX_USE_CXX11_ABI=0
  cl : Command line warning D9025 : overriding '/D__CUDA_NO_HALF_OPERATORS__' with '/U__CUDA_NO_HALF_OPERATORS__'
  cl : Command line warning D9025 : overriding '/D__CUDA_NO_HALF_CONVERSIONS__' with '/U__CUDA_NO_HALF_CONVERSIONS__'
  cl : Command line warning D9025 : overriding '/D__CUDA_NO_HALF2_OPERATORS__' with '/U__CUDA_NO_HALF2_OPERATORS__'
  object.cu
  C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.8\include\crt/host_config.h(231): fatal error C1083: Cannot open include file: 'crtdefs.h': No such file or directory

  object.cu

  [8/10] C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.8\bin\nvcc --generate-dependencies-with-compile --dependency-output C:\Users\Genesis\AppData\Local\Temp\pip-req-build-qlwkxj2j\bindings\torch\build\src/cpp_api.obj.d -std=c++17 --use-local-env -Xcompiler /MD -Xcompiler /wd4819 -Xcompiler /wd4251 -Xcompiler /wd4244 -Xcompiler /wd4267 -Xcompiler /wd4275 -Xcompiler /wd4018 -Xcompiler /wd4190 -Xcompiler /wd4624 -Xcompiler /wd4067 -Xcompiler /wd4068 -Xcompiler /EHsc -Xcudafe --diag_suppress=base_class_has_different_dll_interface -Xcudafe --diag_suppress=field_without_dll_interface -Xcudafe --diag_suppress=dll_interface_conflict_none_assumed -Xcudafe --diag_suppress=dll_interface_conflict_dllexport_assumed -IC:\Users\Genesis\AppData\Local\Temp\pip-req-build-qlwkxj2j/include -IC:\Users\Genesis\AppData\Local\Temp\pip-req-build-qlwkxj2j/dependencies -IC:\Users\Genesis\AppData\Local\Temp\pip-req-build-qlwkxj2j/dependencies/cutlass/include -IC:\Users\Genesis\AppData\Local\Temp\pip-req-build-qlwkxj2j/dependencies/cutlass/tools/util/include -IC:\Users\Genesis\AppData\Local\Temp\pip-req-build-qlwkxj2j/dependencies/fmt/include -IC:\Users\Genesis\anaconda3\envs\wonder3d\lib\site-packages\torch\include -IC:\Users\Genesis\anaconda3\envs\wonder3d\lib\site-packages\torch\include\torch\csrc\api\include -IC:\Users\Genesis\anaconda3\envs\wonder3d\lib\site-packages\torch\include\TH -IC:\Users\Genesis\anaconda3\envs\wonder3d\lib\site-packages\torch\include\THC "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.8\include" -IC:\Users\Genesis\anaconda3\envs\wonder3d\include -IC:\Users\Genesis\anaconda3\envs\wonder3d\Include -c C:\Users\Genesis\AppData\Local\Temp\pip-req-build-qlwkxj2j\src\cpp_api.cu -o C:\Users\Genesis\AppData\Local\Temp\pip-req-build-qlwkxj2j\bindings\torch\build\src/cpp_api.obj -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_BFLOAT16_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr -std=c++17 --extended-lambda --expt-relaxed-constexpr -U__CUDA_NO_HALF_OPERATORS__ -U__CUDA_NO_HALF_CONVERSIONS__ -U__CUDA_NO_HALF2_OPERATORS__ -gencode=arch=compute_86,code=compute_86 -gencode=arch=compute_86,code=sm_86 -DTCNN_PARAMS_UNALIGNED -DTCNN_MIN_GPU_ARCH=86 -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_86_C -D_GLIBCXX_USE_CXX11_ABI=0
  FAILED: C:/Users/Genesis/AppData/Local/Temp/pip-req-build-qlwkxj2j/bindings/torch/build/src/cpp_api.obj
  C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.8\bin\nvcc --generate-dependencies-with-compile --dependency-output C:\Users\Genesis\AppData\Local\Temp\pip-req-build-qlwkxj2j\bindings\torch\build\src/cpp_api.obj.d -std=c++17 --use-local-env -Xcompiler /MD -Xcompiler /wd4819 -Xcompiler /wd4251 -Xcompiler /wd4244 -Xcompiler /wd4267 -Xcompiler /wd4275 -Xcompiler /wd4018 -Xcompiler /wd4190 -Xcompiler /wd4624 -Xcompiler /wd4067 -Xcompiler /wd4068 -Xcompiler /EHsc -Xcudafe --diag_suppress=base_class_has_different_dll_interface -Xcudafe --diag_suppress=field_without_dll_interface -Xcudafe --diag_suppress=dll_interface_conflict_none_assumed -Xcudafe --diag_suppress=dll_interface_conflict_dllexport_assumed -IC:\Users\Genesis\AppData\Local\Temp\pip-req-build-qlwkxj2j/include -IC:\Users\Genesis\AppData\Local\Temp\pip-req-build-qlwkxj2j/dependencies -IC:\Users\Genesis\AppData\Local\Temp\pip-req-build-qlwkxj2j/dependencies/cutlass/include -IC:\Users\Genesis\AppData\Local\Temp\pip-req-build-qlwkxj2j/dependencies/cutlass/tools/util/include -IC:\Users\Genesis\AppData\Local\Temp\pip-req-build-qlwkxj2j/dependencies/fmt/include -IC:\Users\Genesis\anaconda3\envs\wonder3d\lib\site-packages\torch\include -IC:\Users\Genesis\anaconda3\envs\wonder3d\lib\site-packages\torch\include\torch\csrc\api\include -IC:\Users\Genesis\anaconda3\envs\wonder3d\lib\site-packages\torch\include\TH -IC:\Users\Genesis\anaconda3\envs\wonder3d\lib\site-packages\torch\include\THC "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.8\include" -IC:\Users\Genesis\anaconda3\envs\wonder3d\include -IC:\Users\Genesis\anaconda3\envs\wonder3d\Include -c C:\Users\Genesis\AppData\Local\Temp\pip-req-build-qlwkxj2j\src\cpp_api.cu -o C:\Users\Genesis\AppData\Local\Temp\pip-req-build-qlwkxj2j\bindings\torch\build\src/cpp_api.obj -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_BFLOAT16_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr -std=c++17 --extended-lambda --expt-relaxed-constexpr -U__CUDA_NO_HALF_OPERATORS__ -U__CUDA_NO_HALF_CONVERSIONS__ -U__CUDA_NO_HALF2_OPERATORS__ -gencode=arch=compute_86,code=compute_86 -gencode=arch=compute_86,code=sm_86 -DTCNN_PARAMS_UNALIGNED -DTCNN_MIN_GPU_ARCH=86 -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_86_C -D_GLIBCXX_USE_CXX11_ABI=0
  cl : Command line warning D9025 : overriding '/D__CUDA_NO_HALF_OPERATORS__' with '/U__CUDA_NO_HALF_OPERATORS__'
  cl : Command line warning D9025 : overriding '/D__CUDA_NO_HALF_CONVERSIONS__' with '/U__CUDA_NO_HALF_CONVERSIONS__'
  cl : Command line warning D9025 : overriding '/D__CUDA_NO_HALF2_OPERATORS__' with '/U__CUDA_NO_HALF2_OPERATORS__'

  cpp_api.cu

  C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.8\include\crt/host_config.h(231): fatal error C1083: Cannot open include file: 'crtdefs.h': No such file or directory

  cpp_api.cu

  [9/10] C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.8\bin\nvcc --generate-dependencies-with-compile --dependency-output C:\Users\Genesis\AppData\Local\Temp\pip-req-build-qlwkxj2j\bindings\torch\build\src/encoding.obj.d -std=c++17 --use-local-env -Xcompiler /MD -Xcompiler /wd4819 -Xcompiler /wd4251 -Xcompiler /wd4244 -Xcompiler /wd4267 -Xcompiler /wd4275 -Xcompiler /wd4018 -Xcompiler /wd4190 -Xcompiler /wd4624 -Xcompiler /wd4067 -Xcompiler /wd4068 -Xcompiler /EHsc -Xcudafe --diag_suppress=base_class_has_different_dll_interface -Xcudafe --diag_suppress=field_without_dll_interface -Xcudafe --diag_suppress=dll_interface_conflict_none_assumed -Xcudafe --diag_suppress=dll_interface_conflict_dllexport_assumed -IC:\Users\Genesis\AppData\Local\Temp\pip-req-build-qlwkxj2j/include -IC:\Users\Genesis\AppData\Local\Temp\pip-req-build-qlwkxj2j/dependencies -IC:\Users\Genesis\AppData\Local\Temp\pip-req-build-qlwkxj2j/dependencies/cutlass/include -IC:\Users\Genesis\AppData\Local\Temp\pip-req-build-qlwkxj2j/dependencies/cutlass/tools/util/include -IC:\Users\Genesis\AppData\Local\Temp\pip-req-build-qlwkxj2j/dependencies/fmt/include -IC:\Users\Genesis\anaconda3\envs\wonder3d\lib\site-packages\torch\include -IC:\Users\Genesis\anaconda3\envs\wonder3d\lib\site-packages\torch\include\torch\csrc\api\include -IC:\Users\Genesis\anaconda3\envs\wonder3d\lib\site-packages\torch\include\TH -IC:\Users\Genesis\anaconda3\envs\wonder3d\lib\site-packages\torch\include\THC "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.8\include" -IC:\Users\Genesis\anaconda3\envs\wonder3d\include -IC:\Users\Genesis\anaconda3\envs\wonder3d\Include -c C:\Users\Genesis\AppData\Local\Temp\pip-req-build-qlwkxj2j\src\encoding.cu -o C:\Users\Genesis\AppData\Local\Temp\pip-req-build-qlwkxj2j\bindings\torch\build\src/encoding.obj -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_BFLOAT16_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr -std=c++17 --extended-lambda --expt-relaxed-constexpr -U__CUDA_NO_HALF_OPERATORS__ -U__CUDA_NO_HALF_CONVERSIONS__ -U__CUDA_NO_HALF2_OPERATORS__ -gencode=arch=compute_86,code=compute_86 -gencode=arch=compute_86,code=sm_86 -DTCNN_PARAMS_UNALIGNED -DTCNN_MIN_GPU_ARCH=86 -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_86_C -D_GLIBCXX_USE_CXX11_ABI=0
  FAILED: C:/Users/Genesis/AppData/Local/Temp/pip-req-build-qlwkxj2j/bindings/torch/build/src/encoding.obj
  C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.8\bin\nvcc --generate-dependencies-with-compile --dependency-output C:\Users\Genesis\AppData\Local\Temp\pip-req-build-qlwkxj2j\bindings\torch\build\src/encoding.obj.d -std=c++17 --use-local-env -Xcompiler /MD -Xcompiler /wd4819 -Xcompiler /wd4251 -Xcompiler /wd4244 -Xcompiler /wd4267 -Xcompiler /wd4275 -Xcompiler /wd4018 -Xcompiler /wd4190 -Xcompiler /wd4624 -Xcompiler /wd4067 -Xcompiler /wd4068 -Xcompiler /EHsc -Xcudafe --diag_suppress=base_class_has_different_dll_interface -Xcudafe --diag_suppress=field_without_dll_interface -Xcudafe --diag_suppress=dll_interface_conflict_none_assumed -Xcudafe --diag_suppress=dll_interface_conflict_dllexport_assumed -IC:\Users\Genesis\AppData\Local\Temp\pip-req-build-qlwkxj2j/include -IC:\Users\Genesis\AppData\Local\Temp\pip-req-build-qlwkxj2j/dependencies -IC:\Users\Genesis\AppData\Local\Temp\pip-req-build-qlwkxj2j/dependencies/cutlass/include -IC:\Users\Genesis\AppData\Local\Temp\pip-req-build-qlwkxj2j/dependencies/cutlass/tools/util/include -IC:\Users\Genesis\AppData\Local\Temp\pip-req-build-qlwkxj2j/dependencies/fmt/include -IC:\Users\Genesis\anaconda3\envs\wonder3d\lib\site-packages\torch\include -IC:\Users\Genesis\anaconda3\envs\wonder3d\lib\site-packages\torch\include\torch\csrc\api\include -IC:\Users\Genesis\anaconda3\envs\wonder3d\lib\site-packages\torch\include\TH -IC:\Users\Genesis\anaconda3\envs\wonder3d\lib\site-packages\torch\include\THC "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.8\include" -IC:\Users\Genesis\anaconda3\envs\wonder3d\include -IC:\Users\Genesis\anaconda3\envs\wonder3d\Include -c C:\Users\Genesis\AppData\Local\Temp\pip-req-build-qlwkxj2j\src\encoding.cu -o C:\Users\Genesis\AppData\Local\Temp\pip-req-build-qlwkxj2j\bindings\torch\build\src/encoding.obj -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_BFLOAT16_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr -std=c++17 --extended-lambda --expt-relaxed-constexpr -U__CUDA_NO_HALF_OPERATORS__ -U__CUDA_NO_HALF_CONVERSIONS__ -U__CUDA_NO_HALF2_OPERATORS__ -gencode=arch=compute_86,code=compute_86 -gencode=arch=compute_86,code=sm_86 -DTCNN_PARAMS_UNALIGNED -DTCNN_MIN_GPU_ARCH=86 -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_86_C -D_GLIBCXX_USE_CXX11_ABI=0
  cl : Command line warning D9025 : overriding '/D__CUDA_NO_HALF_OPERATORS__' with '/U__CUDA_NO_HALF_OPERATORS__'
  cl : Command line warning D9025 : overriding '/D__CUDA_NO_HALF_CONVERSIONS__' with '/U__CUDA_NO_HALF_CONVERSIONS__'

  cl : Command line warning D9025 : overriding '/D__CUDA_NO_HALF2_OPERATORS__' with '/U__CUDA_NO_HALF2_OPERATORS__'

  encoding.cu

  C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.8\include\crt/host_config.h(231): fatal error C1083: Cannot open include file: 'crtdefs.h': No such file or directory

  encoding.cu

  [10/10] C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.8\bin\nvcc --generate-dependencies-with-compile --dependency-output C:\Users\Genesis\AppData\Local\Temp\pip-req-build-qlwkxj2j\bindings\torch\build\src/network.obj.d -std=c++17 --use-local-env -Xcompiler /MD -Xcompiler /wd4819 -Xcompiler /wd4251 -Xcompiler /wd4244 -Xcompiler /wd4267 -Xcompiler /wd4275 -Xcompiler /wd4018 -Xcompiler /wd4190 -Xcompiler /wd4624 -Xcompiler /wd4067 -Xcompiler /wd4068 -Xcompiler /EHsc -Xcudafe --diag_suppress=base_class_has_different_dll_interface -Xcudafe --diag_suppress=field_without_dll_interface -Xcudafe --diag_suppress=dll_interface_conflict_none_assumed -Xcudafe --diag_suppress=dll_interface_conflict_dllexport_assumed -IC:\Users\Genesis\AppData\Local\Temp\pip-req-build-qlwkxj2j/include -IC:\Users\Genesis\AppData\Local\Temp\pip-req-build-qlwkxj2j/dependencies -IC:\Users\Genesis\AppData\Local\Temp\pip-req-build-qlwkxj2j/dependencies/cutlass/include -IC:\Users\Genesis\AppData\Local\Temp\pip-req-build-qlwkxj2j/dependencies/cutlass/tools/util/include -IC:\Users\Genesis\AppData\Local\Temp\pip-req-build-qlwkxj2j/dependencies/fmt/include -IC:\Users\Genesis\anaconda3\envs\wonder3d\lib\site-packages\torch\include -IC:\Users\Genesis\anaconda3\envs\wonder3d\lib\site-packages\torch\include\torch\csrc\api\include -IC:\Users\Genesis\anaconda3\envs\wonder3d\lib\site-packages\torch\include\TH -IC:\Users\Genesis\anaconda3\envs\wonder3d\lib\site-packages\torch\include\THC "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.8\include" -IC:\Users\Genesis\anaconda3\envs\wonder3d\include -IC:\Users\Genesis\anaconda3\envs\wonder3d\Include -c C:\Users\Genesis\AppData\Local\Temp\pip-req-build-qlwkxj2j\src\network.cu -o C:\Users\Genesis\AppData\Local\Temp\pip-req-build-qlwkxj2j\bindings\torch\build\src/network.obj -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_BFLOAT16_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr -std=c++17 --extended-lambda --expt-relaxed-constexpr -U__CUDA_NO_HALF_OPERATORS__ -U__CUDA_NO_HALF_CONVERSIONS__ -U__CUDA_NO_HALF2_OPERATORS__ -gencode=arch=compute_86,code=compute_86 -gencode=arch=compute_86,code=sm_86 -DTCNN_PARAMS_UNALIGNED -DTCNN_MIN_GPU_ARCH=86 -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_86_C -D_GLIBCXX_USE_CXX11_ABI=0
  FAILED: C:/Users/Genesis/AppData/Local/Temp/pip-req-build-qlwkxj2j/bindings/torch/build/src/network.obj
  C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.8\bin\nvcc --generate-dependencies-with-compile --dependency-output C:\Users\Genesis\AppData\Local\Temp\pip-req-build-qlwkxj2j\bindings\torch\build\src/network.obj.d -std=c++17 --use-local-env -Xcompiler /MD -Xcompiler /wd4819 -Xcompiler /wd4251 -Xcompiler /wd4244 -Xcompiler /wd4267 -Xcompiler /wd4275 -Xcompiler /wd4018 -Xcompiler /wd4190 -Xcompiler /wd4624 -Xcompiler /wd4067 -Xcompiler /wd4068 -Xcompiler /EHsc -Xcudafe --diag_suppress=base_class_has_different_dll_interface -Xcudafe --diag_suppress=field_without_dll_interface -Xcudafe --diag_suppress=dll_interface_conflict_none_assumed -Xcudafe --diag_suppress=dll_interface_conflict_dllexport_assumed -IC:\Users\Genesis\AppData\Local\Temp\pip-req-build-qlwkxj2j/include -IC:\Users\Genesis\AppData\Local\Temp\pip-req-build-qlwkxj2j/dependencies -IC:\Users\Genesis\AppData\Local\Temp\pip-req-build-qlwkxj2j/dependencies/cutlass/include -IC:\Users\Genesis\AppData\Local\Temp\pip-req-build-qlwkxj2j/dependencies/cutlass/tools/util/include -IC:\Users\Genesis\AppData\Local\Temp\pip-req-build-qlwkxj2j/dependencies/fmt/include -IC:\Users\Genesis\anaconda3\envs\wonder3d\lib\site-packages\torch\include -IC:\Users\Genesis\anaconda3\envs\wonder3d\lib\site-packages\torch\include\torch\csrc\api\include -IC:\Users\Genesis\anaconda3\envs\wonder3d\lib\site-packages\torch\include\TH -IC:\Users\Genesis\anaconda3\envs\wonder3d\lib\site-packages\torch\include\THC "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.8\include" -IC:\Users\Genesis\anaconda3\envs\wonder3d\include -IC:\Users\Genesis\anaconda3\envs\wonder3d\Include -c C:\Users\Genesis\AppData\Local\Temp\pip-req-build-qlwkxj2j\src\network.cu -o C:\Users\Genesis\AppData\Local\Temp\pip-req-build-qlwkxj2j\bindings\torch\build\src/network.obj -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_BFLOAT16_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr -std=c++17 --extended-lambda --expt-relaxed-constexpr -U__CUDA_NO_HALF_OPERATORS__ -U__CUDA_NO_HALF_CONVERSIONS__ -U__CUDA_NO_HALF2_OPERATORS__ -gencode=arch=compute_86,code=compute_86 -gencode=arch=compute_86,code=sm_86 -DTCNN_PARAMS_UNALIGNED -DTCNN_MIN_GPU_ARCH=86 -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_86_C -D_GLIBCXX_USE_CXX11_ABI=0
  cl : Command line warning D9025 : overriding '/D__CUDA_NO_HALF_OPERATORS__' with '/U__CUDA_NO_HALF_OPERATORS__'
  cl : Command line warning D9025 : overriding '/D__CUDA_NO_HALF_CONVERSIONS__' with '/U__CUDA_NO_HALF_CONVERSIONS__'
  cl : Command line warning D9025 : overriding '/D__CUDA_NO_HALF2_OPERATORS__' with '/U__CUDA_NO_HALF2_OPERATORS__'
  network.cu
  C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.8\include\crt/host_config.h(231): fatal error C1083: Cannot open include file: 'crtdefs.h': No such file or directory

  network.cu

  ninja: build stopped: subcommand failed.
  Traceback (most recent call last):
    File "C:\Users\Genesis\anaconda3\envs\wonder3d\lib\site-packages\torch\utils\cpp_extension.py", line 2100, in _run_ninja_build
      subprocess.run(
    File "C:\Users\Genesis\anaconda3\envs\wonder3d\lib\subprocess.py", line 516, in run
      raise CalledProcessError(retcode, process.args,
  subprocess.CalledProcessError: Command '['ninja', '-v']' returned non-zero exit status 1.

  The above exception was the direct cause of the following exception:

  Traceback (most recent call last):
    File "<string>", line 2, in <module>
    File "<pip-setuptools-caller>", line 34, in <module>
    File "C:\Users\Genesis\AppData\Local\Temp\pip-req-build-qlwkxj2j\bindings/torch\setup.py", line 189, in <module>
      setup(
    File "C:\Users\Genesis\anaconda3\envs\wonder3d\lib\site-packages\setuptools\__init__.py", line 107, in setup
      return distutils.core.setup(**attrs)
    File "C:\Users\Genesis\anaconda3\envs\wonder3d\lib\site-packages\setuptools\_distutils\core.py", line 185, in setup
      return run_commands(dist)
    File "C:\Users\Genesis\anaconda3\envs\wonder3d\lib\site-packages\setuptools\_distutils\core.py", line 201, in run_commands
      dist.run_commands()
    File "C:\Users\Genesis\anaconda3\envs\wonder3d\lib\site-packages\setuptools\_distutils\dist.py", line 969, in run_commands
      self.run_command(cmd)
    File "C:\Users\Genesis\anaconda3\envs\wonder3d\lib\site-packages\setuptools\dist.py", line 1234, in run_command
      super().run_command(command)
    File "C:\Users\Genesis\anaconda3\envs\wonder3d\lib\site-packages\setuptools\_distutils\dist.py", line 988, in run_command
      cmd_obj.run()
    File "C:\Users\Genesis\anaconda3\envs\wonder3d\lib\site-packages\wheel\bdist_wheel.py", line 364, in run
      self.run_command("build")
    File "C:\Users\Genesis\anaconda3\envs\wonder3d\lib\site-packages\setuptools\_distutils\cmd.py", line 318, in run_command
      self.distribution.run_command(command)
    File "C:\Users\Genesis\anaconda3\envs\wonder3d\lib\site-packages\setuptools\dist.py", line 1234, in run_command
      super().run_command(command)
    File "C:\Users\Genesis\anaconda3\envs\wonder3d\lib\site-packages\setuptools\_distutils\dist.py", line 988, in run_command
      cmd_obj.run()
    File "C:\Users\Genesis\anaconda3\envs\wonder3d\lib\site-packages\setuptools\_distutils\command\build.py", line 131, in run
      self.run_command(cmd_name)
    File "C:\Users\Genesis\anaconda3\envs\wonder3d\lib\site-packages\setuptools\_distutils\cmd.py", line 318, in run_command
      self.distribution.run_command(command)
    File "C:\Users\Genesis\anaconda3\envs\wonder3d\lib\site-packages\setuptools\dist.py", line 1234, in run_command
      super().run_command(command)
    File "C:\Users\Genesis\anaconda3\envs\wonder3d\lib\site-packages\setuptools\_distutils\dist.py", line 988, in run_command
      cmd_obj.run()
    File "C:\Users\Genesis\anaconda3\envs\wonder3d\lib\site-packages\setuptools\command\build_ext.py", line 84, in run
      _build_ext.run(self)
    File "C:\Users\Genesis\anaconda3\envs\wonder3d\lib\site-packages\setuptools\_distutils\command\build_ext.py", line 345, in run
      self.build_extensions()
    File "C:\Users\Genesis\anaconda3\envs\wonder3d\lib\site-packages\torch\utils\cpp_extension.py", line 873, in build_extensions
      build_ext.build_extensions(self)
    File "C:\Users\Genesis\anaconda3\envs\wonder3d\lib\site-packages\setuptools\_distutils\command\build_ext.py", line 467, in build_extensions
      self._build_extensions_serial()
    File "C:\Users\Genesis\anaconda3\envs\wonder3d\lib\site-packages\setuptools\_distutils\command\build_ext.py", line 493, in _build_extensions_serial
      self.build_extension(ext)
    File "C:\Users\Genesis\anaconda3\envs\wonder3d\lib\site-packages\setuptools\command\build_ext.py", line 246, in build_extension
      _build_ext.build_extension(self, ext)
    File "C:\Users\Genesis\anaconda3\envs\wonder3d\lib\site-packages\setuptools\_distutils\command\build_ext.py", line 548, in build_extension
      objects = self.compiler.compile(
    File "C:\Users\Genesis\anaconda3\envs\wonder3d\lib\site-packages\torch\utils\cpp_extension.py", line 845, in win_wrap_ninja_compile
      _write_ninja_file_and_compile_objects(
    File "C:\Users\Genesis\anaconda3\envs\wonder3d\lib\site-packages\torch\utils\cpp_extension.py", line 1774, in _write_ninja_file_and_compile_objects
      _run_ninja_build(
    File "C:\Users\Genesis\anaconda3\envs\wonder3d\lib\site-packages\torch\utils\cpp_extension.py", line 2116, in _run_ninja_build
      raise RuntimeError(message) from e
  RuntimeError: Error compiling objects for extension
  [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for tinycudann Running setup.py clean for tinycudann Failed to build tinycudann ERROR: Could not build wheels for tinycudann, which is required to install pyproject.toml-based projects

kotaxyz commented 10 months ago

these two lines give the error upove pip install https://download.pytorch.org/whl/cu118/xformers-0.0.22.post4%2Bcu118-cp38-cp38-manylinux2014_x86_64.whl pip install ninja git+https://github.com/NVlabs/tiny-cuda-nn/#subdirectory=bindings/torch

kotaxyz commented 10 months ago

i have rtx 3060ti

nsarafianos commented 10 months ago

In case it's useful for others, I had similar issues on Windows (with the same errors above) and fixed them following this link.

kotaxyz commented 10 months ago

i get this error now (wonder3d) C:\Users\Genesis\github\Wonder3D>accelerate launch --config_file 1gpu.yaml test_mvdiffusion_seq.py --config configs/mvdiffusion-joint-ortho-6views.yaml Traceback (most recent call last): File "C:\Users\Genesis\anaconda3\envs\wonder3d\lib\runpy.py", line 194, in _run_module_as_main return _run_code(code, main_globals, None, File "C:\Users\Genesis\anaconda3\envs\wonder3d\lib\runpy.py", line 87, in _run_code exec(code, run_globals) File "C:\Users\Genesis\anaconda3\envs\wonder3d\Scripts\accelerate.exe__main.py", line 4, in File "C:\Users\Genesis\anaconda3\envs\wonder3d\lib\site-packages\accelerate\init.py", line 3, in from .accelerator import Accelerator File "C:\Users\Genesis\anaconda3\envs\wonder3d\lib\site-packages\accelerate\accelerator.py", line 33, in import torch File "C:\Users\Genesis\anaconda3\envs\wonder3d\lib\site-packages\torch\init__.py", line 128, in raise err OSError: [WinError 127] The specified procedure could not be found. Error loading "C:\Users\Genesis\anaconda3\envs\wonder3d\lib\site-packages\torch\lib\c10_cuda.dll" or one of its dependencies.

kotaxyz commented 10 months ago

i was able to fix it by reinstalling a fresh install with

python 3.8.10 pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu118 conda install -c "nvidia/label/cuda-11.8.0" cuda-toolkit pip install fire diffusers==0.19.3 transformers bitsandbytes accelerate gradio rembg segment_anything pip install einops omegaconf pytorch-lightning==1.9.5 torch_efficient_distloss nerfacc==0.3.3 PyMCubes trimesh pip install https://download.pytorch.org/whl/cu118/xformers-0.0.22.post4%2Bcu118-cp38-cp38-win_amd64.whl

i was able to fix the tiny cudann issues for windows activate the env then write these commands and make sure you change the microsoft visual studio versions correct you can search for the vcvars32.bat and change the directory i provided to the matching one and add x64 in the end like this

"\Program Files\Microsoft Visual Studio\2022\community\vc\Auxiliary\Build\vcvars32.bat" x64 pip install git+https://github.com/NVlabs/tiny-cuda-nn/#subdirectory=bindings/torch

sh-taheri commented 10 months ago

Since I have cuda toolkit 11.6 installed, I thought I can share the steps that worked for me:

pip install torch==1.13.1+cu116 torchvision==0.14.1+cu116 torchaudio==0.13.1 --extra-index-url https://download.pytorch.org/whl/cu116 pip install fire diffusers==0.19.3 transformers bitsandbytes accelerate gradio rembg segment_anything pip install einops omegaconf pytorch-lightning==1.9.5 torch_efficient_distloss nerfacc==0.3.3 PyMCubes trimesh pip install xformers==0.0.16 pip install git+https://github.com/NVlabs/tiny-cuda-nn/#subdirectory=bindings/torch

Also when I tried to run the iference to generate normals and colors, I was getting an error in test_mvdiffusion_seq.py line 260, so I had to make a slight modification to fix it:

# logger.warn(  
 logging.warning(

Next, I was getting the following error: "OSError: [WinError 1455] The paging file is too small for this operation to complete."

That was because in "configs/mvdiffusion-joint-ortho-6views.yaml",  parameter dataloader_num_workers=64 is too large for my system so I changed it to 8 and the issue was fixed.

I also made the following change to make the exection faster (I was getting a warning, so modified lines 290 and 292 of test_mvdiffusion_seq.py script):

 # elevations = torch.as_tensor(elevations).float().squeeze(1)
 elevations = torch.as_tensor(np.array(elevations)).float().squeeze(1) 
 # azimuths = torch.as_tensor(azimuths).float().squeeze(1)
 azimuths = torch.as_tensor(np.array(azimuths)).float().squeeze(1) 
kotaxyz commented 10 months ago

Since I have cuda toolkit 11.6 installed, I thought I can share the steps that worked for me:

pip install torch==1.13.1+cu116 torchvision==0.14.1+cu116 torchaudio==0.13.1 --extra-index-url https://download.pytorch.org/whl/cu116 pip install fire diffusers==0.19.3 transformers bitsandbytes accelerate gradio rembg segment_anything pip install einops omegaconf pytorch-lightning==1.9.5 torch_efficient_distloss nerfacc==0.3.3 PyMCubes trimesh pip install xformers==0.0.16 pip install git+https://github.com/NVlabs/tiny-cuda-nn/#subdirectory=bindings/torch

Also when I tried to run the iference to generate normals and colors, I was getting an error in test_mvdiffusion_seq.py line 260, so I had to make a slight modification to fix it:

# logger.warn(  
logging.warning(

Next, I was getting the following error: "OSError: [WinError 1455] The paging file is too small for this operation to complete."

That was because in "configs/mvdiffusion-joint-ortho-6views.yaml",  parameter dataloader_num_workers=64 is too large for my system so I changed it to 8 and the issue was fixed.

I also made the following change to make the exection faster (I was getting a warning, so modified lines 290 and 292 of test_mvdiffusion_seq.py script):

# elevations = torch.as_tensor(elevations).float().squeeze(1)
elevations = torch.as_tensor(np.array(elevations)).float().squeeze(1) 
# azimuths = torch.as_tensor(azimuths).float().squeeze(1)
azimuths = torch.as_tensor(np.array(azimuths)).float().squeeze(1) 

thanks for your reply , does the gradio works with no errors ?

sh-taheri commented 10 months ago

Since I have cuda toolkit 11.6 installed, I thought I can share the steps that worked for me: pip install torch==1.13.1+cu116 torchvision==0.14.1+cu116 torchaudio==0.13.1 --extra-index-url https://download.pytorch.org/whl/cu116 pip install fire diffusers==0.19.3 transformers bitsandbytes accelerate gradio rembg segment_anything pip install einops omegaconf pytorch-lightning==1.9.5 torch_efficient_distloss nerfacc==0.3.3 PyMCubes trimesh pip install xformers==0.0.16 pip install git+https://github.com/NVlabs/tiny-cuda-nn/#subdirectory=bindings/torch Also when I tried to run the iference to generate normals and colors, I was getting an error in test_mvdiffusion_seq.py line 260, so I had to make a slight modification to fix it:

# logger.warn(  
logging.warning(

Next, I was getting the following error: "OSError: [WinError 1455] The paging file is too small for this operation to complete." That was because in "configs/mvdiffusion-joint-ortho-6views.yaml",  parameter dataloader_num_workers=64 is too large for my system so I changed it to 8 and the issue was fixed. I also made the following change to make the exection faster (I was getting a warning, so modified lines 290 and 292 of test_mvdiffusion_seq.py script):

# elevations = torch.as_tensor(elevations).float().squeeze(1)
elevations = torch.as_tensor(np.array(elevations)).float().squeeze(1) 
# azimuths = torch.as_tensor(azimuths).float().squeeze(1)
azimuths = torch.as_tensor(np.array(azimuths)).float().squeeze(1) 

thanks for your reply , does the gradio works with no errors ?

Sure! Yes it works smoothly, on my laptop RTX 3070 with 8 G VRAM it took around 14 minutes to generate the normal and color images. However, I haven't been able to run the mesh extraction script.

kotaxyz commented 10 months ago

Since I have cuda toolkit 11.6 installed, I thought I can share the steps that worked for me: pip install torch==1.13.1+cu116 torchvision==0.14.1+cu116 torchaudio==0.13.1 --extra-index-url https://download.pytorch.org/whl/cu116 pip install fire diffusers==0.19.3 transformers bitsandbytes accelerate gradio rembg segment_anything pip install einops omegaconf pytorch-lightning==1.9.5 torch_efficient_distloss nerfacc==0.3.3 PyMCubes trimesh pip install xformers==0.0.16 pip install git+https://github.com/NVlabs/tiny-cuda-nn/#subdirectory=bindings/torch Also when I tried to run the iference to generate normals and colors, I was getting an error in test_mvdiffusion_seq.py line 260, so I had to make a slight modification to fix it:

# logger.warn(  
logging.warning(

Next, I was getting the following error: "OSError: [WinError 1455] The paging file is too small for this operation to complete." That was because in "configs/mvdiffusion-joint-ortho-6views.yaml",  parameter dataloader_num_workers=64 is too large for my system so I changed it to 8 and the issue was fixed. I also made the following change to make the exection faster (I was getting a warning, so modified lines 290 and 292 of test_mvdiffusion_seq.py script):

# elevations = torch.as_tensor(elevations).float().squeeze(1)
elevations = torch.as_tensor(np.array(elevations)).float().squeeze(1) 
# azimuths = torch.as_tensor(azimuths).float().squeeze(1)
azimuths = torch.as_tensor(np.array(azimuths)).float().squeeze(1) 

thanks for your reply , does the gradio works with no errors ?

Sure! Yes it works smoothly, on my laptop RTX 3070 with 8 G VRAM it took around 14 minutes to generate the normal and color images. However, I haven't been able to run the mesh extraction script.

cool i will make another conda env to test your edits , im able to extract the mesh using colab https://github.com/camenduru/Wonder3D-colab

the mesh extraction seems to use alot of vram and system ram , im trying to edit the yaml file to make it optimized to work with 8gb vram i will update you if i get it to work

sh-taheri commented 10 months ago

Since I have cuda toolkit 11.6 installed, I thought I can share the steps that worked for me: pip install torch==1.13.1+cu116 torchvision==0.14.1+cu116 torchaudio==0.13.1 --extra-index-url https://download.pytorch.org/whl/cu116 pip install fire diffusers==0.19.3 transformers bitsandbytes accelerate gradio rembg segment_anything pip install einops omegaconf pytorch-lightning==1.9.5 torch_efficient_distloss nerfacc==0.3.3 PyMCubes trimesh pip install xformers==0.0.16 pip install git+https://github.com/NVlabs/tiny-cuda-nn/#subdirectory=bindings/torch Also when I tried to run the iference to generate normals and colors, I was getting an error in test_mvdiffusion_seq.py line 260, so I had to make a slight modification to fix it:

# logger.warn(  
logging.warning(

Next, I was getting the following error: "OSError: [WinError 1455] The paging file is too small for this operation to complete." That was because in "configs/mvdiffusion-joint-ortho-6views.yaml",  parameter dataloader_num_workers=64 is too large for my system so I changed it to 8 and the issue was fixed. I also made the following change to make the exection faster (I was getting a warning, so modified lines 290 and 292 of test_mvdiffusion_seq.py script):

# elevations = torch.as_tensor(elevations).float().squeeze(1)
elevations = torch.as_tensor(np.array(elevations)).float().squeeze(1) 
# azimuths = torch.as_tensor(azimuths).float().squeeze(1)
azimuths = torch.as_tensor(np.array(azimuths)).float().squeeze(1) 

thanks for your reply , does the gradio works with no errors ?

Sure! Yes it works smoothly, on my laptop RTX 3070 with 8 G VRAM it took around 14 minutes to generate the normal and color images. However, I haven't been able to run the mesh extraction script.

cool i will make another conda env to test your edits , im able to extract the mesh using colab https://github.com/camenduru/Wonder3D-colab

the mesh extraction seems to use alot of vram and system ram , im trying to edit the yaml file to make it optimized to work with 8gb vram i will update you if i get it to work

Oh cool, thanks for sharing the colab, sounds great thanks!

kotaxyz commented 10 months ago

hey sh-taheri,i want to notify you that i was able to run the mesh extraction , i installed wsl2 with ubuntu 22.04.2lts and it worked for me , also the extraction of normals and views took arround 10 minutes on windows but it took 30 seconds on ubuntu sub system, i think its because the code is optimized for linux not windows . also for my tries i think 8gb of vram is enough if you are wondering