Skip to content

Conversation

@helinwang
Copy link
Contributor

@helinwang helinwang commented Jan 17, 2018

Fix: #7343

@helinwang helinwang changed the title Remote optimize Recv OP: use BlockDesc* instread of ProgramDesc proto as Attribute Jan 17, 2018
outputs={},
attrs={
"OptimizeProgram": optimize_sub_program.desc,
"OptimizeBlock": optimize_sub_program.global_block(),
Copy link
Contributor

Choose a reason for hiding this comment

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

We can merge optimize_sub_program to the pserver_program as the second block (block_id 1), then we don't need to create variables in both two of the programs.

typhoonzero
typhoonzero previously approved these changes Jan 18, 2018
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++, maybe we can update the transpiler in another PR.

Copy link
Contributor

@putcn putcn left a comment

Choose a reason for hiding this comment

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

LGTM!

@helinwang
Copy link
Contributor Author

@typhoonzero sure! I will add a followup PR. Created an issue about it: #7700

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants