yifanlu0227 / ChatSim

[CVPR2024 Highlight] Editable Scene Simulation for Autonomous Driving via LLM-Agent Collaboration
https://yifanlu0227.github.io/ChatSim
265 stars 13 forks source link

cmake --build build --target main --config RelWithDebInfo -j #15

Open Sudar278 opened 2 months ago

Sudar278 commented 2 months ago
root@ip-:/home/ChatSim/chatsim/background/mcnerf# cmake --build build --target main --config RelWithDebInfo -j
[  3%] Built target fmt
[ 45%] Built target yaml-cpp
Consolidate compiler generated dependencies of target tiny-cuda-nn
[ 46%] Building CUDA object External/tiny-cuda-nn/CMakeFiles/tiny-cuda-nn.dir/src/common.cu.o
[ 48%] Building CUDA object External/tiny-cuda-nn/CMakeFiles/tiny-cuda-nn.dir/src/common_device.cu.o
[ 49%] Building CUDA object External/tiny-cuda-nn/CMakeFiles/tiny-cuda-nn.dir/src/cpp_api.cu.o
[ 50%] Building CUDA object External/tiny-cuda-nn/CMakeFiles/tiny-cuda-nn.dir/src/cutlass_mlp.cu.o
[ 51%] Building CUDA object External/tiny-cuda-nn/CMakeFiles/tiny-cuda-nn.dir/src/encoding.cu.o
[ 53%] Building CUDA object External/tiny-cuda-nn/CMakeFiles/tiny-cuda-nn.dir/src/loss.cu.o
[ 54%] Building CUDA object External/tiny-cuda-nn/CMakeFiles/tiny-cuda-nn.dir/src/network.cu.o
[ 55%] Building CUDA object External/tiny-cuda-nn/CMakeFiles/tiny-cuda-nn.dir/src/optimizer.cu.o
[ 57%] Building CUDA object External/tiny-cuda-nn/CMakeFiles/tiny-cuda-nn.dir/src/object.cu.o
[ 58%] Building CUDA object External/tiny-cuda-nn/CMakeFiles/tiny-cuda-nn.dir/src/reduce_sum.cu.o
[ 59%] Building CUDA object External/tiny-cuda-nn/CMakeFiles/tiny-cuda-nn.dir/src/fully_fused_mlp.cu.o
/usr/include/c++/11/bits/std_function.h:435:145: error: parameter packs not expanded with ‘...’:
  435 |         function(_Functor&& __f)
      |                                                                                                                                                 ^
/usr/include/c++/11/bits/std_function.h:435:145: note:         ‘_ArgTypes’
/usr/include/c++/11/bits/std_function.h:530:146: error: parameter packs not expanded with ‘...’:
  530 |         operator=(_Functor&& __f)
      |                                                                                                                                                  ^
/usr/include/c++/11/bits/std_function.h:530:146: note:         ‘_ArgTypes’
/usr/include/c++/11/bits/std_function.h:435:145: error: parameter packs not expanded with ‘...’:
  435 |         function(_Functor&& __f)
      |                                                                                                                                                 ^
/usr/include/c++/11/bits/std_function.h:435:145: note:         ‘_ArgTypes’
/usr/include/c++/11/bits/std_function.h:530:146: error: parameter packs not expanded with ‘...’:
  530 |         operator=(_Functor&& __f)
      |                                                                                                                                                  ^
/usr/include/c++/11/bits/std_function.h:530:146: note:         ‘_ArgTypes’
/usr/include/c++/11/bits/std_function.h:435:145: error: parameter packs not expanded with ‘...’:
  435 |         function(_Functor&& __f)
      |                                                                                                                                                 ^
/usr/include/c++/11/bits/std_function.h:435:145: note:         ‘_ArgTypes’
/usr/include/c++/11/bits/std_function.h:530:146: error: parameter packs not expanded with ‘...’:
  530 |         operator=(_Functor&& __f)
      |                                                                                                                                                  ^
/usr/include/c++/11/bits/std_function.h:530:146: note:         ‘_ArgTypes’
/usr/include/c++/11/bits/std_function.h:435:145: error: parameter packs not expanded with ‘...’:
  435 |         function(_Functor&& __f)
      |                                                                                                                                                 ^
/usr/include/c++/11/bits/std_function.h:435:145: note:         ‘_ArgTypes’
/usr/include/c++/11/bits/std_function.h:530:146: error: parameter packs not expanded with ‘...’:
  530 |         operator=(_Functor&& __f)
      |                                                                                                                                                  ^
/usr/include/c++/11/bits/std_function.h:530:146: note:         ‘_ArgTypes’
/usr/include/c++/11/bits/std_function.h:435:145: error: parameter packs not expanded with ‘...’:
  435 |         function(_Functor&& __f)
      |                                                                                                                                                 ^
/usr/include/c++/11/bits/std_function.h:435:145: note:         ‘_ArgTypes’
/usr/include/c++/11/bits/std_function.h:530:146: error: parameter packs not expanded with ‘...’:
  530 |         operator=(_Functor&& __f)
      |                                                                                                                                                  ^
/usr/include/c++/11/bits/std_function.h:530:146: note:         ‘_ArgTypes’
/usr/include/c++/11/bits/std_function.h:435:145: error: parameter packs not expanded with ‘...’:
  435 |         function(_Functor&& __f)
      |                                                                                                                                                 ^
/usr/include/c++/11/bits/std_function.h:435:145: note:         ‘_ArgTypes’
/usr/include/c++/11/bits/std_function.h:530:146: error: parameter packs not expanded with ‘...’:
  530 |         operator=(_Functor&& __f)
      |                                                                                                                                                  ^
/usr/include/c++/11/bits/std_function.h:530:146: note:         ‘_ArgTypes’
/usr/include/c++/11/bits/std_function.h:435:145: error: parameter packs not expanded with ‘...’:
  435 |         function(_Functor&& __f)
      |                                                                                                                                                 ^
/usr/include/c++/11/bits/std_function.h:435:145: note:         ‘_ArgTypes’
/usr/include/c++/11/bits/std_function.h:530:146: error: parameter packs not expanded with ‘...’:
  530 |         operator=(_Functor&& __f)
      |                                                                                                                                                  ^
/usr/include/c++/11/bits/std_function.h:530:146: note:         ‘_ArgTypes’
gmake[3]: *** [External/tiny-cuda-nn/CMakeFiles/tiny-cuda-nn.dir/build.make:174: External/tiny-cuda-nn/CMakeFiles/tiny-cuda-nn.dir/src/object.cu.o] Error 1
gmake[3]: *** Waiting for unfinished jobs....
gmake[3]: *** [External/tiny-cuda-nn/CMakeFiles/tiny-cuda-nn.dir/build.make:76: External/tiny-cuda-nn/CMakeFiles/tiny-cuda-nn.dir/src/common.cu.o] Error 1
gmake[3]: *** [External/tiny-cuda-nn/CMakeFiles/tiny-cuda-nn.dir/build.make:90: External/tiny-cuda-nn/CMakeFiles/tiny-cuda-nn.dir/src/common_device.cu.o] Error 1
gmake[3]: *** [External/tiny-cuda-nn/CMakeFiles/tiny-cuda-nn.dir/build.make:202: External/tiny-cuda-nn/CMakeFiles/tiny-cuda-nn.dir/src/reduce_sum.cu.o] Error 1
gmake[3]: *** [External/tiny-cuda-nn/CMakeFiles/tiny-cuda-nn.dir/build.make:160: External/tiny-cuda-nn/CMakeFiles/tiny-cuda-nn.dir/src/network.cu.o] Error 1
gmake[3]: *** [External/tiny-cuda-nn/CMakeFiles/tiny-cuda-nn.dir/build.make:146: External/tiny-cuda-nn/CMakeFiles/tiny-cuda-nn.dir/src/loss.cu.o] Error 1
gmake[3]: *** [External/tiny-cuda-nn/CMakeFiles/tiny-cuda-nn.dir/build.make:104: External/tiny-cuda-nn/CMakeFiles/tiny-cuda-nn.dir/src/cpp_api.cu.o] Error 1
/usr/include/c++/11/bits/std_function.h:435:145: error: parameter packs not expanded with ‘...’:
  435 |         function(_Functor&& __f)
      |                                                                                                                                                 ^
/usr/include/c++/11/bits/std_function.h:435:145: note:         ‘_ArgTypes’
/usr/include/c++/11/bits/std_function.h:530:146: error: parameter packs not expanded with ‘...’:
  530 |         operator=(_Functor&& __f)
      |                                                                                                                                                  ^
/usr/include/c++/11/bits/std_function.h:530:146: note:         ‘_ArgTypes’
gmake[3]: *** [External/tiny-cuda-nn/CMakeFiles/tiny-cuda-nn.dir/build.make:188: External/tiny-cuda-nn/CMakeFiles/tiny-cuda-nn.dir/src/optimizer.cu.o] Error 1
^Cnvcc error   : 'cicc' died due to signal 2
gmake[3]: *** [External/tiny-cuda-nn/CMakeFiles/tiny-cuda-nn.dir/build.make:118: External/tiny-cuda-nn/CMakeFiles/tiny-cuda-nn.dir/src/cutlass_mlp.cu.o] Interrupt
nvcc error   : 'cicc' died due to signal 2
gmake[3]: *** [External/tiny-cuda-nn/CMakeFiles/tiny-cuda-nn.dir/build.make:216: External/tiny-cuda-nn/CMakeFiles/tiny-cuda-nn.dir/src/fully_fused_mlp.cu.o] Interrupt
nvcc error   : 'cicc' died due to signal 2
gmake[3]: *** [External/tiny-cuda-nn/CMakeFiles/tiny-cuda-nn.dir/build.make:132: External/tiny-cuda-nn/CMakeFiles/tiny-cuda-nn.dir/src/encoding.cu.o] Interrupt
gmake[2]: *** [CMakeFiles/Makefile2:212: External/tiny-cuda-nn/CMakeFiles/tiny-cuda-nn.dir/all] Interrupt
gmake[1]: *** [CMakeFiles/Makefile2:193: CMakeFiles/main.dir/rule] Interrupt
gmake: *** [Makefile:125: main] Interrupt

I'm running the repo on AWS G4 instance due to some GPU concern.

Can anyone help solving the above error

yifanlu0227 commented 2 months ago

I'm not sure about the cause of this problem. We have tested the compilation of McNeRF (also, F2NeRF) on RTX 3090 and A100, and they can run normally.

A possible reason is your machine has limited memory, so the compilation terminates due to running out of memory.

yifanlu0227 commented 2 months ago

You can try to reduce the compiling process number. Just add a specified number after -j

cmake --build build --target main --config RelWithDebInfo -j 2

IrohXu commented 1 month ago

Update cuda to cuda-11.8 will solve that problem.

My GPU is GTX 1080Ti.

The download link is here .
Following this to modify the cuda version and use nvcc -V to check it.

Then remove ./build and run cmake . -B build again.