Skip to content

Conversation

Yancey0623
Copy link
Contributor

Fixed #10625

@Yancey0623 Yancey0623 requested a review from Xreki May 14, 2018 07:35
@Yancey0623 Yancey0623 requested a review from typhoonzero May 15, 2018 04:47
void Executor::RunPreparedContext(ExecutorPrepareContext* ctx, Scope* scope,
bool create_local_scope, bool create_vars) {
bool create_local_scope, bool create_vars,
bool drop_scope_kids) {
Copy link
Contributor

Choose a reason for hiding this comment

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

It's not a good way to add a bool switch here. I think a better way is to let listen_and_serv_op use a child scope.

Copy link
Contributor

Choose a reason for hiding this comment

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

I'll try remove the create_vars bool in executor to see if we can solve this

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Agree with using a sub-scope in listen_and_serv_op.

@paddle-bot-old
Copy link

Since you haven't replied for a long time, we have closed this issue/pr.
If the problem is not solved or there is a follow-up one, please reopen it at any time and we will continue to follow up.
由于您长期未回复,我们将关闭这个issue/pr。
若问题未解决或有后续问题,请随时重新打开,我们会继续跟进。

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.

distribute training crashed on develop branch

2 participants