{"action":"created","issue":{"url":"https://api.github.com/repos/taskgraph/taskgraph/issues/60","labels_url":"https://api.github.com/repos/taskgraph/taskgraph/issues/60/labels{/name}","comments_url":"https://api.github.com/repos/taskgraph/taskgraph/issues/60/comments","events_url":"https://api.github.com/repos/taskgraph/taskgraph/issues/60/events","html_url":"https://github.com/taskgraph/taskgraph/pull/60","id":68348792,"number":60,"title":"Disable parallel computation in KLDivLoss","user":{"login":"5kg","id":1975420,"avatar_url":"https://avatars.githubusercontent.com/u/1975420?v=3","gravatar_id":"","url":"https://api.github.com/users/5kg","html_url":"https://github.com/5kg","followers_url":"https://api.github.com/users/5kg/followers","following_url":"https://api.github.com/users/5kg/following{/other_user}","gists_url":"https://api.github.com/users/5kg/gists{/gist_id}","starred_url":"https://api.github.com/users/5kg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/5kg/subscriptions","organizations_url":"https://api.github.com/users/5kg/orgs","repos_url":"https://api.github.com/users/5kg/repos","events_url":"https://api.github.com/users/5kg/events{/privacy}","received_events_url":"https://api.github.com/users/5kg/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-04-14T11:49:41Z","updated_at":"2015-04-14T16:39:51Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/taskgraph/taskgraph/pulls/60","html_url":"https://github.com/taskgraph/taskgraph/pull/60","diff_url":"https://github.com/taskgraph/taskgraph/pull/60.diff","patch_url":"https://github.com/taskgraph/taskgraph/pull/60.patch"},"body":"Without this patch, it takes more than 15g memory when factoring a 2000x1000 matrix before I killed the process."},"comment":{"url":"https://api.github.com/repos/taskgraph/taskgraph/issues/comments/92967472","html_url":"https://github.com/taskgraph/taskgraph/pull/60#issuecomment-92967472","issue_url":"https://api.github.com/repos/taskgraph/taskgraph/issues/60","id":92967472,"user":{"login":"fengjingchao","id":920884,"avatar_url":"https://avatars.githubusercontent.com/u/920884?v=3","gravatar_id":"","url":"https://api.github.com/users/fengjingchao","html_url":"https://github.com/fengjingchao","followers_url":"https://api.github.com/users/fengjingchao/followers","following_url":"https://api.github.com/users/fengjingchao/following{/other_user}","gists_url":"https://api.github.com/users/fengjingchao/gists{/gist_id}","starred_url":"https://api.github.com/users/fengjingchao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fengjingchao/subscriptions","organizations_url":"https://api.github.com/users/fengjingchao/orgs","repos_url":"https://api.github.com/users/fengjingchao/repos","events_url":"https://api.github.com/users/fengjingchao/events{/privacy}","received_events_url":"https://api.github.com/users/fengjingchao/received_events","type":"User","site_admin":false},"created_at":"2015-04-14T16:39:51Z","updated_at":"2015-04-14T16:39:51Z","body":"Usually we don't create a goroutine inside a loop.\r\nWe can create mulitple workers and send them work via single channel.\r\n\r\nMake this single-threaded should also work."}}