{"action":"created","issue":{"url":"https://api.github.com/repos/jihunchoi/recurrent-batch-normalization-pytorch/issues/2","repository_url":"https://api.github.com/repos/jihunchoi/recurrent-batch-normalization-pytorch","labels_url":"https://api.github.com/repos/jihunchoi/recurrent-batch-normalization-pytorch/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/jihunchoi/recurrent-batch-normalization-pytorch/issues/2/comments","events_url":"https://api.github.com/repos/jihunchoi/recurrent-batch-normalization-pytorch/issues/2/events","html_url":"https://github.com/jihunchoi/recurrent-batch-normalization-pytorch/issues/2","id":235712736,"number":2,"title":"RuntimeError: arguments are located on different GPUs","user":{"login":"chihyaoma","id":6862817,"avatar_url":"https://avatars1.githubusercontent.com/u/6862817?v=4","gravatar_id":"","url":"https://api.github.com/users/chihyaoma","html_url":"https://github.com/chihyaoma","followers_url":"https://api.github.com/users/chihyaoma/followers","following_url":"https://api.github.com/users/chihyaoma/following{/other_user}","gists_url":"https://api.github.com/users/chihyaoma/gists{/gist_id}","starred_url":"https://api.github.com/users/chihyaoma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chihyaoma/subscriptions","organizations_url":"https://api.github.com/users/chihyaoma/orgs","repos_url":"https://api.github.com/users/chihyaoma/repos","events_url":"https://api.github.com/users/chihyaoma/events{/privacy}","received_events_url":"https://api.github.com/users/chihyaoma/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-06-13T22:35:12Z","updated_at":"2017-09-10T08:58:40Z","closed_at":"2017-09-10T08:58:40Z","author_association":"NONE","body":"Hi, thank you for sharing with us the implemented BN-LSTM. I have successfully used it when this is only one GPU on my machine. \r\n\r\nHowever, if I use the data parallel layer for multiple GPUs (4 in my machine),\r\n```\r\nmodel = torch.nn.DataParallel(model).cuda()\r\n```\r\nThere is an error:\r\n`\r\nRuntimeError: arguments are located on different GPUs at /py/conda-bld/pytorch_1493677666423/work/torch/lib/THC/generic/THCTensorMathBlas.cu:232`\r\n\r\nThe error occurs at [wh = torch.mm(h_0, self.weight_hh)](https://github.com/jihunchoi/recurrent-batch-normalization-pytorch/blob/master/bnlstm.py#L143)\r\n\r\nHas anybody faced the same issue?\r\n"},"comment":{"url":"https://api.github.com/repos/jihunchoi/recurrent-batch-normalization-pytorch/issues/comments/328329225","html_url":"https://github.com/jihunchoi/recurrent-batch-normalization-pytorch/issues/2#issuecomment-328329225","issue_url":"https://api.github.com/repos/jihunchoi/recurrent-batch-normalization-pytorch/issues/2","id":328329225,"user":{"login":"jihunchoi","id":1898501,"avatar_url":"https://avatars2.githubusercontent.com/u/1898501?v=4","gravatar_id":"","url":"https://api.github.com/users/jihunchoi","html_url":"https://github.com/jihunchoi","followers_url":"https://api.github.com/users/jihunchoi/followers","following_url":"https://api.github.com/users/jihunchoi/following{/other_user}","gists_url":"https://api.github.com/users/jihunchoi/gists{/gist_id}","starred_url":"https://api.github.com/users/jihunchoi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jihunchoi/subscriptions","organizations_url":"https://api.github.com/users/jihunchoi/orgs","repos_url":"https://api.github.com/users/jihunchoi/repos","events_url":"https://api.github.com/users/jihunchoi/events{/privacy}","received_events_url":"https://api.github.com/users/jihunchoi/received_events","type":"User","site_admin":false},"created_at":"2017-09-10T08:58:40Z","updated_at":"2017-09-10T08:58:40Z","author_association":"OWNER","body":"Fixed.\r\nThe problem occurred due to non-standard module registration lines. Now it is fixed to use the standard guideline."}}
{"actor":{"display_login":"jihunchoi"}}