Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Questions about running Carla on GPU servers #83

Open
YilinGao-SHU opened this issue Jan 4, 2024 · 4 comments
Open

Questions about running Carla on GPU servers #83

YilinGao-SHU opened this issue Jan 4, 2024 · 4 comments

Comments

@YilinGao-SHU
Copy link

Thanks so much for your work! But I got some puzzle problems when I try to run Carla on a GPU Server with 8 GPUs, when I use the following commands to start a Carla server, all the process run on gpu 0 like this.
CUDA_VISIBLE_DEVICES=0 ./CarlaUE4.sh --world-port=20000 -carla-server & CUDA_VISIBLE_DEVICES=1 ./CarlaUE4.sh --world-port=20002 -carla-server &
Have u ever met this mistake?
image

@deepcs233
Copy link
Collaborator

Hi!
Could you show the output of nvidia-smi? I can not understand the screenshot :)

@YilinGao-SHU
Copy link
Author

Hi! Could you show the output of nvidia-smi? I can not understand the screenshot :)

Of course! The usage of the GPUs looks like this. It can be found that all Carla process run on GPU 0.
image
Looking forward to your reply~

@deepcs233
Copy link
Collaborator

Hi, this is my nvidia-smi output and it looks ok:
image

the corresponginf script:

CUDA_VISIBLE_DEVICES=0 ./CarlaUE4.sh --world-port=2000 -opengl  &
sleep 1
CUDA_VISIBLE_DEVICES=1 ./CarlaUE4.sh --world-port=2002 -opengl  &
sleep 1
CUDA_VISIBLE_DEVICES=2 ./CarlaUE4.sh --world-port=2004 -opengl  &
sleep 1
CUDA_VISIBLE_DEVICES=3 ./CarlaUE4.sh --world-port=2006 -opengl  &
sleep 1

@YilinGao-SHU
Copy link
Author

Thanks so much! I will have a try!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants