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

Enable delay op feature #10119

Merged
merged 1 commit into from
Apr 23, 2018
Merged

Conversation

chengduoZH
Copy link
Contributor

@chengduoZH chengduoZH commented Apr 22, 2018

Currently, the delay_ops feature is invalid.
if (ready_ops.empty() && allow_op_delay_) does not ensure the delayed op should be executed right now when we use thread pool to execute all the ready ops.

wx20180422-171812 2x

Copy link
Contributor

@panyx0718 panyx0718 left a comment

Choose a reason for hiding this comment

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

Thanks for fixing it. If necessary, you may delete delay_op feature to simplify the codes. After 5.1, we can look into the op scheduling problem systematically.

@chengduoZH chengduoZH merged commit 6c0356e into PaddlePaddle:develop Apr 23, 2018
@chengduoZH
Copy link
Contributor Author

@panyx0718 ok

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.

None yet

2 participants