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

Multi-gpu support #64

Open
parrot1166 opened this issue Apr 13, 2022 · 4 comments
Open

Multi-gpu support #64

parrot1166 opened this issue Apr 13, 2022 · 4 comments

Comments

@parrot1166
Copy link

Hello, is there a way to run training on multiple gpus? have a machine with 4 gpus and was wondering if there was a config option(or plans) to enable multi-gpu support.

Thanks!

@darglein
Copy link
Owner

darglein commented May 5, 2022

Sorry this is currently not supported. You can however train multi instances on different GPUs, for example, to try out various settings.

@RobotBytedance
Copy link

Sorry this is currently not supported. You can however train multi instances on different GPUs, for example, to try out various settings.

I have try to set the traning on different GPU like this:
image
But, it still shows error and exits at training.
image
and the GPU shows that it have memory can work.
image
Is there something wrong?What else should I do?

@darglein
Copy link
Owner

To train on a specific GPU you can use the CUDA_VISIBLE_DEVICES environment variable. Don't change the global "device" variable for that.

@RobotBytedance
Copy link

To train on a specific GPU you can use the CUDA_VISIBLE_DEVICES environment variable. Don't change the global "device" variable for that.

Sorry for trouble you again. Where should I set the CUDA_VISIBLE_DEVICES?Could you please give me some resources or demo about that ?

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

3 participants