{"action":"created","comment":{"url":"https://api.github.com/repos/pytorch/pytorch/pulls/comments/287435613","pull_request_review_id":241840315,"id":287435613,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDI4NzQzNTYxMw==","diff_hunk":"@@ -2577,6 +2577,12 @@\n   dispatch:\n     CPU: per_tensor_affine_qtensor_cpu\n \n+- func: qtensor_set_storage_(Tensor(a!) self, Storage storage, int storage_offset, int[] sizes, int[] strides=[]) -> Tensor(a!)","path":"aten/src/ATen/native/native_functions.yaml","position":4,"original_position":4,"commit_id":"e4a179b7350d28597b6e6138c7f2a715071206a5","original_commit_id":"e4a179b7350d28597b6e6138c7f2a715071206a5","user":{"login":"jerryzh168","id":4958441,"node_id":"MDQ6VXNlcjQ5NTg0NDE=","avatar_url":"https://avatars0.githubusercontent.com/u/4958441?v=4","gravatar_id":"","url":"https://api.github.com/users/jerryzh168","html_url":"https://github.com/jerryzh168","followers_url":"https://api.github.com/users/jerryzh168/followers","following_url":"https://api.github.com/users/jerryzh168/following{/other_user}","gists_url":"https://api.github.com/users/jerryzh168/gists{/gist_id}","starred_url":"https://api.github.com/users/jerryzh168/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jerryzh168/subscriptions","organizations_url":"https://api.github.com/users/jerryzh168/orgs","repos_url":"https://api.github.com/users/jerryzh168/repos","events_url":"https://api.github.com/users/jerryzh168/events{/privacy}","received_events_url":"https://api.github.com/users/jerryzh168/received_events","type":"User","site_admin":false},"body":"I got `RuntimeError: _th_set_ is not implemented for type QuantizedCPUType` when I use `set_1`, \r\nI think we'll need to turn on TH legacy code generation for QuantizedCPUType in that case, we probably don't need most of the TH legacy code, so maybe a explicit set would be better? or maybe we should remove TH codegen for set_?","created_at":"2019-05-24T16:38:34Z","updated_at":"2019-05-24T16:38:35Z","html_url":"https://github.com/pytorch/pytorch/pull/20830#discussion_r287435613","pull_request_url":"https://api.github.com/repos/pytorch/pytorch/pulls/20830","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/pytorch/pytorch/pulls/comments/287435613"},"html":{"href":"https://github.com/pytorch/pytorch/pull/20830#discussion_r287435613"},"pull_request":{"href":"https://api.github.com/repos/pytorch/pytorch/pulls/20830"}},"in_reply_to_id":287181390},"pull_request":{"url":"https://api.github.com/repos/pytorch/pytorch/pulls/20830","id":281396432,"node_id":"MDExOlB1bGxSZXF1ZXN0MjgxMzk2NDMy","html_url":"https://github.com/pytorch/pytorch/pull/20830","diff_url":"https://github.com/pytorch/pytorch/pull/20830.diff","patch_url":"https://github.com/pytorch/pytorch/pull/20830.patch","issue_url":"https://api.github.com/repos/pytorch/pytorch/issues/20830","number":20830,"state":"open","locked":false,"title":"[pt1][quant] Add torch.load/torch.save for QTensor","user":{"login":"jerryzh168","id":4958441,"node_id":"MDQ6VXNlcjQ5NTg0NDE=","avatar_url":"https://avatars0.githubusercontent.com/u/4958441?v=4","gravatar_id":"","url":"https://api.github.com/users/jerryzh168","html_url":"https://github.com/jerryzh168","followers_url":"https://api.github.com/users/jerryzh168/followers","following_url":"https://api.github.com/users/jerryzh168/following{/other_user}","gists_url":"https://api.github.com/users/jerryzh168/gists{/gist_id}","starred_url":"https://api.github.com/users/jerryzh168/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jerryzh168/subscriptions","organizations_url":"https://api.github.com/users/jerryzh168/orgs","repos_url":"https://api.github.com/users/jerryzh168/repos","events_url":"https://api.github.com/users/jerryzh168/events{/privacy}","received_events_url":"https://api.github.com/users/jerryzh168/received_events","type":"User","site_admin":false},"body":"Stack:\n&nbsp;&nbsp;&nbsp;&nbsp;:black_circle:&nbsp; **#20830 [pt1][quant] Add torch.load/torch.save for QTensor**&nbsp;&nbsp;[:yellow_heart:](https://our.internmc.facebook.com/intern/diff/D15340701/)\n\natt\n\nDifferential Revision: [D15340701](https://our.internmc.facebook.com/intern/diff/D15340701/)","created_at":"2019-05-22T23:42:57Z","updated_at":"2019-05-24T16:38:35Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7c99e16b0e2b810235eb91d4d883ead556f49906","assignee":null,"assignees":[],"requested_reviewers":[{"login":"gchanan","id":3768583,"node_id":"MDQ6VXNlcjM3Njg1ODM=","avatar_url":"https://avatars2.githubusercontent.com/u/3768583?v=4","gravatar_id":"","url":"https://api.github.com/users/gchanan","html_url":"https://github.com/gchanan","followers_url":"https://api.github.com/users/gchanan/followers","following_url":"https://api.github.com/users/gchanan/following{/other_user}","gists_url":"https://api.github.com/users/gchanan/gists{/gist_id}","starred_url":"https://api.github.com/users/gchanan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gchanan/subscriptions","organizations_url":"https://api.github.com/users/gchanan/orgs","repos_url":"https://api.github.com/users/gchanan/repos","events_url":"https://api.github.com/users/gchanan/events{/privacy}","received_events_url":"https://api.github.com/users/gchanan/received_events","type":"User","site_admin":false},{"login":"li-roy","id":8813817,"node_id":"MDQ6VXNlcjg4MTM4MTc=","avatar_url":"https://avatars0.githubusercontent.com/u/8813817?v=4","gravatar_id":"","url":"https://api.github.com/users/li-roy","html_url":"https://github.com/li-roy","followers_url":"https://api.github.com/users/li-roy/followers","following_url":"https://api.github.com/users/li-roy/following{/other_user}","gists_url":"https://api.github.com/users/li-roy/gists{/gist_id}","starred_url":"https://api.github.com/users/li-roy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/li-roy/subscriptions","organizations_url":"https://api.github.com/users/li-roy/orgs","repos_url":"https://api.github.com/users/li-roy/repos","events_url":"https://api.github.com/users/li-roy/events{/privacy}","received_events_url":"https://api.github.com/users/li-roy/received_events","type":"User","site_admin":false},{"login":"driazati","id":9407960,"node_id":"MDQ6VXNlcjk0MDc5NjA=","avatar_url":"https://avatars3.githubusercontent.com/u/9407960?v=4","gravatar_id":"","url":"https://api.github.com/users/driazati","html_url":"https://github.com/driazati","followers_url":"https://api.github.com/users/driazati/followers","following_url":"https://api.github.com/users/driazati/following{/other_user}","gists_url":"https://api.github.com/users/driazati/gists{/gist_id}","starred_url":"https://api.github.com/users/driazati/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/driazati/subscriptions","organizations_url":"https://api.github.com/users/driazati/orgs","repos_url":"https://api.github.com/users/driazati/repos","events_url":"https://api.github.com/users/driazati/events{/privacy}","received_events_url":"https://api.github.com/users/driazati/received_events","type":"User","site_admin":false},{"login":"houseroad","id":30275821,"node_id":"MDQ6VXNlcjMwMjc1ODIx","avatar_url":"https://avatars0.githubusercontent.com/u/30275821?v=4","gravatar_id":"","url":"https://api.github.com/users/houseroad","html_url":"https://github.com/houseroad","followers_url":"https://api.github.com/users/houseroad/followers","following_url":"https://api.github.com/users/houseroad/following{/other_user}","gists_url":"https://api.github.com/users/houseroad/gists{/gist_id}","starred_url":"https://api.github.com/users/houseroad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houseroad/subscriptions","organizations_url":"https://api.github.com/users/houseroad/orgs","repos_url":"https://api.github.com/users/houseroad/repos","events_url":"https://api.github.com/users/houseroad/events{/privacy}","received_events_url":"https://api.github.com/users/houseroad/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[{"id":1294499454,"node_id":"MDU6TGFiZWwxMjk0NDk5NDU0","url":"https://api.github.com/repos/pytorch/pytorch/labels/module:%20cpu","name":"module: cpu","color":"f7e101","default":false},{"id":912691507,"node_id":"MDU6TGFiZWw5MTI2OTE1MDc=","url":"https://api.github.com/repos/pytorch/pytorch/labels/module:%20internals","name":"module: internals","color":"f7e101","default":false},{"id":1300889225,"node_id":"MDU6TGFiZWwxMzAwODg5MjI1","url":"https://api.github.com/repos/pytorch/pytorch/labels/module:%20operators","name":"module: operators","color":"f7e101","default":false},{"id":1031340614,"node_id":"MDU6TGFiZWwxMDMxMzQwNjE0","url":"https://api.github.com/repos/pytorch/pytorch/labels/module:%20quantization","name":"module: quantization","color":"f7e101","default":false},{"id":1300977106,"node_id":"MDU6TGFiZWwxMzAwOTc3MTA2","url":"https://api.github.com/repos/pytorch/pytorch/labels/module:%20serialization","name":"module: serialization","color":"f7e101","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/pytorch/pytorch/pulls/20830/commits","review_comments_url":"https://api.github.com/repos/pytorch/pytorch/pulls/20830/comments","review_comment_url":"https://api.github.com/repos/pytorch/pytorch/pulls/comments{/number}","comments_url":"https://api.github.com/repos/pytorch/pytorch/issues/20830/comments","statuses_url":"https://api.github.com/repos/pytorch/pytorch/statuses/e4a179b7350d28597b6e6138c7f2a715071206a5","head":{"label":"pytorch:export-D15340701","ref":"export-D15340701","sha":"e4a179b7350d28597b6e6138c7f2a715071206a5","user":{"login":"pytorch","id":21003710,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIxMDAzNzEw","avatar_url":"https://avatars3.githubusercontent.com/u/21003710?v=4","gravatar_id":"","url":"https://api.github.com/users/pytorch","html_url":"https://github.com/pytorch","followers_url":"https://api.github.com/users/pytorch/followers","following_url":"https://api.github.com/users/pytorch/following{/other_user}","gists_url":"https://api.github.com/users/pytorch/gists{/gist_id}","starred_url":"https://api.github.com/users/pytorch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pytorch/subscriptions","organizations_url":"https://api.github.com/users/pytorch/orgs","repos_url":"https://api.github.com/users/pytorch/repos","events_url":"https://api.github.com/users/pytorch/events{/privacy}","received_events_url":"https://api.github.com/users/pytorch/received_events","type":"Organization","site_admin":false},"repo":{"id":65600975,"node_id":"MDEwOlJlcG9zaXRvcnk2NTYwMDk3NQ==","name":"pytorch","full_name":"pytorch/pytorch","private":false,"owner":{"login":"pytorch","id":21003710,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIxMDAzNzEw","avatar_url":"https://avatars3.githubusercontent.com/u/21003710?v=4","gravatar_id":"","url":"https://api.github.com/users/pytorch","html_url":"https://github.com/pytorch","followers_url":"https://api.github.com/users/pytorch/followers","following_url":"https://api.github.com/users/pytorch/following{/other_user}","gists_url":"https://api.github.com/users/pytorch/gists{/gist_id}","starred_url":"https://api.github.com/users/pytorch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pytorch/subscriptions","organizations_url":"https://api.github.com/users/pytorch/orgs","repos_url":"https://api.github.com/users/pytorch/repos","events_url":"https://api.github.com/users/pytorch/events{/privacy}","received_events_url":"https://api.github.com/users/pytorch/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/pytorch/pytorch","description":"Tensors and Dynamic neural networks in Python  with strong GPU acceleration","fork":false,"url":"https://api.github.com/repos/pytorch/pytorch","forks_url":"https://api.github.com/repos/pytorch/pytorch/forks","keys_url":"https://api.github.com/repos/pytorch/pytorch/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pytorch/pytorch/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pytorch/pytorch/teams","hooks_url":"https://api.github.com/repos/pytorch/pytorch/hooks","issue_events_url":"https://api.github.com/repos/pytorch/pytorch/issues/events{/number}","events_url":"https://api.github.com/repos/pytorch/pytorch/events","assignees_url":"https://api.github.com/repos/pytorch/pytorch/assignees{/user}","branches_url":"https://api.github.com/repos/pytorch/pytorch/branches{/branch}","tags_url":"https://api.github.com/repos/pytorch/pytorch/tags","blobs_url":"https://api.github.com/repos/pytorch/pytorch/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pytorch/pytorch/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pytorch/pytorch/git/refs{/sha}","trees_url":"https://api.github.com/repos/pytorch/pytorch/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pytorch/pytorch/statuses/{sha}","languages_url":"https://api.github.com/repos/pytorch/pytorch/languages","stargazers_url":"https://api.github.com/repos/pytorch/pytorch/stargazers","contributors_url":"https://api.github.com/repos/pytorch/pytorch/contributors","subscribers_url":"https://api.github.com/repos/pytorch/pytorch/subscribers","subscription_url":"https://api.github.com/repos/pytorch/pytorch/subscription","commits_url":"https://api.github.com/repos/pytorch/pytorch/commits{/sha}","git_commits_url":"https://api.github.com/repos/pytorch/pytorch/git/commits{/sha}","comments_url":"https://api.github.com/repos/pytorch/pytorch/comments{/number}","issue_comment_url":"https://api.github.com/repos/pytorch/pytorch/issues/comments{/number}","contents_url":"https://api.github.com/repos/pytorch/pytorch/contents/{+path}","compare_url":"https://api.github.com/repos/pytorch/pytorch/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pytorch/pytorch/merges","archive_url":"https://api.github.com/repos/pytorch/pytorch/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pytorch/pytorch/downloads","issues_url":"https://api.github.com/repos/pytorch/pytorch/issues{/number}","pulls_url":"https://api.github.com/repos/pytorch/pytorch/pulls{/number}","milestones_url":"https://api.github.com/repos/pytorch/pytorch/milestones{/number}","notifications_url":"https://api.github.com/repos/pytorch/pytorch/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pytorch/pytorch/labels{/name}","releases_url":"https://api.github.com/repos/pytorch/pytorch/releases{/id}","deployments_url":"https://api.github.com/repos/pytorch/pytorch/deployments","created_at":"2016-08-13T05:26:41Z","updated_at":"2019-05-24T16:35:04Z","pushed_at":"2019-05-24T16:32:48Z","git_url":"git://github.com/pytorch/pytorch.git","ssh_url":"git@github.com:pytorch/pytorch.git","clone_url":"https://github.com/pytorch/pytorch.git","svn_url":"https://github.com/pytorch/pytorch","homepage":"https://pytorch.org","size":129198,"stargazers_count":28357,"watchers_count":28357,"language":"C++","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":6786,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":3092,"license":{"key":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":6786,"open_issues":3092,"watchers":28357,"default_branch":"master"}},"base":{"label":"pytorch:master","ref":"master","sha":"28be521e39c8985c4ba6f3badd6c3b7f71512ce3","user":{"login":"pytorch","id":21003710,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIxMDAzNzEw","avatar_url":"https://avatars3.githubusercontent.com/u/21003710?v=4","gravatar_id":"","url":"https://api.github.com/users/pytorch","html_url":"https://github.com/pytorch","followers_url":"https://api.github.com/users/pytorch/followers","following_url":"https://api.github.com/users/pytorch/following{/other_user}","gists_url":"https://api.github.com/users/pytorch/gists{/gist_id}","starred_url":"https://api.github.com/users/pytorch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pytorch/subscriptions","organizations_url":"https://api.github.com/users/pytorch/orgs","repos_url":"https://api.github.com/users/pytorch/repos","events_url":"https://api.github.com/users/pytorch/events{/privacy}","received_events_url":"https://api.github.com/users/pytorch/received_events","type":"Organization","site_admin":false},"repo":{"id":65600975,"node_id":"MDEwOlJlcG9zaXRvcnk2NTYwMDk3NQ==","name":"pytorch","full_name":"pytorch/pytorch","private":false,"owner":{"login":"pytorch","id":21003710,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIxMDAzNzEw","avatar_url":"https://avatars3.githubusercontent.com/u/21003710?v=4","gravatar_id":"","url":"https://api.github.com/users/pytorch","html_url":"https://github.com/pytorch","followers_url":"https://api.github.com/users/pytorch/followers","following_url":"https://api.github.com/users/pytorch/following{/other_user}","gists_url":"https://api.github.com/users/pytorch/gists{/gist_id}","starred_url":"https://api.github.com/users/pytorch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pytorch/subscriptions","organizations_url":"https://api.github.com/users/pytorch/orgs","repos_url":"https://api.github.com/users/pytorch/repos","events_url":"https://api.github.com/users/pytorch/events{/privacy}","received_events_url":"https://api.github.com/users/pytorch/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/pytorch/pytorch","description":"Tensors and Dynamic neural networks in Python  with strong GPU acceleration","fork":false,"url":"https://api.github.com/repos/pytorch/pytorch","forks_url":"https://api.github.com/repos/pytorch/pytorch/forks","keys_url":"https://api.github.com/repos/pytorch/pytorch/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pytorch/pytorch/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pytorch/pytorch/teams","hooks_url":"https://api.github.com/repos/pytorch/pytorch/hooks","issue_events_url":"https://api.github.com/repos/pytorch/pytorch/issues/events{/number}","events_url":"https://api.github.com/repos/pytorch/pytorch/events","assignees_url":"https://api.github.com/repos/pytorch/pytorch/assignees{/user}","branches_url":"https://api.github.com/repos/pytorch/pytorch/branches{/branch}","tags_url":"https://api.github.com/repos/pytorch/pytorch/tags","blobs_url":"https://api.github.com/repos/pytorch/pytorch/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pytorch/pytorch/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pytorch/pytorch/git/refs{/sha}","trees_url":"https://api.github.com/repos/pytorch/pytorch/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pytorch/pytorch/statuses/{sha}","languages_url":"https://api.github.com/repos/pytorch/pytorch/languages","stargazers_url":"https://api.github.com/repos/pytorch/pytorch/stargazers","contributors_url":"https://api.github.com/repos/pytorch/pytorch/contributors","subscribers_url":"https://api.github.com/repos/pytorch/pytorch/subscribers","subscription_url":"https://api.github.com/repos/pytorch/pytorch/subscription","commits_url":"https://api.github.com/repos/pytorch/pytorch/commits{/sha}","git_commits_url":"https://api.github.com/repos/pytorch/pytorch/git/commits{/sha}","comments_url":"https://api.github.com/repos/pytorch/pytorch/comments{/number}","issue_comment_url":"https://api.github.com/repos/pytorch/pytorch/issues/comments{/number}","contents_url":"https://api.github.com/repos/pytorch/pytorch/contents/{+path}","compare_url":"https://api.github.com/repos/pytorch/pytorch/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pytorch/pytorch/merges","archive_url":"https://api.github.com/repos/pytorch/pytorch/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pytorch/pytorch/downloads","issues_url":"https://api.github.com/repos/pytorch/pytorch/issues{/number}","pulls_url":"https://api.github.com/repos/pytorch/pytorch/pulls{/number}","milestones_url":"https://api.github.com/repos/pytorch/pytorch/milestones{/number}","notifications_url":"https://api.github.com/repos/pytorch/pytorch/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pytorch/pytorch/labels{/name}","releases_url":"https://api.github.com/repos/pytorch/pytorch/releases{/id}","deployments_url":"https://api.github.com/repos/pytorch/pytorch/deployments","created_at":"2016-08-13T05:26:41Z","updated_at":"2019-05-24T16:35:04Z","pushed_at":"2019-05-24T16:32:48Z","git_url":"git://github.com/pytorch/pytorch.git","ssh_url":"git@github.com:pytorch/pytorch.git","clone_url":"https://github.com/pytorch/pytorch.git","svn_url":"https://github.com/pytorch/pytorch","homepage":"https://pytorch.org","size":129198,"stargazers_count":28357,"watchers_count":28357,"language":"C++","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":6786,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":3092,"license":{"key":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":6786,"open_issues":3092,"watchers":28357,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/pytorch/pytorch/pulls/20830"},"html":{"href":"https://github.com/pytorch/pytorch/pull/20830"},"issue":{"href":"https://api.github.com/repos/pytorch/pytorch/issues/20830"},"comments":{"href":"https://api.github.com/repos/pytorch/pytorch/issues/20830/comments"},"review_comments":{"href":"https://api.github.com/repos/pytorch/pytorch/pulls/20830/comments"},"review_comment":{"href":"https://api.github.com/repos/pytorch/pytorch/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/pytorch/pytorch/pulls/20830/commits"},"statuses":{"href":"https://api.github.com/repos/pytorch/pytorch/statuses/e4a179b7350d28597b6e6138c7f2a715071206a5"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"jerryzh168"}}