{"action":"created","issue":{"url":"https://api.github.com/repos/ray-project/ray/issues/72","repository_url":"https://api.github.com/repos/ray-project/ray","labels_url":"https://api.github.com/repos/ray-project/ray/issues/72/labels{/name}","comments_url":"https://api.github.com/repos/ray-project/ray/issues/72/comments","events_url":"https://api.github.com/repos/ray-project/ray/issues/72/events","html_url":"https://github.com/ray-project/ray/pull/72","id":192738668,"number":72,"title":"Fix bug in serializing arguments of tasks that are more complex objects","user":{"login":"pcmoritz","id":113316,"avatar_url":"https://avatars.githubusercontent.com/u/113316?v=3","gravatar_id":"","url":"https://api.github.com/users/pcmoritz","html_url":"https://github.com/pcmoritz","followers_url":"https://api.github.com/users/pcmoritz/followers","following_url":"https://api.github.com/users/pcmoritz/following{/other_user}","gists_url":"https://api.github.com/users/pcmoritz/gists{/gist_id}","starred_url":"https://api.github.com/users/pcmoritz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pcmoritz/subscriptions","organizations_url":"https://api.github.com/users/pcmoritz/orgs","repos_url":"https://api.github.com/users/pcmoritz/repos","events_url":"https://api.github.com/users/pcmoritz/events{/privacy}","received_events_url":"https://api.github.com/users/pcmoritz/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-12-01T02:28:07Z","updated_at":"2016-12-01T06:01:43Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/ray-project/ray/pulls/72","html_url":"https://github.com/ray-project/ray/pull/72","diff_url":"https://github.com/ray-project/ray/pull/72.diff","patch_url":"https://github.com/ray-project/ray/pull/72.patch"},"body":"This addresses #70 by using Pickle instead of Marshal to serialize arguments that are added to the task struct."},"comment":{"url":"https://api.github.com/repos/ray-project/ray/issues/comments/264086399","html_url":"https://github.com/ray-project/ray/pull/72#issuecomment-264086399","issue_url":"https://api.github.com/repos/ray-project/ray/issues/72","id":264086399,"user":{"login":"robertnishihara","id":249517,"avatar_url":"https://avatars.githubusercontent.com/u/249517?v=3","gravatar_id":"","url":"https://api.github.com/users/robertnishihara","html_url":"https://github.com/robertnishihara","followers_url":"https://api.github.com/users/robertnishihara/followers","following_url":"https://api.github.com/users/robertnishihara/following{/other_user}","gists_url":"https://api.github.com/users/robertnishihara/gists{/gist_id}","starred_url":"https://api.github.com/users/robertnishihara/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robertnishihara/subscriptions","organizations_url":"https://api.github.com/users/robertnishihara/orgs","repos_url":"https://api.github.com/users/robertnishihara/repos","events_url":"https://api.github.com/users/robertnishihara/events{/privacy}","received_events_url":"https://api.github.com/users/robertnishihara/received_events","type":"User","site_admin":false},"created_at":"2016-12-01T06:01:43Z","updated_at":"2016-12-01T06:01:43Z","body":"Ok, using `cPickle.HIGHEST_PROTOCOL` gives modest speedups.\r\n\r\n```python\r\n@ray.remote\r\ndef f(*xs):\r\n  return 1\r\n\r\n# 28.7us with HIGHEST_PROTOCOL, 31.8 without\r\n%timeit f.remote(1)\r\n\r\n# 225us with HIGHEST_PROTOCOL, 262 without\r\n%timeit f.remote(*(100 * [1]))\r\n\r\n# 199us with HIGHEST_PROTOCOL, 241 without\r\n%timeit f.remote(100 * [1])"}}
{"actor":{"display_login":"robertnishihara"}}