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

Monitor Bandwidth Utilization of Nodes While Training #548

Open
orwa-te opened this issue Feb 5, 2021 · 2 comments
Open

Monitor Bandwidth Utilization of Nodes While Training #548

orwa-te opened this issue Feb 5, 2021 · 2 comments

Comments

@orwa-te
Copy link

orwa-te commented Feb 5, 2021

Environment:

  • Python version [3.7.7]
  • Spark version [3.0.1]
  • TensorFlow version [2.3.0]
  • TensorFlowOnSpark version [2.2.1]
  • Cluster version [Standalone]

Question:
Is there a way to monitor the network utilization of nodes while communicating with each other to transfer the gradients in order to update the model? I want to measure the size of data sent from one node to another one for a single batch and all batches. I think that Tensorboard does not support such a feature

Spark Submit Command Line:
spark-submit --master spark://master:7077 train_file.py --cluster_size 3 --epochs 10

@leewyang
Copy link
Contributor

leewyang commented Feb 9, 2021

@orwa-te I'm not aware of anything within tensorflow which monitors cross-node traffic.

@orwa-te
Copy link
Author

orwa-te commented Mar 23, 2021

If I only need to know the exact data size of the buffer passed to AllReduce operation in Ring-AllReduce, where should I set a print log inside my code? More specifically, the amount(size) of data that is being sent from one node to another for the aggregation process after the gradients of one batch are computed?

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