{"action":"created","comment":{"url":"https://api.github.com/repos/PaddlePaddle/Paddle/pulls/comments/199144386","pull_request_review_id":133207465,"id":199144386,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDE5OTE0NDM4Ng==","diff_hunk":"@@ -635,6 +635,15 @@ void OperatorWithKernel::RunImpl(const Scope& scope,\n   VLOG(3) << \"expected_kernel_key:\" << expected_kernel_key;\n \n   auto kernel_iter = kernels.find(expected_kernel_key);\n+#ifdef PADDLE_WITH_MKLDNN\n+  // workarkound for missing MKLDNN kernel when FLAGS_use_mkldnn env var is set","path":"paddle/fluid/framework/operator.cc","position":5,"original_position":5,"commit_id":"631ea1def90800fc8deec354a833437ad034afee","original_commit_id":"631ea1def90800fc8deec354a833437ad034afee","user":{"login":"luotao1","id":6836917,"node_id":"MDQ6VXNlcjY4MzY5MTc=","avatar_url":"https://avatars0.githubusercontent.com/u/6836917?v=4","gravatar_id":"","url":"https://api.github.com/users/luotao1","html_url":"https://github.com/luotao1","followers_url":"https://api.github.com/users/luotao1/followers","following_url":"https://api.github.com/users/luotao1/following{/other_user}","gists_url":"https://api.github.com/users/luotao1/gists{/gist_id}","starred_url":"https://api.github.com/users/luotao1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/luotao1/subscriptions","organizations_url":"https://api.github.com/users/luotao1/orgs","repos_url":"https://api.github.com/users/luotao1/repos","events_url":"https://api.github.com/users/luotao1/events{/privacy}","received_events_url":"https://api.github.com/users/luotao1/received_events","type":"User","site_admin":false},"body":"typo: workaround \r\n\bMaybe can fix this typo at the same time: https://github.com/PaddlePaddle/Paddle/pull/11544#pullrequestreview-131558634","created_at":"2018-06-29T12:34:53Z","updated_at":"2018-06-29T12:34:54Z","html_url":"https://github.com/PaddlePaddle/Paddle/pull/11699#discussion_r199144386","pull_request_url":"https://api.github.com/repos/PaddlePaddle/Paddle/pulls/11699","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/PaddlePaddle/Paddle/pulls/comments/199144386"},"html":{"href":"https://github.com/PaddlePaddle/Paddle/pull/11699#discussion_r199144386"},"pull_request":{"href":"https://api.github.com/repos/PaddlePaddle/Paddle/pulls/11699"}}},"pull_request":{"url":"https://api.github.com/repos/PaddlePaddle/Paddle/pulls/11699","id":197129080,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk3MTI5MDgw","html_url":"https://github.com/PaddlePaddle/Paddle/pull/11699","diff_url":"https://github.com/PaddlePaddle/Paddle/pull/11699.diff","patch_url":"https://github.com/PaddlePaddle/Paddle/pull/11699.patch","issue_url":"https://api.github.com/repos/PaddlePaddle/Paddle/issues/11699","number":11699,"state":"open","locked":false,"title":"workaround for no MKLDNN kernel","user":{"login":"pzelazko-intel","id":20774899,"node_id":"MDQ6VXNlcjIwNzc0ODk5","avatar_url":"https://avatars3.githubusercontent.com/u/20774899?v=4","gravatar_id":"","url":"https://api.github.com/users/pzelazko-intel","html_url":"https://github.com/pzelazko-intel","followers_url":"https://api.github.com/users/pzelazko-intel/followers","following_url":"https://api.github.com/users/pzelazko-intel/following{/other_user}","gists_url":"https://api.github.com/users/pzelazko-intel/gists{/gist_id}","starred_url":"https://api.github.com/users/pzelazko-intel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pzelazko-intel/subscriptions","organizations_url":"https://api.github.com/users/pzelazko-intel/orgs","repos_url":"https://api.github.com/users/pzelazko-intel/repos","events_url":"https://api.github.com/users/pzelazko-intel/events{/privacy}","received_events_url":"https://api.github.com/users/pzelazko-intel/received_events","type":"User","site_admin":false},"body":"Problem:\r\nWhen we set environment variable `FLAGS_use_mkldnn` to true, there is an exception thrown, telling that there is no MKLDNN kernel for e.g. sigmoid activation OP. It happens this way, because all activation functions have one GetExpectedKernel method and only few have MKLDNN implementation.\r\n\r\nWorkaround:\r\nIf no MKLDNN kernel can be found, try again with plain CPU one.\r\n\r\nCan you see better solutions for this problem?","created_at":"2018-06-25T14:20:05Z","updated_at":"2018-06-29T12:34:54Z","closed_at":null,"merged_at":null,"merge_commit_sha":"508e0b0fb7744f2bfbd20a983fe628dfc64d8902","assignee":null,"assignees":[],"requested_reviewers":[{"login":"jacquesqiao","id":3048612,"node_id":"MDQ6VXNlcjMwNDg2MTI=","avatar_url":"https://avatars0.githubusercontent.com/u/3048612?v=4","gravatar_id":"","url":"https://api.github.com/users/jacquesqiao","html_url":"https://github.com/jacquesqiao","followers_url":"https://api.github.com/users/jacquesqiao/followers","following_url":"https://api.github.com/users/jacquesqiao/following{/other_user}","gists_url":"https://api.github.com/users/jacquesqiao/gists{/gist_id}","starred_url":"https://api.github.com/users/jacquesqiao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jacquesqiao/subscriptions","organizations_url":"https://api.github.com/users/jacquesqiao/orgs","repos_url":"https://api.github.com/users/jacquesqiao/repos","events_url":"https://api.github.com/users/jacquesqiao/events{/privacy}","received_events_url":"https://api.github.com/users/jacquesqiao/received_events","type":"User","site_admin":false},{"login":"tensor-tang","id":21351065,"node_id":"MDQ6VXNlcjIxMzUxMDY1","avatar_url":"https://avatars0.githubusercontent.com/u/21351065?v=4","gravatar_id":"","url":"https://api.github.com/users/tensor-tang","html_url":"https://github.com/tensor-tang","followers_url":"https://api.github.com/users/tensor-tang/followers","following_url":"https://api.github.com/users/tensor-tang/following{/other_user}","gists_url":"https://api.github.com/users/tensor-tang/gists{/gist_id}","starred_url":"https://api.github.com/users/tensor-tang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tensor-tang/subscriptions","organizations_url":"https://api.github.com/users/tensor-tang/orgs","repos_url":"https://api.github.com/users/tensor-tang/repos","events_url":"https://api.github.com/users/tensor-tang/events{/privacy}","received_events_url":"https://api.github.com/users/tensor-tang/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[{"id":831909412,"node_id":"MDU6TGFiZWw4MzE5MDk0MTI=","url":"https://api.github.com/repos/PaddlePaddle/Paddle/labels/Intel","name":"Intel","color":"53a9d1","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/PaddlePaddle/Paddle/pulls/11699/commits","review_comments_url":"https://api.github.com/repos/PaddlePaddle/Paddle/pulls/11699/comments","review_comment_url":"https://api.github.com/repos/PaddlePaddle/Paddle/pulls/comments{/number}","comments_url":"https://api.github.com/repos/PaddlePaddle/Paddle/issues/11699/comments","statuses_url":"https://api.github.com/repos/PaddlePaddle/Paddle/statuses/631ea1def90800fc8deec354a833437ad034afee","head":{"label":"pzelazko-intel:pzelazko/workaround-for-missing-mklnn-kernels","ref":"pzelazko/workaround-for-missing-mklnn-kernels","sha":"631ea1def90800fc8deec354a833437ad034afee","user":{"login":"pzelazko-intel","id":20774899,"node_id":"MDQ6VXNlcjIwNzc0ODk5","avatar_url":"https://avatars3.githubusercontent.com/u/20774899?v=4","gravatar_id":"","url":"https://api.github.com/users/pzelazko-intel","html_url":"https://github.com/pzelazko-intel","followers_url":"https://api.github.com/users/pzelazko-intel/followers","following_url":"https://api.github.com/users/pzelazko-intel/following{/other_user}","gists_url":"https://api.github.com/users/pzelazko-intel/gists{/gist_id}","starred_url":"https://api.github.com/users/pzelazko-intel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pzelazko-intel/subscriptions","organizations_url":"https://api.github.com/users/pzelazko-intel/orgs","repos_url":"https://api.github.com/users/pzelazko-intel/repos","events_url":"https://api.github.com/users/pzelazko-intel/events{/privacy}","received_events_url":"https://api.github.com/users/pzelazko-intel/received_events","type":"User","site_admin":false},"repo":{"id":121651644,"node_id":"MDEwOlJlcG9zaXRvcnkxMjE2NTE2NDQ=","name":"Paddle","full_name":"pzelazko-intel/Paddle","owner":{"login":"pzelazko-intel","id":20774899,"node_id":"MDQ6VXNlcjIwNzc0ODk5","avatar_url":"https://avatars3.githubusercontent.com/u/20774899?v=4","gravatar_id":"","url":"https://api.github.com/users/pzelazko-intel","html_url":"https://github.com/pzelazko-intel","followers_url":"https://api.github.com/users/pzelazko-intel/followers","following_url":"https://api.github.com/users/pzelazko-intel/following{/other_user}","gists_url":"https://api.github.com/users/pzelazko-intel/gists{/gist_id}","starred_url":"https://api.github.com/users/pzelazko-intel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pzelazko-intel/subscriptions","organizations_url":"https://api.github.com/users/pzelazko-intel/orgs","repos_url":"https://api.github.com/users/pzelazko-intel/repos","events_url":"https://api.github.com/users/pzelazko-intel/events{/privacy}","received_events_url":"https://api.github.com/users/pzelazko-intel/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/pzelazko-intel/Paddle","description":"PArallel Distributed Deep LEarning","fork":true,"url":"https://api.github.com/repos/pzelazko-intel/Paddle","forks_url":"https://api.github.com/repos/pzelazko-intel/Paddle/forks","keys_url":"https://api.github.com/repos/pzelazko-intel/Paddle/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pzelazko-intel/Paddle/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pzelazko-intel/Paddle/teams","hooks_url":"https://api.github.com/repos/pzelazko-intel/Paddle/hooks","issue_events_url":"https://api.github.com/repos/pzelazko-intel/Paddle/issues/events{/number}","events_url":"https://api.github.com/repos/pzelazko-intel/Paddle/events","assignees_url":"https://api.github.com/repos/pzelazko-intel/Paddle/assignees{/user}","branches_url":"https://api.github.com/repos/pzelazko-intel/Paddle/branches{/branch}","tags_url":"https://api.github.com/repos/pzelazko-intel/Paddle/tags","blobs_url":"https://api.github.com/repos/pzelazko-intel/Paddle/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pzelazko-intel/Paddle/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pzelazko-intel/Paddle/git/refs{/sha}","trees_url":"https://api.github.com/repos/pzelazko-intel/Paddle/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pzelazko-intel/Paddle/statuses/{sha}","languages_url":"https://api.github.com/repos/pzelazko-intel/Paddle/languages","stargazers_url":"https://api.github.com/repos/pzelazko-intel/Paddle/stargazers","contributors_url":"https://api.github.com/repos/pzelazko-intel/Paddle/contributors","subscribers_url":"https://api.github.com/repos/pzelazko-intel/Paddle/subscribers","subscription_url":"https://api.github.com/repos/pzelazko-intel/Paddle/subscription","commits_url":"https://api.github.com/repos/pzelazko-intel/Paddle/commits{/sha}","git_commits_url":"https://api.github.com/repos/pzelazko-intel/Paddle/git/commits{/sha}","comments_url":"https://api.github.com/repos/pzelazko-intel/Paddle/comments{/number}","issue_comment_url":"https://api.github.com/repos/pzelazko-intel/Paddle/issues/comments{/number}","contents_url":"https://api.github.com/repos/pzelazko-intel/Paddle/contents/{+path}","compare_url":"https://api.github.com/repos/pzelazko-intel/Paddle/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pzelazko-intel/Paddle/merges","archive_url":"https://api.github.com/repos/pzelazko-intel/Paddle/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pzelazko-intel/Paddle/downloads","issues_url":"https://api.github.com/repos/pzelazko-intel/Paddle/issues{/number}","pulls_url":"https://api.github.com/repos/pzelazko-intel/Paddle/pulls{/number}","milestones_url":"https://api.github.com/repos/pzelazko-intel/Paddle/milestones{/number}","notifications_url":"https://api.github.com/repos/pzelazko-intel/Paddle/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pzelazko-intel/Paddle/labels{/name}","releases_url":"https://api.github.com/repos/pzelazko-intel/Paddle/releases{/id}","deployments_url":"https://api.github.com/repos/pzelazko-intel/Paddle/deployments","created_at":"2018-02-15T16:21:40Z","updated_at":"2018-02-15T16:21:48Z","pushed_at":"2018-06-29T09:55:54Z","git_url":"git://github.com/pzelazko-intel/Paddle.git","ssh_url":"git@github.com:pzelazko-intel/Paddle.git","clone_url":"https://github.com/pzelazko-intel/Paddle.git","svn_url":"https://github.com/pzelazko-intel/Paddle","homepage":"http://www.paddlepaddle.org/","size":108778,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"develop"}},"base":{"label":"PaddlePaddle:develop","ref":"develop","sha":"b0f98849fdc37b3c7ccb78815143db9c86a1d845","user":{"login":"PaddlePaddle","id":23534030,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIzNTM0MDMw","avatar_url":"https://avatars3.githubusercontent.com/u/23534030?v=4","gravatar_id":"","url":"https://api.github.com/users/PaddlePaddle","html_url":"https://github.com/PaddlePaddle","followers_url":"https://api.github.com/users/PaddlePaddle/followers","following_url":"https://api.github.com/users/PaddlePaddle/following{/other_user}","gists_url":"https://api.github.com/users/PaddlePaddle/gists{/gist_id}","starred_url":"https://api.github.com/users/PaddlePaddle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PaddlePaddle/subscriptions","organizations_url":"https://api.github.com/users/PaddlePaddle/orgs","repos_url":"https://api.github.com/users/PaddlePaddle/repos","events_url":"https://api.github.com/users/PaddlePaddle/events{/privacy}","received_events_url":"https://api.github.com/users/PaddlePaddle/received_events","type":"Organization","site_admin":false},"repo":{"id":65711522,"node_id":"MDEwOlJlcG9zaXRvcnk2NTcxMTUyMg==","name":"Paddle","full_name":"PaddlePaddle/Paddle","owner":{"login":"PaddlePaddle","id":23534030,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIzNTM0MDMw","avatar_url":"https://avatars3.githubusercontent.com/u/23534030?v=4","gravatar_id":"","url":"https://api.github.com/users/PaddlePaddle","html_url":"https://github.com/PaddlePaddle","followers_url":"https://api.github.com/users/PaddlePaddle/followers","following_url":"https://api.github.com/users/PaddlePaddle/following{/other_user}","gists_url":"https://api.github.com/users/PaddlePaddle/gists{/gist_id}","starred_url":"https://api.github.com/users/PaddlePaddle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PaddlePaddle/subscriptions","organizations_url":"https://api.github.com/users/PaddlePaddle/orgs","repos_url":"https://api.github.com/users/PaddlePaddle/repos","events_url":"https://api.github.com/users/PaddlePaddle/events{/privacy}","received_events_url":"https://api.github.com/users/PaddlePaddle/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/PaddlePaddle/Paddle","description":"PArallel Distributed Deep LEarning","fork":false,"url":"https://api.github.com/repos/PaddlePaddle/Paddle","forks_url":"https://api.github.com/repos/PaddlePaddle/Paddle/forks","keys_url":"https://api.github.com/repos/PaddlePaddle/Paddle/keys{/key_id}","collaborators_url":"https://api.github.com/repos/PaddlePaddle/Paddle/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/PaddlePaddle/Paddle/teams","hooks_url":"https://api.github.com/repos/PaddlePaddle/Paddle/hooks","issue_events_url":"https://api.github.com/repos/PaddlePaddle/Paddle/issues/events{/number}","events_url":"https://api.github.com/repos/PaddlePaddle/Paddle/events","assignees_url":"https://api.github.com/repos/PaddlePaddle/Paddle/assignees{/user}","branches_url":"https://api.github.com/repos/PaddlePaddle/Paddle/branches{/branch}","tags_url":"https://api.github.com/repos/PaddlePaddle/Paddle/tags","blobs_url":"https://api.github.com/repos/PaddlePaddle/Paddle/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/PaddlePaddle/Paddle/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/PaddlePaddle/Paddle/git/refs{/sha}","trees_url":"https://api.github.com/repos/PaddlePaddle/Paddle/git/trees{/sha}","statuses_url":"https://api.github.com/repos/PaddlePaddle/Paddle/statuses/{sha}","languages_url":"https://api.github.com/repos/PaddlePaddle/Paddle/languages","stargazers_url":"https://api.github.com/repos/PaddlePaddle/Paddle/stargazers","contributors_url":"https://api.github.com/repos/PaddlePaddle/Paddle/contributors","subscribers_url":"https://api.github.com/repos/PaddlePaddle/Paddle/subscribers","subscription_url":"https://api.github.com/repos/PaddlePaddle/Paddle/subscription","commits_url":"https://api.github.com/repos/PaddlePaddle/Paddle/commits{/sha}","git_commits_url":"https://api.github.com/repos/PaddlePaddle/Paddle/git/commits{/sha}","comments_url":"https://api.github.com/repos/PaddlePaddle/Paddle/comments{/number}","issue_comment_url":"https://api.github.com/repos/PaddlePaddle/Paddle/issues/comments{/number}","contents_url":"https://api.github.com/repos/PaddlePaddle/Paddle/contents/{+path}","compare_url":"https://api.github.com/repos/PaddlePaddle/Paddle/compare/{base}...{head}","merges_url":"https://api.github.com/repos/PaddlePaddle/Paddle/merges","archive_url":"https://api.github.com/repos/PaddlePaddle/Paddle/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/PaddlePaddle/Paddle/downloads","issues_url":"https://api.github.com/repos/PaddlePaddle/Paddle/issues{/number}","pulls_url":"https://api.github.com/repos/PaddlePaddle/Paddle/pulls{/number}","milestones_url":"https://api.github.com/repos/PaddlePaddle/Paddle/milestones{/number}","notifications_url":"https://api.github.com/repos/PaddlePaddle/Paddle/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/PaddlePaddle/Paddle/labels{/name}","releases_url":"https://api.github.com/repos/PaddlePaddle/Paddle/releases{/id}","deployments_url":"https://api.github.com/repos/PaddlePaddle/Paddle/deployments","created_at":"2016-08-15T06:59:08Z","updated_at":"2018-06-29T11:53:27Z","pushed_at":"2018-06-29T12:19:13Z","git_url":"git://github.com/PaddlePaddle/Paddle.git","ssh_url":"git@github.com:PaddlePaddle/Paddle.git","clone_url":"https://github.com/PaddlePaddle/Paddle.git","svn_url":"https://github.com/PaddlePaddle/Paddle","homepage":"http://www.paddlepaddle.org/","size":110221,"stargazers_count":7136,"watchers_count":7136,"language":"C++","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":1954,"mirror_url":null,"archived":false,"open_issues_count":1339,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":1954,"open_issues":1339,"watchers":7136,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/PaddlePaddle/Paddle/pulls/11699"},"html":{"href":"https://github.com/PaddlePaddle/Paddle/pull/11699"},"issue":{"href":"https://api.github.com/repos/PaddlePaddle/Paddle/issues/11699"},"comments":{"href":"https://api.github.com/repos/PaddlePaddle/Paddle/issues/11699/comments"},"review_comments":{"href":"https://api.github.com/repos/PaddlePaddle/Paddle/pulls/11699/comments"},"review_comment":{"href":"https://api.github.com/repos/PaddlePaddle/Paddle/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/PaddlePaddle/Paddle/pulls/11699/commits"},"statuses":{"href":"https://api.github.com/repos/PaddlePaddle/Paddle/statuses/631ea1def90800fc8deec354a833437ad034afee"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"luotao1"}}