payload: {"action":"created","comment":{"url":"https://api.github.com/repos/pytorch/pytorch/pulls/comments/355861327","pull_request_review_id":329610544,"id":355861327,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDM1NTg2MTMyNw==","diff_hunk":"@@ -101,55 +101,49 @@ def export_chrome_trace(self, path):\n         Arguments:\n             path (str): Path where the trace will be written.\n         \"\"\"\n-        import json\n+        import os\n         with open(path, 'w') as f:\n             chrome_events = []\n             next_id = 0\n+            f.write(\"[\")\n             for evt in self:\n-                chrome_events.append(dict(\n-                    name=evt.name,\n-                    ph='X',\n-                    ts=evt.cpu_interval.start,\n-                    dur=evt.cpu_interval.elapsed_us(),\n-                    tid=evt.thread,\n-                    pid='CPU functions',\n-                    args={},\n-                ))\n+                f.write(\"{\\\"name\\\": \\\"\" + str(evt.name) + \"\\\", \"\n+                        + \"\\\"ph\\\": \\\"X\\\", \"\n+                        + \"\\\"ts\\\": \" + str(evt.cpu_interval.start) + \", \"\n+                        + \"\\\"dur\\\": \" + str(evt.cpu_interval.elapsed_us()) + \", \"\n+                        + \"\\\"tid\\\": \" + str(evt.thread) + \", \"\n+                        + \"\\\"pid\\\": \\\"CPU functions\\\", \" + \"\\\"args\\\": {}\" + \"}, \")\n+\n                 for k in evt.kernels:\n                     # 's' and 'f' draw Flow arrows from\n                     # the CPU launch to the GPU kernel\n-                    chrome_events.append(dict(\n-                        name=evt.name,\n-                        ph='s',\n-                        ts=evt.cpu_interval.start,\n-                        tid=evt.thread,\n-                        pid='CPU functions',\n-                        id=next_id,\n-                        cat='cpu_to_cuda',\n-                        args={},\n-                    ))\n-                    chrome_events.append(dict(\n-                        name=k.name,\n-                        ph='f',\n-                        ts=k.interval.start,\n-                        tid=k.device,\n-                        pid='CUDA functions',\n-                        id=next_id,\n-                        cat='cpu_to_cuda',\n-                        args={},\n-                    ))\n-                    chrome_events.append(dict(\n-                        name=k.name,\n-                        ph='X',\n-                        ts=k.interval.start,\n-                        dur=k.interval.elapsed_us(),\n-                        tid=k.device,\n-                        pid='CUDA functions',\n-                        args={},\n-                    ))\n+                    f.write(\"{\\\"name\\\": \\\"\" + str(evt.name) + \"\\\", \"\n+                            + \"\\\"ph\\\": \\\"s\\\", \"\n+                            + \"\\\"ts\\\": \" + str(evt.cpu_interval.start) + \", \"\n+                            + \"\\\"tid\\\": \" + str(evt.thread) + \", \"\n+                            + \"\\\"pid\\\": \\\"CPU functions\\\", \"\n+                            + \"\\\"id\\\": \" + str(next_id) + \", \"\n+                            + \"\\\"cat\\\": \\\"cpu_to_cuda\\\", \"\n+                            + \"\\\"args\\\": {}\" + \"}, \")         \n+                    f.write(\"{\\\"name\\\": \\\"\" + str(k.name) + \"\\\", \"\n+                            + \"\\\"ph\\\": \\\"f\\\", \"\n+                            + \"\\\"ts\\\": \" + str(k.interval.start) + \", \"\n+                            + \"\\\"tid\\\": \" + str(k.device) + \", \"\n+                            + \"\\\"pid\\\": \\\"CUDA functions\\\", \"\n+                            + \"\\\"id\\\": \" + str(next_id) + \", \"\n+                            + \"\\\"cat\\\": \\\"cpu_to_cuda\\\", \"\n+                            + \"\\\"args\\\": {}\" + \"}, \")\n+                    f.write(\"{\\\"name\\\": \\\"\" + str(k.name) + \"\\\", \"\n+                            + \"\\\"ph\\\": \\\"X\\\", \"\n+                            + \"\\\"ts\\\": \" + str(k.interval.start) + \", \"\n+                            + \"\\\"dur\\\": \" + str(k.interval.elapsed_us()) + \", \"\n+                            + \"\\\"tid\\\": \" + str(k.device) + \", \"\n+                            + \"\\\"pid\\\": \\\"CUDA functions\\\", \"\n+                            + \"\\\"args\\\": {}\" + \"}, \")\n                     next_id += 1\n-\n-            json.dump(chrome_events, f)\n+            f.seek(f.tell()-2, os.SEEK_SET)\n+            f.write('')\n+            f.write(\"]\")","path":"torch/autograd/profiler.py","position":76,"original_position":87,"commit_id":"b7aef99de4460200a1337f533df43d9e573f5c71","original_commit_id":"3c5a6e6fae5bdb9c893e90e526966804c336497f","user":{"login":"v0dro","id":2629909,"node_id":"MDQ6VXNlcjI2Mjk5MDk=","avatar_url":"https://avatars2.githubusercontent.com/u/2629909?v=4","gravatar_id":"","url":"https://api.github.com/users/v0dro","html_url":"https://github.com/v0dro","followers_url":"https://api.github.com/users/v0dro/followers","following_url":"https://api.github.com/users/v0dro/following{/other_user}","gists_url":"https://api.github.com/users/v0dro/gists{/gist_id}","starred_url":"https://api.github.com/users/v0dro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/v0dro/subscriptions","organizations_url":"https://api.github.com/users/v0dro/orgs","repos_url":"https://api.github.com/users/v0dro/repos","events_url":"https://api.github.com/users/v0dro/events{/privacy}","received_events_url":"https://api.github.com/users/v0dro/received_events","type":"User","site_admin":false},"body":"And since `,` and ` ` are ASCII always single byte (and I'm controlling the output explicitly) I think this seeking technique should work fine.\r\n","created_at":"2019-12-10T06:25:17Z","updated_at":"2019-12-10T06:25:18Z","html_url":"https://github.com/pytorch/pytorch/pull/30724#discussion_r355861327","pull_request_url":"https://api.github.com/repos/pytorch/pytorch/pulls/30724","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/pytorch/pytorch/pulls/comments/355861327"},"html":{"href":"https://github.com/pytorch/pytorch/pull/30724#discussion_r355861327"},"pull_request":{"href":"https://api.github.com/repos/pytorch/pytorch/pulls/30724"}},"in_reply_to_id":353801984},"pull_request":{"url":"https://api.github.com/repos/pytorch/pytorch/pulls/30724","id":348855252,"node_id":"MDExOlB1bGxSZXF1ZXN0MzQ4ODU1MjUy","html_url":"https://github.com/pytorch/pytorch/pull/30724","diff_url":"https://github.com/pytorch/pytorch/pull/30724.diff","patch_url":"https://github.com/pytorch/pytorch/pull/30724.patch","issue_url":"https://api.github.com/repos/pytorch/pytorch/issues/30724","number":30724,"state":"open","locked":false,"title":"remove JSON dumping dependency","user":{"login":"v0dro","id":2629909,"node_id":"MDQ6VXNlcjI2Mjk5MDk=","avatar_url":"https://avatars2.githubusercontent.com/u/2629909?v=4","gravatar_id":"","url":"https://api.github.com/users/v0dro","html_url":"https://github.com/v0dro","followers_url":"https://api.github.com/users/v0dro/followers","following_url":"https://api.github.com/users/v0dro/following{/other_user}","gists_url":"https://api.github.com/users/v0dro/gists{/gist_id}","starred_url":"https://api.github.com/users/v0dro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/v0dro/subscriptions","organizations_url":"https://api.github.com/users/v0dro/orgs","repos_url":"https://api.github.com/users/v0dro/repos","events_url":"https://api.github.com/users/v0dro/events{/privacy}","received_events_url":"https://api.github.com/users/v0dro/received_events","type":"User","site_admin":false},"body":"Fix for https://github.com/pytorch/pytorch/issues/19420 \r\n\r\nSo after actually writing a C++ JSON dumping class I figured that\r\na faster and cleaner way would be simply rewrite the Python without\r\nthe JSON module since the JSON that we need to output is so simple.\r\n\r\nFor now I decided to not touch the `parse_cpu_trace` function since\r\nonly changing `export_chrome_trace` shows a 4x speedup.\r\n\r\nHere's the script I used for benchmarking:\r\n``` python\r\nimport time\r\nimport torch\r\n\r\nx = torch.ones(2, 2)\r\n\r\nstart = time.time()\r\nwith torch.autograd.profiler.profile() as prof: \r\n  for _ in range(10000):\r\n    x * x\r\n\r\nfor i in range(50):\r\n  prof.export_chrome_trace(\"trace.json\")\r\n\r\nstop = time.time()\r\n\r\nprint(stop-start)\r\n```\r\nmaster branch (using json dump) -> 8.07515025138855\r\nnew branch (without json dump) ->  2.0943689346313477\r\n\r\nI checked the trace file generated in the [test](https://github.com/pytorch/pytorch/blob/master/test/test_autograd.py#L2659)\r\nand it does work fine.\r\n\r\nPlease let me know what you think.\r\n\r\nIf you still insist on the C++ version I can send a new patch soon enough.\r\n\r\nCC @ezyang @rgommers ","created_at":"2019-12-04T12:10:37Z","updated_at":"2019-12-10T06:25:18Z","closed_at":null,"merged_at":null,"merge_commit_sha":"868531cb3fd3a03801ecbfd8aa6806ccf0c6d205","assignee":null,"assignees":[],"requested_reviewers":[{"login":"ezyang","id":13564,"node_id":"MDQ6VXNlcjEzNTY0","avatar_url":"https://avatars0.githubusercontent.com/u/13564?v=4","gravatar_id":"","url":"https://api.github.com/users/ezyang","html_url":"https://github.com/ezyang","followers_url":"https://api.github.com/users/ezyang/followers","following_url":"https://api.github.com/users/ezyang/following{/other_user}","gists_url":"https://api.github.com/users/ezyang/gists{/gist_id}","starred_url":"https://api.github.com/users/ezyang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ezyang/subscriptions","organizations_url":"https://api.github.com/users/ezyang/orgs","repos_url":"https://api.github.com/users/ezyang/repos","events_url":"https://api.github.com/users/ezyang/events{/privacy}","received_events_url":"https://api.github.com/users/ezyang/received_events","type":"User","site_admin":false},{"login":"apaszke","id":4583066,"node_id":"MDQ6VXNlcjQ1ODMwNjY=","avatar_url":"https://avatars3.githubusercontent.com/u/4583066?v=4","gravatar_id":"","url":"https://api.github.com/users/apaszke","html_url":"https://github.com/apaszke","followers_url":"https://api.github.com/users/apaszke/followers","following_url":"https://api.github.com/users/apaszke/following{/other_user}","gists_url":"https://api.github.com/users/apaszke/gists{/gist_id}","starred_url":"https://api.github.com/users/apaszke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apaszke/subscriptions","organizations_url":"https://api.github.com/users/apaszke/orgs","repos_url":"https://api.github.com/users/apaszke/repos","events_url":"https://api.github.com/users/apaszke/events{/privacy}","received_events_url":"https://api.github.com/users/apaszke/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[{"id":1392590051,"node_id":"MDU6TGFiZWwxMzkyNTkwMDUx","url":"https://api.github.com/repos/pytorch/pytorch/labels/open%20source","name":"open source","color":"ededed","default":false,"description":null}],"milestone":null,"commits_url":"https://api.github.com/repos/pytorch/pytorch/pulls/30724/commits","review_comments_url":"https://api.github.com/repos/pytorch/pytorch/pulls/30724/comments","review_comment_url":"https://api.github.com/repos/pytorch/pytorch/pulls/comments{/number}","comments_url":"https://api.github.com/repos/pytorch/pytorch/issues/30724/comments","statuses_url":"https://api.github.com/repos/pytorch/pytorch/statuses/b7aef99de4460200a1337f533df43d9e573f5c71","head":{"label":"v0dro:tracing-cpp-port","ref":"tracing-cpp-port","sha":"b7aef99de4460200a1337f533df43d9e573f5c71","user":{"login":"v0dro","id":2629909,"node_id":"MDQ6VXNlcjI2Mjk5MDk=","avatar_url":"https://avatars2.githubusercontent.com/u/2629909?v=4","gravatar_id":"","url":"https://api.github.com/users/v0dro","html_url":"https://github.com/v0dro","followers_url":"https://api.github.com/users/v0dro/followers","following_url":"https://api.github.com/users/v0dro/following{/other_user}","gists_url":"https://api.github.com/users/v0dro/gists{/gist_id}","starred_url":"https://api.github.com/users/v0dro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/v0dro/subscriptions","organizations_url":"https://api.github.com/users/v0dro/orgs","repos_url":"https://api.github.com/users/v0dro/repos","events_url":"https://api.github.com/users/v0dro/events{/privacy}","received_events_url":"https://api.github.com/users/v0dro/received_events","type":"User","site_admin":false},"repo":{"id":209458247,"node_id":"MDEwOlJlcG9zaXRvcnkyMDk0NTgyNDc=","name":"pytorch","full_name":"v0dro/pytorch","private":false,"owner":{"login":"v0dro","id":2629909,"node_id":"MDQ6VXNlcjI2Mjk5MDk=","avatar_url":"https://avatars2.githubusercontent.com/u/2629909?v=4","gravatar_id":"","url":"https://api.github.com/users/v0dro","html_url":"https://github.com/v0dro","followers_url":"https://api.github.com/users/v0dro/followers","following_url":"https://api.github.com/users/v0dro/following{/other_user}","gists_url":"https://api.github.com/users/v0dro/gists{/gist_id}","starred_url":"https://api.github.com/users/v0dro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/v0dro/subscriptions","organizations_url":"https://api.github.com/users/v0dro/orgs","repos_url":"https://api.github.com/users/v0dro/repos","events_url":"https://api.github.com/users/v0dro/events{/privacy}","received_events_url":"https://api.github.com/users/v0dro/received_events","type":"User","site_admin":false},"html_url":"https://github.com/v0dro/pytorch","description":"Tensors and Dynamic neural networks in Python with strong GPU acceleration","fork":true,"url":"https://api.github.com/repos/v0dro/pytorch","forks_url":"https://api.github.com/repos/v0dro/pytorch/forks","keys_url":"https://api.github.com/repos/v0dro/pytorch/keys{/key_id}","collaborators_url":"https://api.github.com/repos/v0dro/pytorch/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/v0dro/pytorch/teams","hooks_url":"https://api.github.com/repos/v0dro/pytorch/hooks","issue_events_url":"https://api.github.com/repos/v0dro/pytorch/issues/events{/number}","events_url":"https://api.github.com/repos/v0dro/pytorch/events","assignees_url":"https://api.github.com/repos/v0dro/pytorch/assignees{/user}","branches_url":"https://api.github.com/repos/v0dro/pytorch/branches{/branch}","tags_url":"https://api.github.com/repos/v0dro/pytorch/tags","blobs_url":"https://api.github.com/repos/v0dro/pytorch/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/v0dro/pytorch/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/v0dro/pytorch/git/refs{/sha}","trees_url":"https://api.github.com/repos/v0dro/pytorch/git/trees{/sha}","statuses_url":"https://api.github.com/repos/v0dro/pytorch/statuses/{sha}","languages_url":"https://api.github.com/repos/v0dro/pytorch/languages","stargazers_url":"https://api.github.com/repos/v0dro/pytorch/stargazers","contributors_url":"https://api.github.com/repos/v0dro/pytorch/contributors","subscribers_url":"https://api.github.com/repos/v0dro/pytorch/subscribers","subscription_url":"https://api.github.com/repos/v0dro/pytorch/subscription","commits_url":"https://api.github.com/repos/v0dro/pytorch/commits{/sha}","git_commits_url":"https://api.github.com/repos/v0dro/pytorch/git/commits{/sha}","comments_url":"https://api.github.com/repos/v0dro/pytorch/comments{/number}","issue_comment_url":"https://api.github.com/repos/v0dro/pytorch/issues/comments{/number}","contents_url":"https://api.github.com/repos/v0dro/pytorch/contents/{+path}","compare_url":"https://api.github.com/repos/v0dro/pytorch/compare/{base}...{head}","merges_url":"https://api.github.com/repos/v0dro/pytorch/merges","archive_url":"https://api.github.com/repos/v0dro/pytorch/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/v0dro/pytorch/downloads","issues_url":"https://api.github.com/repos/v0dro/pytorch/issues{/number}","pulls_url":"https://api.github.com/repos/v0dro/pytorch/pulls{/number}","milestones_url":"https://api.github.com/repos/v0dro/pytorch/milestones{/number}","notifications_url":"https://api.github.com/repos/v0dro/pytorch/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/v0dro/pytorch/labels{/name}","releases_url":"https://api.github.com/repos/v0dro/pytorch/releases{/id}","deployments_url":"https://api.github.com/repos/v0dro/pytorch/deployments","created_at":"2019-09-19T03:53:32Z","updated_at":"2019-11-26T06:30:37Z","pushed_at":"2019-12-10T06:12:30Z","git_url":"git://github.com/v0dro/pytorch.git","ssh_url":"git@github.com:v0dro/pytorch.git","clone_url":"https://github.com/v0dro/pytorch.git","svn_url":"https://github.com/v0dro/pytorch","homepage":"https://pytorch.org","size":222901,"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,"disabled":false,"open_issues_count":0,"license":{"key":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"pytorch:master","ref":"master","sha":"a939b52ddbb0e1f9b7bf6b3a90dd4f7b331ef8de","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-12-10T06:08:20Z","pushed_at":"2019-12-10T06:12:35Z","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":256291,"stargazers_count":34440,"watchers_count":34440,"language":"C++","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":8592,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":4727,"license":{"key":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":8592,"open_issues":4727,"watchers":34440,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/pytorch/pytorch/pulls/30724"},"html":{"href":"https://github.com/pytorch/pytorch/pull/30724"},"issue":{"href":"https://api.github.com/repos/pytorch/pytorch/issues/30724"},"comments":{"href":"https://api.github.com/repos/pytorch/pytorch/issues/30724/comments"},"review_comments":{"href":"https://api.github.com/repos/pytorch/pytorch/pulls/30724/comments"},"review_comment":{"href":"https://api.github.com/repos/pytorch/pytorch/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/pytorch/pytorch/pulls/30724/commits"},"statuses":{"href":"https://api.github.com/repos/pytorch/pytorch/statuses/b7aef99de4460200a1337f533df43d9e573f5c71"}},"author_association":"CONTRIBUTOR"}}
other: {"actor":{"display_login":"v0dro"}}