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 mkldnn benchmark with googlenet #5751

Merged
merged 1 commit into from
Nov 20, 2017

Conversation

tensor-tang
Copy link
Contributor

@tensor-tang tensor-tang commented Nov 17, 2017

fix #5729

GoogLeNet的脚本可以直接使用gpu的benchmark那个。

但是用CPU跑的时候会遇到些问题,所以需要稍微改下。

  1. 把只有GPU能跑的API换为了CPU可以支持的API。

  2. CPU的concat_layer不支持bias为True,所以改为False。同时,参考的README.md中GoogLeNet的concat layer也是不带bias的。

改完之后MKLDNN也同样可以跑了。

Copy link
Contributor

@luotao1 luotao1 left a comment

Choose a reason for hiding this comment

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

LGTM

@luotao1 luotao1 merged commit 8ee5861 into PaddlePaddle:develop Nov 20, 2017
@tensor-tang tensor-tang deleted the googlenet branch November 20, 2017 06:45
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.

Use MKLDNN layers to implement GoogleNet
2 participants