{"action":"created","comment":{"url":"https://api.github.com/repos/dmlc/tvm/pulls/comments/229182548","pull_request_review_id":169613840,"id":229182548,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIyOTE4MjU0OA==","diff_hunk":"@@ -60,6 +63,9 @@ TVM_STATIC_IR_FUNCTOR_REGISTER(IRPrinter, vtable)\n \n Var VarNode::make(std::string name_hint, Type type_annotation) {\n   NodePtr<VarNode> n = make_node<VarNode>();\n+  // if (name_hint == \"accum\") {","path":"src/relay/ir/expr.cc","position":16,"original_position":16,"commit_id":"e8534339ec3852690af6ed623fc36538196751cf","original_commit_id":"baef91bf845746a924073d356914d6a9e11e8adf","user":{"login":"zhiics","id":5145158,"node_id":"MDQ6VXNlcjUxNDUxNTg=","avatar_url":"https://avatars1.githubusercontent.com/u/5145158?v=4","gravatar_id":"","url":"https://api.github.com/users/zhiics","html_url":"https://github.com/zhiics","followers_url":"https://api.github.com/users/zhiics/followers","following_url":"https://api.github.com/users/zhiics/following{/other_user}","gists_url":"https://api.github.com/users/zhiics/gists{/gist_id}","starred_url":"https://api.github.com/users/zhiics/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zhiics/subscriptions","organizations_url":"https://api.github.com/users/zhiics/orgs","repos_url":"https://api.github.com/users/zhiics/repos","events_url":"https://api.github.com/users/zhiics/events{/privacy}","received_events_url":"https://api.github.com/users/zhiics/received_events","type":"User","site_admin":false},"body":"remove this debugging info?","created_at":"2018-10-30T05:49:17Z","updated_at":"2018-10-30T05:59:57Z","html_url":"https://github.com/dmlc/tvm/pull/1954#discussion_r229182548","pull_request_url":"https://api.github.com/repos/dmlc/tvm/pulls/1954","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/dmlc/tvm/pulls/comments/229182548"},"html":{"href":"https://github.com/dmlc/tvm/pull/1954#discussion_r229182548"},"pull_request":{"href":"https://api.github.com/repos/dmlc/tvm/pulls/1954"}}},"pull_request":{"url":"https://api.github.com/repos/dmlc/tvm/pulls/1954","id":224797181,"node_id":"MDExOlB1bGxSZXF1ZXN0MjI0Nzk3MTgx","html_url":"https://github.com/dmlc/tvm/pull/1954","diff_url":"https://github.com/dmlc/tvm/pull/1954.diff","patch_url":"https://github.com/dmlc/tvm/pull/1954.patch","issue_url":"https://api.github.com/repos/dmlc/tvm/issues/1954","number":1954,"state":"open","locked":false,"title":"[RELAY][RUNTIME] Add Relay interpreter and compiler for TVM runtime system.","user":{"login":"jroesch","id":696509,"node_id":"MDQ6VXNlcjY5NjUwOQ==","avatar_url":"https://avatars2.githubusercontent.com/u/696509?v=4","gravatar_id":"","url":"https://api.github.com/users/jroesch","html_url":"https://github.com/jroesch","followers_url":"https://api.github.com/users/jroesch/followers","following_url":"https://api.github.com/users/jroesch/following{/other_user}","gists_url":"https://api.github.com/users/jroesch/gists{/gist_id}","starred_url":"https://api.github.com/users/jroesch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jroesch/subscriptions","organizations_url":"https://api.github.com/users/jroesch/orgs","repos_url":"https://api.github.com/users/jroesch/repos","events_url":"https://api.github.com/users/jroesch/events{/privacy}","received_events_url":"https://api.github.com/users/jroesch/received_events","type":"User","site_admin":false},"body":"This PR implements the evaluation machinery for Relay, including basic passes for lowering and transforming Relay programs to make them suitable for compilation. \r\n\r\n### Passes\r\n- [x] FuseOps, is a phase which implements the machinery for operator fusion, as well as marking defintions which can be fused and lowered. A future PR will complete the fusion pass by actually partitioning the ops like the NNVM algorithm.\r\n- [x] LowerOps, is a phase which collects the set of operations used by an expression and converts them into `LoweredFunc` using the appropriate TVM operator and schedule.\r\n\r\n### Interpreter\r\nThis PR ships a simple interpreter for Relay programs, which can be used as its reference semantics. \r\nThe interpretation of operator calls utilizes TVM compiled operators on CPU, but the evaluation of other expressions is naive.\r\n\r\n### TVM Graph Runtime.\r\n\r\nThis PR ships a compiler located in `to_tvm.py` which converts a Relay program into a TVM graph, as well as using the above passes to generate a `tvm::Module` enabling users to deploy a subset of Relay programs to the TVM RTS.\r\n\r\n### Testing\r\n\r\nWe ship some more tests for both the evaluator and the RTS, as well as a couple new cases for type inference.\r\n\r\nThis is blocked on #2026 and #2025.","created_at":"2018-10-22T20:05:23Z","updated_at":"2018-10-30T05:59:57Z","closed_at":null,"merged_at":null,"merge_commit_sha":"81ad931c119c05ad43f50f36e4a5c92786fba804","assignee":{"login":"tqchen","id":2577440,"node_id":"MDQ6VXNlcjI1Nzc0NDA=","avatar_url":"https://avatars3.githubusercontent.com/u/2577440?v=4","gravatar_id":"","url":"https://api.github.com/users/tqchen","html_url":"https://github.com/tqchen","followers_url":"https://api.github.com/users/tqchen/followers","following_url":"https://api.github.com/users/tqchen/following{/other_user}","gists_url":"https://api.github.com/users/tqchen/gists{/gist_id}","starred_url":"https://api.github.com/users/tqchen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tqchen/subscriptions","organizations_url":"https://api.github.com/users/tqchen/orgs","repos_url":"https://api.github.com/users/tqchen/repos","events_url":"https://api.github.com/users/tqchen/events{/privacy}","received_events_url":"https://api.github.com/users/tqchen/received_events","type":"User","site_admin":false},"assignees":[{"login":"tqchen","id":2577440,"node_id":"MDQ6VXNlcjI1Nzc0NDA=","avatar_url":"https://avatars3.githubusercontent.com/u/2577440?v=4","gravatar_id":"","url":"https://api.github.com/users/tqchen","html_url":"https://github.com/tqchen","followers_url":"https://api.github.com/users/tqchen/followers","following_url":"https://api.github.com/users/tqchen/following{/other_user}","gists_url":"https://api.github.com/users/tqchen/gists{/gist_id}","starred_url":"https://api.github.com/users/tqchen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tqchen/subscriptions","organizations_url":"https://api.github.com/users/tqchen/orgs","repos_url":"https://api.github.com/users/tqchen/repos","events_url":"https://api.github.com/users/tqchen/events{/privacy}","received_events_url":"https://api.github.com/users/tqchen/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":858780915,"node_id":"MDU6TGFiZWw4NTg3ODA5MTU=","url":"https://api.github.com/repos/dmlc/tvm/labels/status:%20need%20review","name":"status: need review","color":"fbca04","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/dmlc/tvm/pulls/1954/commits","review_comments_url":"https://api.github.com/repos/dmlc/tvm/pulls/1954/comments","review_comment_url":"https://api.github.com/repos/dmlc/tvm/pulls/comments{/number}","comments_url":"https://api.github.com/repos/dmlc/tvm/issues/1954/comments","statuses_url":"https://api.github.com/repos/dmlc/tvm/statuses/e8534339ec3852690af6ed623fc36538196751cf","head":{"label":"jroesch:relay-eval","ref":"relay-eval","sha":"e8534339ec3852690af6ed623fc36538196751cf","user":{"login":"jroesch","id":696509,"node_id":"MDQ6VXNlcjY5NjUwOQ==","avatar_url":"https://avatars2.githubusercontent.com/u/696509?v=4","gravatar_id":"","url":"https://api.github.com/users/jroesch","html_url":"https://github.com/jroesch","followers_url":"https://api.github.com/users/jroesch/followers","following_url":"https://api.github.com/users/jroesch/following{/other_user}","gists_url":"https://api.github.com/users/jroesch/gists{/gist_id}","starred_url":"https://api.github.com/users/jroesch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jroesch/subscriptions","organizations_url":"https://api.github.com/users/jroesch/orgs","repos_url":"https://api.github.com/users/jroesch/repos","events_url":"https://api.github.com/users/jroesch/events{/privacy}","received_events_url":"https://api.github.com/users/jroesch/received_events","type":"User","site_admin":false},"repo":{"id":135759537,"node_id":"MDEwOlJlcG9zaXRvcnkxMzU3NTk1Mzc=","name":"tvm","full_name":"jroesch/tvm","private":false,"owner":{"login":"jroesch","id":696509,"node_id":"MDQ6VXNlcjY5NjUwOQ==","avatar_url":"https://avatars2.githubusercontent.com/u/696509?v=4","gravatar_id":"","url":"https://api.github.com/users/jroesch","html_url":"https://github.com/jroesch","followers_url":"https://api.github.com/users/jroesch/followers","following_url":"https://api.github.com/users/jroesch/following{/other_user}","gists_url":"https://api.github.com/users/jroesch/gists{/gist_id}","starred_url":"https://api.github.com/users/jroesch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jroesch/subscriptions","organizations_url":"https://api.github.com/users/jroesch/orgs","repos_url":"https://api.github.com/users/jroesch/repos","events_url":"https://api.github.com/users/jroesch/events{/privacy}","received_events_url":"https://api.github.com/users/jroesch/received_events","type":"User","site_admin":false},"html_url":"https://github.com/jroesch/tvm","description":"Open deep learning compiler stack for cpu, gpu and specialized accelerators","fork":true,"url":"https://api.github.com/repos/jroesch/tvm","forks_url":"https://api.github.com/repos/jroesch/tvm/forks","keys_url":"https://api.github.com/repos/jroesch/tvm/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jroesch/tvm/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jroesch/tvm/teams","hooks_url":"https://api.github.com/repos/jroesch/tvm/hooks","issue_events_url":"https://api.github.com/repos/jroesch/tvm/issues/events{/number}","events_url":"https://api.github.com/repos/jroesch/tvm/events","assignees_url":"https://api.github.com/repos/jroesch/tvm/assignees{/user}","branches_url":"https://api.github.com/repos/jroesch/tvm/branches{/branch}","tags_url":"https://api.github.com/repos/jroesch/tvm/tags","blobs_url":"https://api.github.com/repos/jroesch/tvm/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jroesch/tvm/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jroesch/tvm/git/refs{/sha}","trees_url":"https://api.github.com/repos/jroesch/tvm/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jroesch/tvm/statuses/{sha}","languages_url":"https://api.github.com/repos/jroesch/tvm/languages","stargazers_url":"https://api.github.com/repos/jroesch/tvm/stargazers","contributors_url":"https://api.github.com/repos/jroesch/tvm/contributors","subscribers_url":"https://api.github.com/repos/jroesch/tvm/subscribers","subscription_url":"https://api.github.com/repos/jroesch/tvm/subscription","commits_url":"https://api.github.com/repos/jroesch/tvm/commits{/sha}","git_commits_url":"https://api.github.com/repos/jroesch/tvm/git/commits{/sha}","comments_url":"https://api.github.com/repos/jroesch/tvm/comments{/number}","issue_comment_url":"https://api.github.com/repos/jroesch/tvm/issues/comments{/number}","contents_url":"https://api.github.com/repos/jroesch/tvm/contents/{+path}","compare_url":"https://api.github.com/repos/jroesch/tvm/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jroesch/tvm/merges","archive_url":"https://api.github.com/repos/jroesch/tvm/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jroesch/tvm/downloads","issues_url":"https://api.github.com/repos/jroesch/tvm/issues{/number}","pulls_url":"https://api.github.com/repos/jroesch/tvm/pulls{/number}","milestones_url":"https://api.github.com/repos/jroesch/tvm/milestones{/number}","notifications_url":"https://api.github.com/repos/jroesch/tvm/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jroesch/tvm/labels{/name}","releases_url":"https://api.github.com/repos/jroesch/tvm/releases{/id}","deployments_url":"https://api.github.com/repos/jroesch/tvm/deployments","created_at":"2018-06-01T20:15:33Z","updated_at":"2018-10-22T18:47:02Z","pushed_at":"2018-10-30T05:41:24Z","git_url":"git://github.com/jroesch/tvm.git","ssh_url":"git@github.com:jroesch/tvm.git","clone_url":"https://github.com/jroesch/tvm.git","svn_url":"https://github.com/jroesch/tvm","homepage":"http://www.tvm.ai","size":9052,"stargazers_count":3,"watchers_count":3,"language":"C++","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"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":1,"watchers":3,"default_branch":"master"}},"base":{"label":"dmlc:master","ref":"master","sha":"ed1718b63148bf590aa2628ab0858bd7526a815a","user":{"login":"dmlc","id":11508361,"node_id":"MDEyOk9yZ2FuaXphdGlvbjExNTA4MzYx","avatar_url":"https://avatars2.githubusercontent.com/u/11508361?v=4","gravatar_id":"","url":"https://api.github.com/users/dmlc","html_url":"https://github.com/dmlc","followers_url":"https://api.github.com/users/dmlc/followers","following_url":"https://api.github.com/users/dmlc/following{/other_user}","gists_url":"https://api.github.com/users/dmlc/gists{/gist_id}","starred_url":"https://api.github.com/users/dmlc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dmlc/subscriptions","organizations_url":"https://api.github.com/users/dmlc/orgs","repos_url":"https://api.github.com/users/dmlc/repos","events_url":"https://api.github.com/users/dmlc/events{/privacy}","received_events_url":"https://api.github.com/users/dmlc/received_events","type":"Organization","site_admin":false},"repo":{"id":70746484,"node_id":"MDEwOlJlcG9zaXRvcnk3MDc0NjQ4NA==","name":"tvm","full_name":"dmlc/tvm","private":false,"owner":{"login":"dmlc","id":11508361,"node_id":"MDEyOk9yZ2FuaXphdGlvbjExNTA4MzYx","avatar_url":"https://avatars2.githubusercontent.com/u/11508361?v=4","gravatar_id":"","url":"https://api.github.com/users/dmlc","html_url":"https://github.com/dmlc","followers_url":"https://api.github.com/users/dmlc/followers","following_url":"https://api.github.com/users/dmlc/following{/other_user}","gists_url":"https://api.github.com/users/dmlc/gists{/gist_id}","starred_url":"https://api.github.com/users/dmlc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dmlc/subscriptions","organizations_url":"https://api.github.com/users/dmlc/orgs","repos_url":"https://api.github.com/users/dmlc/repos","events_url":"https://api.github.com/users/dmlc/events{/privacy}","received_events_url":"https://api.github.com/users/dmlc/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/dmlc/tvm","description":"Open deep learning compiler stack for cpu, gpu and specialized accelerators","fork":false,"url":"https://api.github.com/repos/dmlc/tvm","forks_url":"https://api.github.com/repos/dmlc/tvm/forks","keys_url":"https://api.github.com/repos/dmlc/tvm/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dmlc/tvm/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dmlc/tvm/teams","hooks_url":"https://api.github.com/repos/dmlc/tvm/hooks","issue_events_url":"https://api.github.com/repos/dmlc/tvm/issues/events{/number}","events_url":"https://api.github.com/repos/dmlc/tvm/events","assignees_url":"https://api.github.com/repos/dmlc/tvm/assignees{/user}","branches_url":"https://api.github.com/repos/dmlc/tvm/branches{/branch}","tags_url":"https://api.github.com/repos/dmlc/tvm/tags","blobs_url":"https://api.github.com/repos/dmlc/tvm/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dmlc/tvm/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dmlc/tvm/git/refs{/sha}","trees_url":"https://api.github.com/repos/dmlc/tvm/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dmlc/tvm/statuses/{sha}","languages_url":"https://api.github.com/repos/dmlc/tvm/languages","stargazers_url":"https://api.github.com/repos/dmlc/tvm/stargazers","contributors_url":"https://api.github.com/repos/dmlc/tvm/contributors","subscribers_url":"https://api.github.com/repos/dmlc/tvm/subscribers","subscription_url":"https://api.github.com/repos/dmlc/tvm/subscription","commits_url":"https://api.github.com/repos/dmlc/tvm/commits{/sha}","git_commits_url":"https://api.github.com/repos/dmlc/tvm/git/commits{/sha}","comments_url":"https://api.github.com/repos/dmlc/tvm/comments{/number}","issue_comment_url":"https://api.github.com/repos/dmlc/tvm/issues/comments{/number}","contents_url":"https://api.github.com/repos/dmlc/tvm/contents/{+path}","compare_url":"https://api.github.com/repos/dmlc/tvm/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dmlc/tvm/merges","archive_url":"https://api.github.com/repos/dmlc/tvm/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dmlc/tvm/downloads","issues_url":"https://api.github.com/repos/dmlc/tvm/issues{/number}","pulls_url":"https://api.github.com/repos/dmlc/tvm/pulls{/number}","milestones_url":"https://api.github.com/repos/dmlc/tvm/milestones{/number}","notifications_url":"https://api.github.com/repos/dmlc/tvm/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dmlc/tvm/labels{/name}","releases_url":"https://api.github.com/repos/dmlc/tvm/releases{/id}","deployments_url":"https://api.github.com/repos/dmlc/tvm/deployments","created_at":"2016-10-12T22:20:28Z","updated_at":"2018-10-30T03:58:00Z","pushed_at":"2018-10-30T05:41:26Z","git_url":"git://github.com/dmlc/tvm.git","ssh_url":"git@github.com:dmlc/tvm.git","clone_url":"https://github.com/dmlc/tvm.git","svn_url":"https://github.com/dmlc/tvm","homepage":"https://tvm.ai","size":8322,"stargazers_count":2237,"watchers_count":2237,"language":"C++","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":522,"mirror_url":null,"archived":false,"open_issues_count":60,"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":522,"open_issues":60,"watchers":2237,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/dmlc/tvm/pulls/1954"},"html":{"href":"https://github.com/dmlc/tvm/pull/1954"},"issue":{"href":"https://api.github.com/repos/dmlc/tvm/issues/1954"},"comments":{"href":"https://api.github.com/repos/dmlc/tvm/issues/1954/comments"},"review_comments":{"href":"https://api.github.com/repos/dmlc/tvm/pulls/1954/comments"},"review_comment":{"href":"https://api.github.com/repos/dmlc/tvm/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/dmlc/tvm/pulls/1954/commits"},"statuses":{"href":"https://api.github.com/repos/dmlc/tvm/statuses/e8534339ec3852690af6ed623fc36538196751cf"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"zhiics"}}