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

Profiler can get elapsed time of sendop #9345

Merged
merged 7 commits into from
Mar 24, 2018

Conversation

gongweibao
Copy link
Contributor

@gongweibao gongweibao commented Mar 24, 2018

Fix #9344

It's a temp resolution about #9052.

@gongweibao gongweibao requested a review from kuke March 24, 2018 02:35
@gongweibao gongweibao changed the title Fixsendrecv Profiler can get elapsed time of sendop Mar 24, 2018
Copy link
Contributor

@kuke kuke left a comment

Choose a reason for hiding this comment

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

LGTM

@kuke
Copy link
Contributor

kuke commented Mar 24, 2018

I guess you need to add the dependency to the cmake list file to pass CI

op_library(cond_op DEPS framework_proto tensor net_op)
op_library(cross_entropy_op DEPS cross_entropy)
op_library(softmax_with_cross_entropy_op DEPS cross_entropy softmax)
op_library(softmax_op DEPS softmax)
op_library(sequence_softmax_op DEPS softmax)
op_library(sum_op DEPS selected_rows_functor)
op_library(sgd_op DEPS selected_rows_functor)
op_library(print_op DEPS lod_tensor)
op_library(adagrad_op DEPS selected_rows_functor)
op_library(maxout_op DEPS maxouting)

Try to append this line:

op_library(send_op DEPS profiler)

@gongweibao gongweibao merged commit cffe1a9 into PaddlePaddle:develop Mar 24, 2018
@gongweibao gongweibao deleted the fixsendrecv branch March 24, 2018 14:55
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