carla: A caral server cannot use multiple GPUs at the same time

A caral server cannot use multiple GPUs at the same time.

carla 0.9.11 docker+nvidia docker mod. I can use one of the GPUs, which I can control, but I can’t use more than one at the same time, and the current GPU utilization rate is not high, only 30-40%. command

sudo docker run -d -p 2000-2002:2000-2002 --runtime=nvidia -e NVIDIA_VISIBLE_DEVICES=0 carlasim/carla:0.9.11 /bin/bash -c 'SDL_VIDEODRIVER=offscreen SDL_HINT_CUDA_DEVICE=0 ./CarlaUE4.sh -ResX=800 -ResY=600 -nosound -windowed -opengl'

NVIDIA_VISIBLE_DEVICES Does anyone have the same problem as me? Platform:Ubuntu 20.04.1 LTS Carla version: 0.9.11 NVRM version: NVIDIA UNIX x86_64 Kernel Module 460.32.03 Sun Dec 27 19:00:34 UTC 2020 1d:00.0 VGA compatible controller: NVIDIA Corporation Device 2204 (rev a1) 1d:00.1 Audio device: NVIDIA Corporation Device 1aef (rev a1) b4:00.0 VGA compatible controller: NVIDIA Corporation Device 2204 (rev a1) b4:00.1 Audio device: NVIDIA Corporation Device 1aef (rev a1) image

About this issue

  • Original URL
  • State: open
  • Created 3 years ago
  • Comments: 15 (5 by maintainers)

Most upvoted comments

I’m still very interested in this! Unreal doesn’t seem to handle multi-GPU simulation very well, so solving this problem is non-trivial.

I’m very interested in multi GPU or multi computer CARLA simulation! If anyone has gotten multippe gpus to work or has tried to distribute the carla computing please let us know!!!