You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 9, 2024. It is now read-only.
Repository navigation
This repository was archived by the owner on Dec 9, 2024. It is now read-only.
@suiyuan2009 I am asking the team about this problem.
Edit: It looks like Reed is looking at it and responded to the post in tensorflow/tensorflow. Keeping this one assigned to me so you can ping me if things get stale.
We should probably only increment global_step as chief. That way there will be no performance impact from locking, and it makes more sense IMO for the global_step to increment once per step.
@zheng-xq what do you think? Also, can this problem cause deadlock, or would it just occasionally cause global_step to not be incremented as much as it shoud?
@suiyuan2009 can you give the exact command line arguments you used on each worker and PS to run tf_cnn_benchmarks?
Activity
[-]global_step need to be protected by a lock?[/-][+]global_step should be protected by a lock?[/+]tfboyd commentedon Jul 25, 2017
@suiyuan2009 I am asking the team about this problem.
Edit: It looks like Reed is looking at it and responded to the post in tensorflow/tensorflow. Keeping this one assigned to me so you can ping me if things get stale.
suiyuan2009 commentedon Jul 25, 2017
In my understanding, there is just one update op put on ps device, and each step every worker will call this op after finishing dependence ops.
I'm sorry I clicked
closebutton because there was some water on my touchpad...reedwm commentedon Jul 25, 2017
We should probably only increment global_step as chief. That way there will be no performance impact from locking, and it makes more sense IMO for the global_step to increment once per step.
@zheng-xq what do you think? Also, can this problem cause deadlock, or would it just occasionally cause global_step to not be incremented as much as it shoud?
@suiyuan2009 can you give the exact command line arguments you used on each worker and PS to run tf_cnn_benchmarks?
suiyuan2009 commentedon Jul 26, 2017
I lost job history, it happens when there are many workers, command is like this.
ps
worker
Merge pull request tensorflow#38 from tensorflow/internal-to-github-sync