microsoft / AirSim-NeurIPS2019-Drone-Racing

Drone Racing @ NeurIPS 2019, built on Microsoft AirSim
https://microsoft.github.io/AirSim-NeurIPS2019-Drone-Racing/
MIT License
356 stars 89 forks source link

Run different instances on different GPUs #129

Open yannbouteiller opened 4 years ago

yannbouteiller commented 4 years ago

Hello,

I have just had the bad surprise to find that on a multi-GPU system all my AirSim instances try to run on the same GPU device.

I found this https://github.com/Microsoft/AirSim/issues/1574 , is there any change about this issue or any unsupported way to do this, please?

madratman commented 4 years ago

Try the method here https://carla.readthedocs.io/en/latest/carla_headless/ or https://github.com/carla-simulator/carla/issues/225 As it's a matter of unreal binary, the instructions therein should help

yannbouteiller commented 4 years ago

Well, I have tried setting the SDL_HINT_CUDA_DEVICE environment variable this morning, but this resulted in a segmentation fault when I set it to anything other than 0 even with multiple available GPUs.