infinigen icon indicating copy to clipboard operation
infinigen copied to clipboard

Using nvidia/cuda:12.0.0-runtime-ubuntu22.04 in docker to enable cuda, but no terrain was generated image

Open maskjp opened this issue 1 year ago • 1 comments

I change the Dockerfile first line to use nvidia/cuda:12.0.0-devel-ubuntu22.04 in docker to enable CUDA. There's no error reported in the installation process. But the generated image has no terrain like the following one. Image_0048_00_00

maskjp avatar Jun 22 '23 22:06 maskjp

Good suggestion to use nvidia/cuda:12.0.0-devel-ubuntu22.04 for docker container - that gives us /usr/local/cuda/bin/nvcc that install.sh and worldgen/terrain/install_terrain.sh are looking for, and is currently building both terrain/lib/cpu and cuda/

My bare metal Ubuntu 22.04 LTS Driver Version: 530.41.03 CUDA Version: 12.1 uses the nvidia-cuda-toolkit package which puts nvcc in /usr/bin/nvcc so those miss it.

cswiger avatar Jun 24 '23 20:06 cswiger