{"action":"created","comment":{"url":"https://api.github.com/repos/apache/incubator-mxnet/pulls/comments/157706156","pull_request_review_id":84391562,"id":157706156,"diff_hunk":"@@ -1441,6 +1441,67 @@ def read_data(label_url, image_url):\n     return {'train_data':train_img, 'train_label':train_lbl,\n             'test_data':test_img, 'test_label':test_lbl}\n \n+# download mnist.pkl.gz","path":"python/mxnet/test_utils.py","position":null,"original_position":4,"commit_id":"194211d89719f2df7ac77e79c78b3fc3ba7fbc0d","original_commit_id":"189aca3a43eba17fd7c15457ad5ce274e25e6ec1","user":{"login":"rahul003","id":3457240,"avatar_url":"https://avatars1.githubusercontent.com/u/3457240?v=4","gravatar_id":"","url":"https://api.github.com/users/rahul003","html_url":"https://github.com/rahul003","followers_url":"https://api.github.com/users/rahul003/followers","following_url":"https://api.github.com/users/rahul003/following{/other_user}","gists_url":"https://api.github.com/users/rahul003/gists{/gist_id}","starred_url":"https://api.github.com/users/rahul003/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rahul003/subscriptions","organizations_url":"https://api.github.com/users/rahul003/orgs","repos_url":"https://api.github.com/users/rahul003/repos","events_url":"https://api.github.com/users/rahul003/events{/privacy}","received_events_url":"https://api.github.com/users/rahul003/received_events","type":"User","site_admin":false},"body":"Is there a particular way for saying this returns nothing?\r\n```\r\nReturns\r\n--------\r\nNone\r\n```\r\n?","created_at":"2017-12-19T09:46:48Z","updated_at":"2017-12-19T09:46:48Z","html_url":"https://github.com/apache/incubator-mxnet/pull/9135#discussion_r157706156","pull_request_url":"https://api.github.com/repos/apache/incubator-mxnet/pulls/9135","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/apache/incubator-mxnet/pulls/comments/157706156"},"html":{"href":"https://github.com/apache/incubator-mxnet/pull/9135#discussion_r157706156"},"pull_request":{"href":"https://api.github.com/repos/apache/incubator-mxnet/pulls/9135"}},"in_reply_to_id":157687638},"pull_request":{"url":"https://api.github.com/repos/apache/incubator-mxnet/pulls/9135","id":159086851,"html_url":"https://github.com/apache/incubator-mxnet/pull/9135","diff_url":"https://github.com/apache/incubator-mxnet/pull/9135.diff","patch_url":"https://github.com/apache/incubator-mxnet/pull/9135.patch","issue_url":"https://api.github.com/repos/apache/incubator-mxnet/issues/9135","number":9135,"state":"open","locked":false,"title":"tutorial for distributed training","user":{"login":"rahul003","id":3457240,"avatar_url":"https://avatars1.githubusercontent.com/u/3457240?v=4","gravatar_id":"","url":"https://api.github.com/users/rahul003","html_url":"https://github.com/rahul003","followers_url":"https://api.github.com/users/rahul003/followers","following_url":"https://api.github.com/users/rahul003/following{/other_user}","gists_url":"https://api.github.com/users/rahul003/gists{/gist_id}","starred_url":"https://api.github.com/users/rahul003/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rahul003/subscriptions","organizations_url":"https://api.github.com/users/rahul003/orgs","repos_url":"https://api.github.com/users/rahul003/repos","events_url":"https://api.github.com/users/rahul003/events{/privacy}","received_events_url":"https://api.github.com/users/rahul003/received_events","type":"User","site_admin":false},"body":"## Description ##\r\nThis PR adds a tutorial for distributed training. \r\nIt covers \r\n- how distributed training works\r\n- setting up a cluster\r\n- how to run distributed training using launch.py and different options it supports\r\n- how to run distributed training without launch.py\r\n- related environment variables\r\n\r\nDirect link: \r\n[docs/how_to/distributed_training.md](https://github.com/rahul003/mxnet/blob/dist-pr/docs/how_to/distributed_training.md) \r\n\r\nFeedback welcome. \r\nPlease let me know if I should add more info about something.\r\n\r\n@aaronmarkham @eric-haibin-lin @madjam \r\n\r\n## Checklist ##\r\n### Essentials ###\r\n- [x] Passed code style checking (`make lint`)\r\n- [x] Changes are complete (i.e. I finished coding on this PR)\r\n- [x] All changes have test coverage:\r\n- Unit tests are added for small changes to verify correctness (e.g. adding a new operator)\r\n- Nightly tests are added for complicated/long-running ones (e.g. changing distributed kvstore)\r\n- Build tests will be added for build configuration changes (e.g. adding a new build option with NCCL)\r\n- [x] Code is well-documented: \r\n- For user-facing API changes, API doc string has been updated. \r\n- For new C++ functions in header files, their functionalities and arguments are documented. \r\n- For new examples, README.md is added to explain the what the example does, the source of the dataset, expected performance on test set and reference to the original paper if applicable\r\n- [x] To the my best knowledge, examples are either not affected by this change, or have been fixed to be compatible with this change\r\n\r\n### Changes ###\r\n- [x] Adds the tutorial (docs/how_to/distributed_training.md)\r\n- [x] Removed python path inserts for some examples so that they can run by themselves. This is important because otherwise for distributed training we would have to copy the entire mxnet folder across all machines\r\n- [x] Removed duplicated get_mnist and get_mnist_iterator functions by moving them to mxnet.test_utils \r\n","created_at":"2017-12-19T06:17:27Z","updated_at":"2017-12-19T09:46:48Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0ea8c21350e05b4220b2ee4bb712b527b9f55d0c","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/apache/incubator-mxnet/pulls/9135/commits","review_comments_url":"https://api.github.com/repos/apache/incubator-mxnet/pulls/9135/comments","review_comment_url":"https://api.github.com/repos/apache/incubator-mxnet/pulls/comments{/number}","comments_url":"https://api.github.com/repos/apache/incubator-mxnet/issues/9135/comments","statuses_url":"https://api.github.com/repos/apache/incubator-mxnet/statuses/194211d89719f2df7ac77e79c78b3fc3ba7fbc0d","head":{"label":"rahul003:dist-pr","ref":"dist-pr","sha":"194211d89719f2df7ac77e79c78b3fc3ba7fbc0d","user":{"login":"rahul003","id":3457240,"avatar_url":"https://avatars1.githubusercontent.com/u/3457240?v=4","gravatar_id":"","url":"https://api.github.com/users/rahul003","html_url":"https://github.com/rahul003","followers_url":"https://api.github.com/users/rahul003/followers","following_url":"https://api.github.com/users/rahul003/following{/other_user}","gists_url":"https://api.github.com/users/rahul003/gists{/gist_id}","starred_url":"https://api.github.com/users/rahul003/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rahul003/subscriptions","organizations_url":"https://api.github.com/users/rahul003/orgs","repos_url":"https://api.github.com/users/rahul003/repos","events_url":"https://api.github.com/users/rahul003/events{/privacy}","received_events_url":"https://api.github.com/users/rahul003/received_events","type":"User","site_admin":false},"repo":{"id":96937059,"name":"mxnet","full_name":"rahul003/mxnet","owner":{"login":"rahul003","id":3457240,"avatar_url":"https://avatars1.githubusercontent.com/u/3457240?v=4","gravatar_id":"","url":"https://api.github.com/users/rahul003","html_url":"https://github.com/rahul003","followers_url":"https://api.github.com/users/rahul003/followers","following_url":"https://api.github.com/users/rahul003/following{/other_user}","gists_url":"https://api.github.com/users/rahul003/gists{/gist_id}","starred_url":"https://api.github.com/users/rahul003/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rahul003/subscriptions","organizations_url":"https://api.github.com/users/rahul003/orgs","repos_url":"https://api.github.com/users/rahul003/repos","events_url":"https://api.github.com/users/rahul003/events{/privacy}","received_events_url":"https://api.github.com/users/rahul003/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/rahul003/mxnet","description":"Lightweight, Portable, Flexible Distributed/Mobile Deep Learning with Dynamic, Mutation-aware Dataflow Dep Scheduler; for Python, R, Julia, Scala, Go, Javascript and more","fork":true,"url":"https://api.github.com/repos/rahul003/mxnet","forks_url":"https://api.github.com/repos/rahul003/mxnet/forks","keys_url":"https://api.github.com/repos/rahul003/mxnet/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rahul003/mxnet/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rahul003/mxnet/teams","hooks_url":"https://api.github.com/repos/rahul003/mxnet/hooks","issue_events_url":"https://api.github.com/repos/rahul003/mxnet/issues/events{/number}","events_url":"https://api.github.com/repos/rahul003/mxnet/events","assignees_url":"https://api.github.com/repos/rahul003/mxnet/assignees{/user}","branches_url":"https://api.github.com/repos/rahul003/mxnet/branches{/branch}","tags_url":"https://api.github.com/repos/rahul003/mxnet/tags","blobs_url":"https://api.github.com/repos/rahul003/mxnet/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rahul003/mxnet/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rahul003/mxnet/git/refs{/sha}","trees_url":"https://api.github.com/repos/rahul003/mxnet/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rahul003/mxnet/statuses/{sha}","languages_url":"https://api.github.com/repos/rahul003/mxnet/languages","stargazers_url":"https://api.github.com/repos/rahul003/mxnet/stargazers","contributors_url":"https://api.github.com/repos/rahul003/mxnet/contributors","subscribers_url":"https://api.github.com/repos/rahul003/mxnet/subscribers","subscription_url":"https://api.github.com/repos/rahul003/mxnet/subscription","commits_url":"https://api.github.com/repos/rahul003/mxnet/commits{/sha}","git_commits_url":"https://api.github.com/repos/rahul003/mxnet/git/commits{/sha}","comments_url":"https://api.github.com/repos/rahul003/mxnet/comments{/number}","issue_comment_url":"https://api.github.com/repos/rahul003/mxnet/issues/comments{/number}","contents_url":"https://api.github.com/repos/rahul003/mxnet/contents/{+path}","compare_url":"https://api.github.com/repos/rahul003/mxnet/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rahul003/mxnet/merges","archive_url":"https://api.github.com/repos/rahul003/mxnet/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rahul003/mxnet/downloads","issues_url":"https://api.github.com/repos/rahul003/mxnet/issues{/number}","pulls_url":"https://api.github.com/repos/rahul003/mxnet/pulls{/number}","milestones_url":"https://api.github.com/repos/rahul003/mxnet/milestones{/number}","notifications_url":"https://api.github.com/repos/rahul003/mxnet/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rahul003/mxnet/labels{/name}","releases_url":"https://api.github.com/repos/rahul003/mxnet/releases{/id}","deployments_url":"https://api.github.com/repos/rahul003/mxnet/deployments","created_at":"2017-07-11T21:04:11Z","updated_at":"2017-12-19T05:20:06Z","pushed_at":"2017-12-19T09:41:41Z","git_url":"git://github.com/rahul003/mxnet.git","ssh_url":"git@github.com:rahul003/mxnet.git","clone_url":"https://github.com/rahul003/mxnet.git","svn_url":"https://github.com/rahul003/mxnet","homepage":"http://mxnet.io","size":32874,"stargazers_count":0,"watchers_count":0,"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":0,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"apache:master","ref":"master","sha":"500ed5f5def52264f2232b0c83964ed071593afe","user":{"login":"apache","id":47359,"avatar_url":"https://avatars0.githubusercontent.com/u/47359?v=4","gravatar_id":"","url":"https://api.github.com/users/apache","html_url":"https://github.com/apache","followers_url":"https://api.github.com/users/apache/followers","following_url":"https://api.github.com/users/apache/following{/other_user}","gists_url":"https://api.github.com/users/apache/gists{/gist_id}","starred_url":"https://api.github.com/users/apache/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apache/subscriptions","organizations_url":"https://api.github.com/users/apache/orgs","repos_url":"https://api.github.com/users/apache/repos","events_url":"https://api.github.com/users/apache/events{/privacy}","received_events_url":"https://api.github.com/users/apache/received_events","type":"Organization","site_admin":false},"repo":{"id":34864402,"name":"incubator-mxnet","full_name":"apache/incubator-mxnet","owner":{"login":"apache","id":47359,"avatar_url":"https://avatars0.githubusercontent.com/u/47359?v=4","gravatar_id":"","url":"https://api.github.com/users/apache","html_url":"https://github.com/apache","followers_url":"https://api.github.com/users/apache/followers","following_url":"https://api.github.com/users/apache/following{/other_user}","gists_url":"https://api.github.com/users/apache/gists{/gist_id}","starred_url":"https://api.github.com/users/apache/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apache/subscriptions","organizations_url":"https://api.github.com/users/apache/orgs","repos_url":"https://api.github.com/users/apache/repos","events_url":"https://api.github.com/users/apache/events{/privacy}","received_events_url":"https://api.github.com/users/apache/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/apache/incubator-mxnet","description":"Lightweight, Portable, Flexible Distributed/Mobile Deep Learning with Dynamic, Mutation-aware Dataflow Dep Scheduler; for Python, R, Julia, Scala, Go, Javascript and more","fork":false,"url":"https://api.github.com/repos/apache/incubator-mxnet","forks_url":"https://api.github.com/repos/apache/incubator-mxnet/forks","keys_url":"https://api.github.com/repos/apache/incubator-mxnet/keys{/key_id}","collaborators_url":"https://api.github.com/repos/apache/incubator-mxnet/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/apache/incubator-mxnet/teams","hooks_url":"https://api.github.com/repos/apache/incubator-mxnet/hooks","issue_events_url":"https://api.github.com/repos/apache/incubator-mxnet/issues/events{/number}","events_url":"https://api.github.com/repos/apache/incubator-mxnet/events","assignees_url":"https://api.github.com/repos/apache/incubator-mxnet/assignees{/user}","branches_url":"https://api.github.com/repos/apache/incubator-mxnet/branches{/branch}","tags_url":"https://api.github.com/repos/apache/incubator-mxnet/tags","blobs_url":"https://api.github.com/repos/apache/incubator-mxnet/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/apache/incubator-mxnet/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/apache/incubator-mxnet/git/refs{/sha}","trees_url":"https://api.github.com/repos/apache/incubator-mxnet/git/trees{/sha}","statuses_url":"https://api.github.com/repos/apache/incubator-mxnet/statuses/{sha}","languages_url":"https://api.github.com/repos/apache/incubator-mxnet/languages","stargazers_url":"https://api.github.com/repos/apache/incubator-mxnet/stargazers","contributors_url":"https://api.github.com/repos/apache/incubator-mxnet/contributors","subscribers_url":"https://api.github.com/repos/apache/incubator-mxnet/subscribers","subscription_url":"https://api.github.com/repos/apache/incubator-mxnet/subscription","commits_url":"https://api.github.com/repos/apache/incubator-mxnet/commits{/sha}","git_commits_url":"https://api.github.com/repos/apache/incubator-mxnet/git/commits{/sha}","comments_url":"https://api.github.com/repos/apache/incubator-mxnet/comments{/number}","issue_comment_url":"https://api.github.com/repos/apache/incubator-mxnet/issues/comments{/number}","contents_url":"https://api.github.com/repos/apache/incubator-mxnet/contents/{+path}","compare_url":"https://api.github.com/repos/apache/incubator-mxnet/compare/{base}...{head}","merges_url":"https://api.github.com/repos/apache/incubator-mxnet/merges","archive_url":"https://api.github.com/repos/apache/incubator-mxnet/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/apache/incubator-mxnet/downloads","issues_url":"https://api.github.com/repos/apache/incubator-mxnet/issues{/number}","pulls_url":"https://api.github.com/repos/apache/incubator-mxnet/pulls{/number}","milestones_url":"https://api.github.com/repos/apache/incubator-mxnet/milestones{/number}","notifications_url":"https://api.github.com/repos/apache/incubator-mxnet/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/apache/incubator-mxnet/labels{/name}","releases_url":"https://api.github.com/repos/apache/incubator-mxnet/releases{/id}","deployments_url":"https://api.github.com/repos/apache/incubator-mxnet/deployments","created_at":"2015-04-30T16:21:15Z","updated_at":"2017-12-19T09:37:26Z","pushed_at":"2017-12-19T09:46:11Z","git_url":"git://github.com/apache/incubator-mxnet.git","ssh_url":"git@github.com:apache/incubator-mxnet.git","clone_url":"https://github.com/apache/incubator-mxnet.git","svn_url":"https://github.com/apache/incubator-mxnet","homepage":"http://mxnet.io","size":30873,"stargazers_count":12461,"watchers_count":12461,"language":"C++","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":4597,"mirror_url":null,"archived":false,"open_issues_count":658,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0"},"forks":4597,"open_issues":658,"watchers":12461,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/apache/incubator-mxnet/pulls/9135"},"html":{"href":"https://github.com/apache/incubator-mxnet/pull/9135"},"issue":{"href":"https://api.github.com/repos/apache/incubator-mxnet/issues/9135"},"comments":{"href":"https://api.github.com/repos/apache/incubator-mxnet/issues/9135/comments"},"review_comments":{"href":"https://api.github.com/repos/apache/incubator-mxnet/pulls/9135/comments"},"review_comment":{"href":"https://api.github.com/repos/apache/incubator-mxnet/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/apache/incubator-mxnet/pulls/9135/commits"},"statuses":{"href":"https://api.github.com/repos/apache/incubator-mxnet/statuses/194211d89719f2df7ac77e79c78b3fc3ba7fbc0d"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"rahul003"}}