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

Hello, how can I train this model using multiple GPUs? #38

Open
mjz0110 opened this issue Aug 14, 2024 · 2 comments
Open

Hello, how can I train this model using multiple GPUs? #38

mjz0110 opened this issue Aug 14, 2024 · 2 comments
Assignees
Labels
question Further information is requested

Comments

@mjz0110
Copy link

mjz0110 commented Aug 14, 2024

Hello, how can I train this model using multiple GPUs?

@usert5432 usert5432 self-assigned this Aug 15, 2024
@usert5432 usert5432 added the question Further information is requested label Aug 15, 2024
@usert5432
Copy link
Collaborator

Hi @mjz0110,

That depends on which model you would like to train:

  1. If you would like to pre-train an image inpainting model, then simply run the pre-training on a machine with several GPUs and set CUDA_VISIBLE_DEVICES environment variable to "comma separated list of GPU indices" . The pre-training script will automatically use data parallel training.
  2. If you would like to train a style transfer model, then unfortunately, there is currently no way to train it on multiple GPUs.

@mjz0110
Copy link
Author

mjz0110 commented Aug 23, 2024

Thanks for your help!!!!

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

No branches or pull requests

2 participants