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

How to write tensorflow custom training loop with using horovod. #3987

Closed
PurvangL opened this issue Sep 21, 2023 · 3 comments
Closed

How to write tensorflow custom training loop with using horovod. #3987

PurvangL opened this issue Sep 21, 2023 · 3 comments

Comments

@PurvangL
Copy link

Hi, is there any example which uses horovod and custom training loop in tensorflow and not using .fit function to train on multiple gpus?

@fuhailin
Copy link

@PurvangL Welcome to use https://github.com/deepray-AI/deepray , it supports custom training loop with horovod

@MrAta
Copy link
Contributor

MrAta commented Nov 21, 2023

Please checkout the examples directory. One such example for tensorflow custom training loop can be found here:
https://github.com/horovod/horovod/blob/master/examples/tensorflow2/tensorflow2_mnist.py

@PurvangL
Copy link
Author

Thanks @MrAta .

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

No branches or pull requests

3 participants