{"action":"closed","number":1731,"pull_request":{"url":"https://api.github.com/repos/BVLC/caffe/pulls/1731","id":27410524,"html_url":"https://github.com/BVLC/caffe/pull/1731","diff_url":"https://github.com/BVLC/caffe/pull/1731.diff","patch_url":"https://github.com/BVLC/caffe/pull/1731.patch","issue_url":"https://api.github.com/repos/BVLC/caffe/issues/1731","number":1731,"state":"closed","locked":false,"title":"cuDNN R2","user":{"login":"shelhamer","id":311113,"avatar_url":"https://avatars.githubusercontent.com/u/311113?v=3","gravatar_id":"","url":"https://api.github.com/users/shelhamer","html_url":"https://github.com/shelhamer","followers_url":"https://api.github.com/users/shelhamer/followers","following_url":"https://api.github.com/users/shelhamer/following{/other_user}","gists_url":"https://api.github.com/users/shelhamer/gists{/gist_id}","starred_url":"https://api.github.com/users/shelhamer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shelhamer/subscriptions","organizations_url":"https://api.github.com/users/shelhamer/orgs","repos_url":"https://api.github.com/users/shelhamer/repos","events_url":"https://api.github.com/users/shelhamer/events{/privacy}","received_events_url":"https://api.github.com/users/shelhamer/received_events","type":"User","site_admin":false},"body":"**See #1854 for the initial cuDNN R2 compatible branch by @slayton58.**\r\n\r\nAlthough cuDNN R2 is still experimental it is in the release candidate stage of development, so this PR will ready Caffe for R2. This should not be made the default until R2 is done or we add version switching for compatibility.\r\n\r\nNote that R2 brings OS X support.\r\n\r\nCompatibility\r\n- [x] create general tensor, but set 4D tensor\r\n- [x] set conv 2D descriptors\r\n- [x] set pooling 2D descriptors\r\n- [x] replace accumulation flags with alpha, beta scaling\r\n- [x] let pooling have padding\r\n- [x] pick fastest by default\r\n- [ ] pick algorithm in `Reshape()` instead of `Forward()`\r\n- [ ] expose choice of the forward convolutional algorithm / preference\r\n\r\nPerhaps\r\n- keep R1 compatibility `#if CUDNN_VERSION < 20` ?\r\n- switch to the N-D interface in coordination with #1486 \r\n- 3D convolution","created_at":"2015-01-15T07:30:16Z","updated_at":"2015-03-05T03:44:08Z","closed_at":"2015-03-05T03:44:08Z","merged_at":null,"merge_commit_sha":"5dc1c19798ddb3caa62956b4b01180de08082d85","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/BVLC/caffe/pulls/1731/commits","review_comments_url":"https://api.github.com/repos/BVLC/caffe/pulls/1731/comments","review_comment_url":"https://api.github.com/repos/BVLC/caffe/pulls/comments{/number}","comments_url":"https://api.github.com/repos/BVLC/caffe/issues/1731/comments","statuses_url":"https://api.github.com/repos/BVLC/caffe/statuses/4beebccf31d7181515b0bc32ca2a6ab40c9dc84a","head":{"label":"shelhamer:cudnn-r2","ref":"cudnn-r2","sha":"4beebccf31d7181515b0bc32ca2a6ab40c9dc84a","user":{"login":"shelhamer","id":311113,"avatar_url":"https://avatars.githubusercontent.com/u/311113?v=3","gravatar_id":"","url":"https://api.github.com/users/shelhamer","html_url":"https://github.com/shelhamer","followers_url":"https://api.github.com/users/shelhamer/followers","following_url":"https://api.github.com/users/shelhamer/following{/other_user}","gists_url":"https://api.github.com/users/shelhamer/gists{/gist_id}","starred_url":"https://api.github.com/users/shelhamer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shelhamer/subscriptions","organizations_url":"https://api.github.com/users/shelhamer/orgs","repos_url":"https://api.github.com/users/shelhamer/repos","events_url":"https://api.github.com/users/shelhamer/events{/privacy}","received_events_url":"https://api.github.com/users/shelhamer/received_events","type":"User","site_admin":false},"repo":{"id":14997441,"name":"caffe","full_name":"shelhamer/caffe","owner":{"login":"shelhamer","id":311113,"avatar_url":"https://avatars.githubusercontent.com/u/311113?v=3","gravatar_id":"","url":"https://api.github.com/users/shelhamer","html_url":"https://github.com/shelhamer","followers_url":"https://api.github.com/users/shelhamer/followers","following_url":"https://api.github.com/users/shelhamer/following{/other_user}","gists_url":"https://api.github.com/users/shelhamer/gists{/gist_id}","starred_url":"https://api.github.com/users/shelhamer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shelhamer/subscriptions","organizations_url":"https://api.github.com/users/shelhamer/orgs","repos_url":"https://api.github.com/users/shelhamer/repos","events_url":"https://api.github.com/users/shelhamer/events{/privacy}","received_events_url":"https://api.github.com/users/shelhamer/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/shelhamer/caffe","description":"Caffe","fork":true,"url":"https://api.github.com/repos/shelhamer/caffe","forks_url":"https://api.github.com/repos/shelhamer/caffe/forks","keys_url":"https://api.github.com/repos/shelhamer/caffe/keys{/key_id}","collaborators_url":"https://api.github.com/repos/shelhamer/caffe/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/shelhamer/caffe/teams","hooks_url":"https://api.github.com/repos/shelhamer/caffe/hooks","issue_events_url":"https://api.github.com/repos/shelhamer/caffe/issues/events{/number}","events_url":"https://api.github.com/repos/shelhamer/caffe/events","assignees_url":"https://api.github.com/repos/shelhamer/caffe/assignees{/user}","branches_url":"https://api.github.com/repos/shelhamer/caffe/branches{/branch}","tags_url":"https://api.github.com/repos/shelhamer/caffe/tags","blobs_url":"https://api.github.com/repos/shelhamer/caffe/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/shelhamer/caffe/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/shelhamer/caffe/git/refs{/sha}","trees_url":"https://api.github.com/repos/shelhamer/caffe/git/trees{/sha}","statuses_url":"https://api.github.com/repos/shelhamer/caffe/statuses/{sha}","languages_url":"https://api.github.com/repos/shelhamer/caffe/languages","stargazers_url":"https://api.github.com/repos/shelhamer/caffe/stargazers","contributors_url":"https://api.github.com/repos/shelhamer/caffe/contributors","subscribers_url":"https://api.github.com/repos/shelhamer/caffe/subscribers","subscription_url":"https://api.github.com/repos/shelhamer/caffe/subscription","commits_url":"https://api.github.com/repos/shelhamer/caffe/commits{/sha}","git_commits_url":"https://api.github.com/repos/shelhamer/caffe/git/commits{/sha}","comments_url":"https://api.github.com/repos/shelhamer/caffe/comments{/number}","issue_comment_url":"https://api.github.com/repos/shelhamer/caffe/issues/comments{/number}","contents_url":"https://api.github.com/repos/shelhamer/caffe/contents/{+path}","compare_url":"https://api.github.com/repos/shelhamer/caffe/compare/{base}...{head}","merges_url":"https://api.github.com/repos/shelhamer/caffe/merges","archive_url":"https://api.github.com/repos/shelhamer/caffe/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/shelhamer/caffe/downloads","issues_url":"https://api.github.com/repos/shelhamer/caffe/issues{/number}","pulls_url":"https://api.github.com/repos/shelhamer/caffe/pulls{/number}","milestones_url":"https://api.github.com/repos/shelhamer/caffe/milestones{/number}","notifications_url":"https://api.github.com/repos/shelhamer/caffe/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/shelhamer/caffe/labels{/name}","releases_url":"https://api.github.com/repos/shelhamer/caffe/releases{/id}","created_at":"2013-12-07T00:59:37Z","updated_at":"2015-03-05T03:40:52Z","pushed_at":"2015-03-05T03:41:37Z","git_url":"git://github.com/shelhamer/caffe.git","ssh_url":"git@github.com:shelhamer/caffe.git","clone_url":"https://github.com/shelhamer/caffe.git","svn_url":"https://github.com/shelhamer/caffe","homepage":"caffe.berkeleyvision.org","size":31541,"stargazers_count":1,"watchers_count":1,"language":"C++","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":2,"mirror_url":null,"open_issues_count":0,"forks":2,"open_issues":0,"watchers":1,"default_branch":"master"}},"base":{"label":"BVLC:dev","ref":"dev","sha":"68870bd5c03e04fef4fc2e2a0112e64d22c0ede4","user":{"login":"BVLC","id":6182163,"avatar_url":"https://avatars.githubusercontent.com/u/6182163?v=3","gravatar_id":"","url":"https://api.github.com/users/BVLC","html_url":"https://github.com/BVLC","followers_url":"https://api.github.com/users/BVLC/followers","following_url":"https://api.github.com/users/BVLC/following{/other_user}","gists_url":"https://api.github.com/users/BVLC/gists{/gist_id}","starred_url":"https://api.github.com/users/BVLC/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BVLC/subscriptions","organizations_url":"https://api.github.com/users/BVLC/orgs","repos_url":"https://api.github.com/users/BVLC/repos","events_url":"https://api.github.com/users/BVLC/events{/privacy}","received_events_url":"https://api.github.com/users/BVLC/received_events","type":"Organization","site_admin":false},"repo":{"id":12791642,"name":"caffe","full_name":"BVLC/caffe","owner":{"login":"BVLC","id":6182163,"avatar_url":"https://avatars.githubusercontent.com/u/6182163?v=3","gravatar_id":"","url":"https://api.github.com/users/BVLC","html_url":"https://github.com/BVLC","followers_url":"https://api.github.com/users/BVLC/followers","following_url":"https://api.github.com/users/BVLC/following{/other_user}","gists_url":"https://api.github.com/users/BVLC/gists{/gist_id}","starred_url":"https://api.github.com/users/BVLC/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BVLC/subscriptions","organizations_url":"https://api.github.com/users/BVLC/orgs","repos_url":"https://api.github.com/users/BVLC/repos","events_url":"https://api.github.com/users/BVLC/events{/privacy}","received_events_url":"https://api.github.com/users/BVLC/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/BVLC/caffe","description":"Caffe: a fast open framework for deep learning.","fork":false,"url":"https://api.github.com/repos/BVLC/caffe","forks_url":"https://api.github.com/repos/BVLC/caffe/forks","keys_url":"https://api.github.com/repos/BVLC/caffe/keys{/key_id}","collaborators_url":"https://api.github.com/repos/BVLC/caffe/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/BVLC/caffe/teams","hooks_url":"https://api.github.com/repos/BVLC/caffe/hooks","issue_events_url":"https://api.github.com/repos/BVLC/caffe/issues/events{/number}","events_url":"https://api.github.com/repos/BVLC/caffe/events","assignees_url":"https://api.github.com/repos/BVLC/caffe/assignees{/user}","branches_url":"https://api.github.com/repos/BVLC/caffe/branches{/branch}","tags_url":"https://api.github.com/repos/BVLC/caffe/tags","blobs_url":"https://api.github.com/repos/BVLC/caffe/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/BVLC/caffe/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/BVLC/caffe/git/refs{/sha}","trees_url":"https://api.github.com/repos/BVLC/caffe/git/trees{/sha}","statuses_url":"https://api.github.com/repos/BVLC/caffe/statuses/{sha}","languages_url":"https://api.github.com/repos/BVLC/caffe/languages","stargazers_url":"https://api.github.com/repos/BVLC/caffe/stargazers","contributors_url":"https://api.github.com/repos/BVLC/caffe/contributors","subscribers_url":"https://api.github.com/repos/BVLC/caffe/subscribers","subscription_url":"https://api.github.com/repos/BVLC/caffe/subscription","commits_url":"https://api.github.com/repos/BVLC/caffe/commits{/sha}","git_commits_url":"https://api.github.com/repos/BVLC/caffe/git/commits{/sha}","comments_url":"https://api.github.com/repos/BVLC/caffe/comments{/number}","issue_comment_url":"https://api.github.com/repos/BVLC/caffe/issues/comments{/number}","contents_url":"https://api.github.com/repos/BVLC/caffe/contents/{+path}","compare_url":"https://api.github.com/repos/BVLC/caffe/compare/{base}...{head}","merges_url":"https://api.github.com/repos/BVLC/caffe/merges","archive_url":"https://api.github.com/repos/BVLC/caffe/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/BVLC/caffe/downloads","issues_url":"https://api.github.com/repos/BVLC/caffe/issues{/number}","pulls_url":"https://api.github.com/repos/BVLC/caffe/pulls{/number}","milestones_url":"https://api.github.com/repos/BVLC/caffe/milestones{/number}","notifications_url":"https://api.github.com/repos/BVLC/caffe/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/BVLC/caffe/labels{/name}","releases_url":"https://api.github.com/repos/BVLC/caffe/releases{/id}","created_at":"2013-09-12T18:39:48Z","updated_at":"2015-03-05T01:14:27Z","pushed_at":"2015-03-05T01:14:25Z","git_url":"git://github.com/BVLC/caffe.git","ssh_url":"git@github.com:BVLC/caffe.git","clone_url":"https://github.com/BVLC/caffe.git","svn_url":"https://github.com/BVLC/caffe","homepage":"http://caffe.berkeleyvision.org/","size":49751,"stargazers_count":2588,"watchers_count":2588,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":1450,"mirror_url":null,"open_issues_count":277,"forks":1450,"open_issues":277,"watchers":2588,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/BVLC/caffe/pulls/1731"},"html":{"href":"https://github.com/BVLC/caffe/pull/1731"},"issue":{"href":"https://api.github.com/repos/BVLC/caffe/issues/1731"},"comments":{"href":"https://api.github.com/repos/BVLC/caffe/issues/1731/comments"},"review_comments":{"href":"https://api.github.com/repos/BVLC/caffe/pulls/1731/comments"},"review_comment":{"href":"https://api.github.com/repos/BVLC/caffe/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/BVLC/caffe/pulls/1731/commits"},"statuses":{"href":"https://api.github.com/repos/BVLC/caffe/statuses/4beebccf31d7181515b0bc32ca2a6ab40c9dc84a"}},"merged":false,"mergeable":true,"mergeable_state":"unstable","merged_by":null,"comments":0,"review_comments":0,"commits":83,"additions":1233,"deletions":791,"changed_files":79}}