Skip to content

Conversation

reyoung
Copy link
Collaborator

@reyoung reyoung commented Jul 4, 2017

The implementation of BarrierStat is buggy, and it is not necessary
for Paddle to diagnose which node in cluster is slow.

The implementation of BarrierStat is buggy, and it is not necessary
for Paddle to diagnose which node in cluster is slow.
"pushRecv", timeToMicroSecond(*handleRequestBegin_), -1, *statSet_);
}

#ifndef PADDLE_DISABLE_TIMER
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should also remove the cmake flag WITH_TIMER

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

WITH_TIMER is not totally removed. It is used to calculate execution time for each layer and whole neural network in trainer side.

This PR only removes the BarrierStats, that used in PServer

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I see.

isSparseServer_ ? "_sparseUpdater" : "_denseUpdater");
}

{
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should not remove this {

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a diff display error. That { is in line 384/368

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Got it

Copy link
Contributor

@typhoonzero typhoonzero left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM++ will test on cluster later.

@reyoung reyoung merged commit 9837896 into PaddlePaddle:develop Jul 5, 2017
@reyoung reyoung deleted the feature/remove_buggy_barrier_stats branch July 13, 2017 11:38
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

Successfully merging this pull request may close these issues.

2 participants