{"action":"created","issue":{"url":"https://api.github.com/repos/Theano/Theano/issues/2435","labels_url":"https://api.github.com/repos/Theano/Theano/issues/2435/labels{/name}","comments_url":"https://api.github.com/repos/Theano/Theano/issues/2435/comments","events_url":"https://api.github.com/repos/Theano/Theano/issues/2435/events","html_url":"https://github.com/Theano/Theano/issues/2435","id":55435589,"number":2435,"title":"Theano conv2d crashes ","user":{"login":"guillempalou","id":2843218,"avatar_url":"https://avatars.githubusercontent.com/u/2843218?v=3","gravatar_id":"","url":"https://api.github.com/users/guillempalou","html_url":"https://github.com/guillempalou","followers_url":"https://api.github.com/users/guillempalou/followers","following_url":"https://api.github.com/users/guillempalou/following{/other_user}","gists_url":"https://api.github.com/users/guillempalou/gists{/gist_id}","starred_url":"https://api.github.com/users/guillempalou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guillempalou/subscriptions","organizations_url":"https://api.github.com/users/guillempalou/orgs","repos_url":"https://api.github.com/users/guillempalou/repos","events_url":"https://api.github.com/users/guillempalou/events{/privacy}","received_events_url":"https://api.github.com/users/guillempalou/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-01-25T23:40:51Z","updated_at":"2015-01-26T13:51:57Z","closed_at":null,"body":"Hi,\r\n\r\nI am encountering a similar issue as: https://github.com/Theano/Theano/issues/1547\r\nI am running Theano 0.6.0 on a Macbook pro retina with the following specs:\r\n\r\nYosemite 10.10.1\r\n2.3GHz Intel Core i7\r\n16GB ram\r\nNVIDIA GeForce GT 750M 2048 MB\r\n\r\nI'm trying to run the code of convolutional_mlp.py but keep getting crashes on the GPU. The same code on the CPU runs fine. And the Logistic regression and the MLP also run fine on the GPU. \r\nI modified the convolutional  example so it prints the input variables and output variabels for each apply node and run the example using cuda-memcheck. \r\n\r\nThe first number is the apply node number, in this case the number 47.\r\n\r\n(47, GpuConv{valid, (1, 1), None, (5, 5), True, (20, 12, 12), (5, 5)}(GpuElemwise{Composite{[tanh(add(i0, i1))]},no_inplace}.0, <CudaNdarrayType(float32, 4D)>))\r\n('input(s) value(s):', [<CudaNdarray object at 0x11ecfd330>, <CudaNdarray object at 0x10cb12e30>])\r\n========= Error: process didn't terminate successfully\r\n=========        The application may have hit an error when dereferencing Unified Memory from the host. Please rerun the application under cuda-gdb or Nsight Eclipse Edition to catch host side errors.\r\n========= ERROR SUMMARY: 0 errors\r\n\r\nTheoretically, after the line 'input(s) value' there should be a line printing the output values.  I've done some experiments and the GpuConv call also fails for the 'full' mode.\r\n\r\nDid anyone encounter the same issue?\r\n"},"comment":{"url":"https://api.github.com/repos/Theano/Theano/issues/comments/71463102","html_url":"https://github.com/Theano/Theano/issues/2435#issuecomment-71463102","issue_url":"https://api.github.com/repos/Theano/Theano/issues/2435","id":71463102,"user":{"login":"nouiz","id":180987,"avatar_url":"https://avatars.githubusercontent.com/u/180987?v=3","gravatar_id":"","url":"https://api.github.com/users/nouiz","html_url":"https://github.com/nouiz","followers_url":"https://api.github.com/users/nouiz/followers","following_url":"https://api.github.com/users/nouiz/following{/other_user}","gists_url":"https://api.github.com/users/nouiz/gists{/gist_id}","starred_url":"https://api.github.com/users/nouiz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nouiz/subscriptions","organizations_url":"https://api.github.com/users/nouiz/orgs","repos_url":"https://api.github.com/users/nouiz/repos","events_url":"https://api.github.com/users/nouiz/events{/privacy}","received_events_url":"https://api.github.com/users/nouiz/received_events","type":"User","site_admin":false},"created_at":"2015-01-26T13:51:57Z","updated_at":"2015-01-26T13:51:57Z","body":"Hi\r\n\r\nYou probably use Theano 0.6 (the last release). The development version\r\n(that is pretty stable) use new code that is much faster. So I would\r\nrecommand strongly that you update Theano:\r\n\r\nhttp://www.deeplearning.net/software/theano/install.html#bleeding-edge-install-instructions\r\n\r\nThat should make the convolution on the GPU faster and fix this problem.\r\nI'll close this ticket now as I'm pretty sure that this will fix it. If\r\nnot, tell us and reopen the ticket.\r\n\r\nOn Sun, Jan 25, 2015 at 6:40 PM, Guillem Palou <notifications@github.com>\r\nwrote:\r\n\r\n> Hi,\r\n>\r\n> I am encountering a similar issue as: #1547\r\n> <https://github.com/Theano/Theano/issues/1547>\r\n> I am running Theano 0.6.0 on a Macbook pro retina with the following specs:\r\n>\r\n> Yosemite 10.10.1\r\n> 2.3GHz Intel Core i7\r\n> 16GB ram\r\n> NVIDIA GeForce GT 750M 2048 MB\r\n>\r\n> I'm trying to run the code of convolutional_mlp.py but keep getting\r\n> crashes on the GPU. The same code on the CPU runs fine. And the Logistic\r\n> regression and the MLP also run fine on the GPU.\r\n> I modified the convolutional example so it prints the input variables and\r\n> output variabels for each apply node and run the example using\r\n> cuda-memcheck.\r\n>\r\n> The first number is the apply node number, in this case the number 47.\r\n>\r\n> (47, GpuConv{valid, (1, 1), None, (5, 5), True, (20, 12, 12), (5,\r\n> 5)}(GpuElemwise{Composite{[tanh(add(i0, i1))]},no_inplace}.0, ))\r\n> ('input(s) value(s):', [, ])\r\n> ========= Error: process didn't terminate successfully\r\n> ========= The application may have hit an error when dereferencing Unified\r\n> Memory from the host. Please rerun the application under cuda-gdb or Nsight\r\n> Eclipse Edition to catch host side errors.\r\n> ========= ERROR SUMMARY: 0 errors\r\n>\r\n> Theoretically, after the line 'input(s) value' there should be a line\r\n> printing the output values. I've done some experiments and the GpuConv call\r\n> also fails for the 'full' mode.\r\n>\r\n> Did anyone encounter the same issue?\r\n>\r\n> —\r\n> Reply to this email directly or view it on GitHub\r\n> <https://github.com/Theano/Theano/issues/2435>.\r\n>"}}