{"action":"opened","number":97,"pull_request":{"url":"https://api.github.com/repos/cornellius-gp/gpytorch/pulls/97","id":177079645,"html_url":"https://github.com/cornellius-gp/gpytorch/pull/97","diff_url":"https://github.com/cornellius-gp/gpytorch/pull/97.diff","patch_url":"https://github.com/cornellius-gp/gpytorch/pull/97.patch","issue_url":"https://api.github.com/repos/cornellius-gp/gpytorch/issues/97","number":97,"state":"open","locked":false,"title":"Function factory tests work on pytorch 0.3 and 0.4","user":{"login":"gpleiss","id":824157,"avatar_url":"https://avatars0.githubusercontent.com/u/824157?v=4","gravatar_id":"","url":"https://api.github.com/users/gpleiss","html_url":"https://github.com/gpleiss","followers_url":"https://api.github.com/users/gpleiss/followers","following_url":"https://api.github.com/users/gpleiss/following{/other_user}","gists_url":"https://api.github.com/users/gpleiss/gists{/gist_id}","starred_url":"https://api.github.com/users/gpleiss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gpleiss/subscriptions","organizations_url":"https://api.github.com/users/gpleiss/orgs","repos_url":"https://api.github.com/users/gpleiss/repos","events_url":"https://api.github.com/users/gpleiss/events{/privacy}","received_events_url":"https://api.github.com/users/gpleiss/received_events","type":"User","site_admin":false},"body":"On PyTorch master (0.4-alpha), Indexing a zero-dimensional tensor does not return a numeric value anymore, but a tensor. This caused test failures with assertAlmostEqual of the kind TypeError: type Variable doesn't define __round__ method.\r\n\r\nThis PR fixes these assertion errors, so they work on stable PyTorch (0.3) and PyTorch master.","created_at":"2018-03-23T14:06:08Z","updated_at":"2018-03-23T14:06:08Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/cornellius-gp/gpytorch/pulls/97/commits","review_comments_url":"https://api.github.com/repos/cornellius-gp/gpytorch/pulls/97/comments","review_comment_url":"https://api.github.com/repos/cornellius-gp/gpytorch/pulls/comments{/number}","comments_url":"https://api.github.com/repos/cornellius-gp/gpytorch/issues/97/comments","statuses_url":"https://api.github.com/repos/cornellius-gp/gpytorch/statuses/f8773aba986656b07498eb604994cdd59123e142","head":{"label":"cornellius-gp:fix_function_factory_tests","ref":"fix_function_factory_tests","sha":"f8773aba986656b07498eb604994cdd59123e142","user":{"login":"cornellius-gp","id":36548216,"avatar_url":"https://avatars2.githubusercontent.com/u/36548216?v=4","gravatar_id":"","url":"https://api.github.com/users/cornellius-gp","html_url":"https://github.com/cornellius-gp","followers_url":"https://api.github.com/users/cornellius-gp/followers","following_url":"https://api.github.com/users/cornellius-gp/following{/other_user}","gists_url":"https://api.github.com/users/cornellius-gp/gists{/gist_id}","starred_url":"https://api.github.com/users/cornellius-gp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cornellius-gp/subscriptions","organizations_url":"https://api.github.com/users/cornellius-gp/orgs","repos_url":"https://api.github.com/users/cornellius-gp/repos","events_url":"https://api.github.com/users/cornellius-gp/events{/privacy}","received_events_url":"https://api.github.com/users/cornellius-gp/received_events","type":"Organization","site_admin":false},"repo":{"id":93868719,"name":"gpytorch","full_name":"cornellius-gp/gpytorch","owner":{"login":"cornellius-gp","id":36548216,"avatar_url":"https://avatars2.githubusercontent.com/u/36548216?v=4","gravatar_id":"","url":"https://api.github.com/users/cornellius-gp","html_url":"https://github.com/cornellius-gp","followers_url":"https://api.github.com/users/cornellius-gp/followers","following_url":"https://api.github.com/users/cornellius-gp/following{/other_user}","gists_url":"https://api.github.com/users/cornellius-gp/gists{/gist_id}","starred_url":"https://api.github.com/users/cornellius-gp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cornellius-gp/subscriptions","organizations_url":"https://api.github.com/users/cornellius-gp/orgs","repos_url":"https://api.github.com/users/cornellius-gp/repos","events_url":"https://api.github.com/users/cornellius-gp/events{/privacy}","received_events_url":"https://api.github.com/users/cornellius-gp/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/cornellius-gp/gpytorch","description":"A highly efficient and modular implementation of Gaussian Processes in PyTorch","fork":false,"url":"https://api.github.com/repos/cornellius-gp/gpytorch","forks_url":"https://api.github.com/repos/cornellius-gp/gpytorch/forks","keys_url":"https://api.github.com/repos/cornellius-gp/gpytorch/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cornellius-gp/gpytorch/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cornellius-gp/gpytorch/teams","hooks_url":"https://api.github.com/repos/cornellius-gp/gpytorch/hooks","issue_events_url":"https://api.github.com/repos/cornellius-gp/gpytorch/issues/events{/number}","events_url":"https://api.github.com/repos/cornellius-gp/gpytorch/events","assignees_url":"https://api.github.com/repos/cornellius-gp/gpytorch/assignees{/user}","branches_url":"https://api.github.com/repos/cornellius-gp/gpytorch/branches{/branch}","tags_url":"https://api.github.com/repos/cornellius-gp/gpytorch/tags","blobs_url":"https://api.github.com/repos/cornellius-gp/gpytorch/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cornellius-gp/gpytorch/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cornellius-gp/gpytorch/git/refs{/sha}","trees_url":"https://api.github.com/repos/cornellius-gp/gpytorch/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cornellius-gp/gpytorch/statuses/{sha}","languages_url":"https://api.github.com/repos/cornellius-gp/gpytorch/languages","stargazers_url":"https://api.github.com/repos/cornellius-gp/gpytorch/stargazers","contributors_url":"https://api.github.com/repos/cornellius-gp/gpytorch/contributors","subscribers_url":"https://api.github.com/repos/cornellius-gp/gpytorch/subscribers","subscription_url":"https://api.github.com/repos/cornellius-gp/gpytorch/subscription","commits_url":"https://api.github.com/repos/cornellius-gp/gpytorch/commits{/sha}","git_commits_url":"https://api.github.com/repos/cornellius-gp/gpytorch/git/commits{/sha}","comments_url":"https://api.github.com/repos/cornellius-gp/gpytorch/comments{/number}","issue_comment_url":"https://api.github.com/repos/cornellius-gp/gpytorch/issues/comments{/number}","contents_url":"https://api.github.com/repos/cornellius-gp/gpytorch/contents/{+path}","compare_url":"https://api.github.com/repos/cornellius-gp/gpytorch/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cornellius-gp/gpytorch/merges","archive_url":"https://api.github.com/repos/cornellius-gp/gpytorch/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cornellius-gp/gpytorch/downloads","issues_url":"https://api.github.com/repos/cornellius-gp/gpytorch/issues{/number}","pulls_url":"https://api.github.com/repos/cornellius-gp/gpytorch/pulls{/number}","milestones_url":"https://api.github.com/repos/cornellius-gp/gpytorch/milestones{/number}","notifications_url":"https://api.github.com/repos/cornellius-gp/gpytorch/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cornellius-gp/gpytorch/labels{/name}","releases_url":"https://api.github.com/repos/cornellius-gp/gpytorch/releases{/id}","deployments_url":"https://api.github.com/repos/cornellius-gp/gpytorch/deployments","created_at":"2017-06-09T14:48:20Z","updated_at":"2018-03-23T13:05:18Z","pushed_at":"2018-03-23T14:04:10Z","git_url":"git://github.com/cornellius-gp/gpytorch.git","ssh_url":"git@github.com:cornellius-gp/gpytorch.git","clone_url":"https://github.com/cornellius-gp/gpytorch.git","svn_url":"https://github.com/cornellius-gp/gpytorch","homepage":"","size":5214,"stargazers_count":273,"watchers_count":273,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":34,"mirror_url":null,"archived":false,"open_issues_count":8,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":34,"open_issues":8,"watchers":273,"default_branch":"master"}},"base":{"label":"cornellius-gp:master","ref":"master","sha":"1756cb5a6cead54f1f3e503f44de0d66ddba16c0","user":{"login":"cornellius-gp","id":36548216,"avatar_url":"https://avatars2.githubusercontent.com/u/36548216?v=4","gravatar_id":"","url":"https://api.github.com/users/cornellius-gp","html_url":"https://github.com/cornellius-gp","followers_url":"https://api.github.com/users/cornellius-gp/followers","following_url":"https://api.github.com/users/cornellius-gp/following{/other_user}","gists_url":"https://api.github.com/users/cornellius-gp/gists{/gist_id}","starred_url":"https://api.github.com/users/cornellius-gp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cornellius-gp/subscriptions","organizations_url":"https://api.github.com/users/cornellius-gp/orgs","repos_url":"https://api.github.com/users/cornellius-gp/repos","events_url":"https://api.github.com/users/cornellius-gp/events{/privacy}","received_events_url":"https://api.github.com/users/cornellius-gp/received_events","type":"Organization","site_admin":false},"repo":{"id":93868719,"name":"gpytorch","full_name":"cornellius-gp/gpytorch","owner":{"login":"cornellius-gp","id":36548216,"avatar_url":"https://avatars2.githubusercontent.com/u/36548216?v=4","gravatar_id":"","url":"https://api.github.com/users/cornellius-gp","html_url":"https://github.com/cornellius-gp","followers_url":"https://api.github.com/users/cornellius-gp/followers","following_url":"https://api.github.com/users/cornellius-gp/following{/other_user}","gists_url":"https://api.github.com/users/cornellius-gp/gists{/gist_id}","starred_url":"https://api.github.com/users/cornellius-gp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cornellius-gp/subscriptions","organizations_url":"https://api.github.com/users/cornellius-gp/orgs","repos_url":"https://api.github.com/users/cornellius-gp/repos","events_url":"https://api.github.com/users/cornellius-gp/events{/privacy}","received_events_url":"https://api.github.com/users/cornellius-gp/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/cornellius-gp/gpytorch","description":"A highly efficient and modular implementation of Gaussian Processes in PyTorch","fork":false,"url":"https://api.github.com/repos/cornellius-gp/gpytorch","forks_url":"https://api.github.com/repos/cornellius-gp/gpytorch/forks","keys_url":"https://api.github.com/repos/cornellius-gp/gpytorch/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cornellius-gp/gpytorch/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cornellius-gp/gpytorch/teams","hooks_url":"https://api.github.com/repos/cornellius-gp/gpytorch/hooks","issue_events_url":"https://api.github.com/repos/cornellius-gp/gpytorch/issues/events{/number}","events_url":"https://api.github.com/repos/cornellius-gp/gpytorch/events","assignees_url":"https://api.github.com/repos/cornellius-gp/gpytorch/assignees{/user}","branches_url":"https://api.github.com/repos/cornellius-gp/gpytorch/branches{/branch}","tags_url":"https://api.github.com/repos/cornellius-gp/gpytorch/tags","blobs_url":"https://api.github.com/repos/cornellius-gp/gpytorch/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cornellius-gp/gpytorch/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cornellius-gp/gpytorch/git/refs{/sha}","trees_url":"https://api.github.com/repos/cornellius-gp/gpytorch/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cornellius-gp/gpytorch/statuses/{sha}","languages_url":"https://api.github.com/repos/cornellius-gp/gpytorch/languages","stargazers_url":"https://api.github.com/repos/cornellius-gp/gpytorch/stargazers","contributors_url":"https://api.github.com/repos/cornellius-gp/gpytorch/contributors","subscribers_url":"https://api.github.com/repos/cornellius-gp/gpytorch/subscribers","subscription_url":"https://api.github.com/repos/cornellius-gp/gpytorch/subscription","commits_url":"https://api.github.com/repos/cornellius-gp/gpytorch/commits{/sha}","git_commits_url":"https://api.github.com/repos/cornellius-gp/gpytorch/git/commits{/sha}","comments_url":"https://api.github.com/repos/cornellius-gp/gpytorch/comments{/number}","issue_comment_url":"https://api.github.com/repos/cornellius-gp/gpytorch/issues/comments{/number}","contents_url":"https://api.github.com/repos/cornellius-gp/gpytorch/contents/{+path}","compare_url":"https://api.github.com/repos/cornellius-gp/gpytorch/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cornellius-gp/gpytorch/merges","archive_url":"https://api.github.com/repos/cornellius-gp/gpytorch/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cornellius-gp/gpytorch/downloads","issues_url":"https://api.github.com/repos/cornellius-gp/gpytorch/issues{/number}","pulls_url":"https://api.github.com/repos/cornellius-gp/gpytorch/pulls{/number}","milestones_url":"https://api.github.com/repos/cornellius-gp/gpytorch/milestones{/number}","notifications_url":"https://api.github.com/repos/cornellius-gp/gpytorch/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cornellius-gp/gpytorch/labels{/name}","releases_url":"https://api.github.com/repos/cornellius-gp/gpytorch/releases{/id}","deployments_url":"https://api.github.com/repos/cornellius-gp/gpytorch/deployments","created_at":"2017-06-09T14:48:20Z","updated_at":"2018-03-23T13:05:18Z","pushed_at":"2018-03-23T14:04:10Z","git_url":"git://github.com/cornellius-gp/gpytorch.git","ssh_url":"git@github.com:cornellius-gp/gpytorch.git","clone_url":"https://github.com/cornellius-gp/gpytorch.git","svn_url":"https://github.com/cornellius-gp/gpytorch","homepage":"","size":5214,"stargazers_count":273,"watchers_count":273,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":34,"mirror_url":null,"archived":false,"open_issues_count":8,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":34,"open_issues":8,"watchers":273,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/cornellius-gp/gpytorch/pulls/97"},"html":{"href":"https://github.com/cornellius-gp/gpytorch/pull/97"},"issue":{"href":"https://api.github.com/repos/cornellius-gp/gpytorch/issues/97"},"comments":{"href":"https://api.github.com/repos/cornellius-gp/gpytorch/issues/97/comments"},"review_comments":{"href":"https://api.github.com/repos/cornellius-gp/gpytorch/pulls/97/comments"},"review_comment":{"href":"https://api.github.com/repos/cornellius-gp/gpytorch/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/cornellius-gp/gpytorch/pulls/97/commits"},"statuses":{"href":"https://api.github.com/repos/cornellius-gp/gpytorch/statuses/f8773aba986656b07498eb604994cdd59123e142"}},"author_association":"COLLABORATOR","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":52,"deletions":20,"changed_files":1}}
{"actor":{"display_login":"gpleiss"}}