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

Modify inference example to run without picklingtools (Step 1) #7262

Merged
merged 1 commit into from
Jan 8, 2018

Conversation

sidgoyal78
Copy link
Contributor

@sidgoyal78 sidgoyal78 commented Jan 6, 2018

This is basically a first step towards removing pickle altogether.

In order to run @Xreki's example from PR #7097 , we need "picklingtools" which doesn't seem to be well maintained. So this PR enables us to not use picklingtools and still run the inference example on our machines.

The 2 main things are:

As mentioned earlier, our bigger goal is to remove pickle altogether, and @kexinzhao is working on clubbing the 3 things: programDesc of inference, feed vars, and fetch vars into a unified protobuf. (Issue #7221). So this is more like a step 1, just to avoid "picklingtools".

Copy link
Contributor

@kexinzhao kexinzhao left a comment

Choose a reason for hiding this comment

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

LGTM. Thanks!

Copy link
Contributor

@Xreki Xreki left a comment

Choose a reason for hiding this comment

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

LGTM

@Xreki Xreki merged commit 12e3514 into PaddlePaddle:develop Jan 8, 2018
@Xreki Xreki added the 预测 原名Inference,包含Capi预测问题等 label Jan 8, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
预测 原名Inference,包含Capi预测问题等
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants