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

Being able to use multiple GPUs in AIDeveloper #8

Open
alfrem opened this issue Apr 16, 2020 · 3 comments
Open

Being able to use multiple GPUs in AIDeveloper #8

alfrem opened this issue Apr 16, 2020 · 3 comments
Labels
enhancement New feature or request

Comments

@alfrem
Copy link

alfrem commented Apr 16, 2020

Would be good to have the option to train networks using multiple GPUs as a possibility:

https://www.tensorflow.org/api_docs/python/tf/keras/utils/multi_gpu_model

or newest:
https://www.tensorflow.org/api_docs/python/tf/distribute/MirroredStrategy

With the different distribution strategies.

Thank you for your great job.

@maikherbig
Copy link
Owner

maikherbig commented Apr 16, 2020

Hi,
I think this should already work since multi_gpu_model has to be used when defining the model. Models are defined in a separate script called model_zoo.py. You can modify this the model_zoo and include your own model which uses multi_gpu_model. I recorded a tutorial video showing how to add models to the model zoo (Tutorial 4):
https://figshare.com/articles/Krater_et_al_2020_Data_zip/9902636
I hope this helps!

@alfrem
Copy link
Author

alfrem commented Apr 16, 2020

I will try as soon as I have access to new multiple GPU server. Should be in 2 weeks :).
Thank you!

@alfrem
Copy link
Author

alfrem commented Apr 16, 2020

By the way I didn't realise there was a 4th tutorial. Thanks!

@maikherbig maikherbig added the enhancement New feature or request label Sep 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants