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

Distributed training #362

Open
rhobro opened this issue May 8, 2022 · 4 comments
Open

Distributed training #362

rhobro opened this issue May 8, 2022 · 4 comments

Comments

@rhobro
Copy link

rhobro commented May 8, 2022

Hi there,

Like tensorflow python has tf.distribute, what is the equivalent for the rust version?

Thanks

@Corallus-Caninus
Copy link
Contributor

there should be something in the private section of the codebase under config where you can specify this (I am basing this off memory) I'll follow up with more information when I get back to deving this project (I want to use TPUs which is a strategy spec).

@rhobro
Copy link
Author

rhobro commented Jul 9, 2022

Upon searching the repo for "distribut" it doesn't return any results.

@Corallus-Caninus
Copy link
Contributor

You would probably pass the strategy as a string into a config struct.

@Corallus-Caninus
Copy link
Contributor

Corallus-Caninus commented Jan 15, 2023

https://www.tensorflow.org/api_docs/cc/class/tensorflow/client-session#classtensorflow_1_1_client_session_1ac52798100986741ff24aba4a758d8e4d

Shows how a client can connect and it seems with SessionOptions you can specify these parameters.

https://docs.rs/tensorflow/0.19.1/tensorflow/struct.SessionOptions.html

I might be trying this soon and am also unsure.

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