{"action":"created","issue":{"url":"https://api.github.com/repos/mila-udem/platoon/issues/62","repository_url":"https://api.github.com/repos/mila-udem/platoon","labels_url":"https://api.github.com/repos/mila-udem/platoon/issues/62/labels{/name}","comments_url":"https://api.github.com/repos/mila-udem/platoon/issues/62/comments","events_url":"https://api.github.com/repos/mila-udem/platoon/issues/62/events","html_url":"https://github.com/mila-udem/platoon/pull/62","id":134466752,"number":62,"title":"Compilation locks","user":{"login":"bartvm","id":2299595,"avatar_url":"https://avatars.githubusercontent.com/u/2299595?v=3","gravatar_id":"","url":"https://api.github.com/users/bartvm","html_url":"https://github.com/bartvm","followers_url":"https://api.github.com/users/bartvm/followers","following_url":"https://api.github.com/users/bartvm/following{/other_user}","gists_url":"https://api.github.com/users/bartvm/gists{/gist_id}","starred_url":"https://api.github.com/users/bartvm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bartvm/subscriptions","organizations_url":"https://api.github.com/users/bartvm/orgs","repos_url":"https://api.github.com/users/bartvm/repos","events_url":"https://api.github.com/users/bartvm/events{/privacy}","received_events_url":"https://api.github.com/users/bartvm/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":17,"created_at":"2016-02-18T02:53:41Z","updated_at":"2016-02-25T17:57:21Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/mila-udem/platoon/pulls/62","html_url":"https://github.com/mila-udem/platoon/pull/62","diff_url":"https://github.com/mila-udem/platoon/pull/62.diff","patch_url":"https://github.com/mila-udem/platoon/pull/62.patch"},"body":"Running on the cluster I get a lot of fighting over locks. Maybe it would be good to have functionality that allows the first worker to finish compiling (and fill the cache) before the others start?\r\n\r\nYou basically just use it like this:\r\n```python\r\nworker.start_compilation()\r\nf = theano.function([inputs], [outputs])\r\n# etc\r\nworker.end_compilation()\r\n```\r\nThe first worker to get there will go right on, the others will wait till the first workers reaches `end_compilation` after which the rest can go."},"comment":{"url":"https://api.github.com/repos/mila-udem/platoon/issues/comments/188904479","html_url":"https://github.com/mila-udem/platoon/pull/62#issuecomment-188904479","issue_url":"https://api.github.com/repos/mila-udem/platoon/issues/62","id":188904479,"user":{"login":"bartvm","id":2299595,"avatar_url":"https://avatars.githubusercontent.com/u/2299595?v=3","gravatar_id":"","url":"https://api.github.com/users/bartvm","html_url":"https://github.com/bartvm","followers_url":"https://api.github.com/users/bartvm/followers","following_url":"https://api.github.com/users/bartvm/following{/other_user}","gists_url":"https://api.github.com/users/bartvm/gists{/gist_id}","starred_url":"https://api.github.com/users/bartvm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bartvm/subscriptions","organizations_url":"https://api.github.com/users/bartvm/orgs","repos_url":"https://api.github.com/users/bartvm/repos","events_url":"https://api.github.com/users/bartvm/events{/privacy}","received_events_url":"https://api.github.com/users/bartvm/received_events","type":"User","site_admin":false},"created_at":"2016-02-25T17:57:21Z","updated_at":"2016-02-25T17:57:21Z","body":"I meant to ask, which update are you referring to? I couldn't find any commits in Theano that seemed to affect the compilation lock, so I wasn't sure what you meant."}}