Thinklab-SJTU / Bench2Drive

[NeurIPS 2024 Datasets and Benchmarks Track] Closed-Loop E2E-AD Benchmark Enhanced by World Model RL Expert
Apache License 2.0
1.26k stars 82 forks source link

How do I assign a different GPU to each closed-loop evaluated CARLA simulator? #63

Closed wjl2244 closed 2 months ago

wjl2244 commented 2 months ago

Hello, I am unable to specify the GPU device on which the CARLA emulator runs during parallel closed-loop evaluations. My CARLA version is 0.9.15, and I am using an 8×A800 device. However, CARLA only runs on GPU-3. I have set CUDA_VISIBLE_DEVICES, but it does not work.

jiaxiaosong1002 commented 2 months ago

@wjl2244 You should also specify the CARLA about which GPU to use by -graphicsadapter=.

https://github.com/Thinklab-SJTU/Bench2Drive/blob/main/leaderboard/leaderboard/leaderboard_evaluator.py#L203