{"action":"closed","issue":{"url":"https://api.github.com/repos/graphific/DL-Meetup-intro/issues/1","labels_url":"https://api.github.com/repos/graphific/DL-Meetup-intro/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/graphific/DL-Meetup-intro/issues/1/comments","events_url":"https://api.github.com/repos/graphific/DL-Meetup-intro/issues/1/events","html_url":"https://github.com/graphific/DL-Meetup-intro/issues/1","id":68904433,"number":1,"title":"GpuCrossentropySoftmaxArgmax1HotWithBias in the DNN example block 38","user":{"login":"gforge","id":2198913,"avatar_url":"https://avatars.githubusercontent.com/u/2198913?v=3","gravatar_id":"","url":"https://api.github.com/users/gforge","html_url":"https://github.com/gforge","followers_url":"https://api.github.com/users/gforge/followers","following_url":"https://api.github.com/users/gforge/following{/other_user}","gists_url":"https://api.github.com/users/gforge/gists{/gist_id}","starred_url":"https://api.github.com/users/gforge/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gforge/subscriptions","organizations_url":"https://api.github.com/users/gforge/orgs","repos_url":"https://api.github.com/users/gforge/repos","events_url":"https://api.github.com/users/gforge/events{/privacy}","received_events_url":"https://api.github.com/users/gforge/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-04-16T11:30:26Z","updated_at":"2015-08-02T14:44:04Z","closed_at":"2015-08-02T14:44:04Z","body":"Everything runs fine when running on the CPU while when I run the same code on my Tesla K40c device I get the following error:\r\n\r\n```\r\n---------------------------------------------------------------------------\r\nRuntimeError                              Traceback (most recent call last)\r\n<ipython-input-38-45ae0203312f> in <module>()\r\n      6 for epoch in xrange(n_epochs):\r\n      7     for minibatch_index in xrange(n_train_batches):\r\n----> 8         minibatch_avg_cost = train_model(minibatch_index)\r\n      9 \r\n     10     validation_losses = [validate_model(i) for i\r\n\r\n/usr/local/lib/python2.7/dist-packages/theano/compile/function_module.pyc in __call__(self, *args, **kwargs)\r\n    586                     # For the CVM\r\n    587                     gof.vm.raise_with_op(self.fn.nodes[self.fn.position_of_error],\r\n--> 588                                          self.fn.thunks[self.fn.position_of_error])\r\n    589                 else:\r\n    590                     # For the c linker\r\n\r\n/usr/local/lib/python2.7/dist-packages/theano/compile/function_module.pyc in __call__(self, *args, **kwargs)\r\n    577         t0_fn = time.time()\r\n    578         try:\r\n--> 579             outputs = self.fn()\r\n    580         except Exception:\r\n    581             if hasattr(self.fn, 'position_of_error'):\r\n\r\nRuntimeError: Cuda error: GpuCrossentropySoftmaxArgmax1HotWithBias node_6b7275e07874be7aaf65352648b8c2d7_0: invalid configuration argument.\r\nThe kernel was launched with 1 threads, 0 blocks and 0 shared memory\r\n\r\nApply node that caused the error: GpuCrossentropySoftmaxArgmax1HotWithBias(GpuDot22.0, b, GpuElemwise{Identity{output_types_preference=<theano.scalar.basic.specific_out object at 0x7f2984c598d0>},no_inplace}.0)\r\nInputs shapes: [(0, 10), (10,), (0,)]\r\nInputs strides: [(10, 1), (1,), (1,)]\r\nInputs types: [CudaNdarrayType(float32, matrix), CudaNdarrayType(float32, vector), CudaNdarrayType(float32, vector)]\r\nUse the Theano flag 'exception_verbosity=high' for a debugprint of this apply node.\r\n```\r\n\r\nI run on a Ubuntu 14.04 system with a basic .theanorc config:\r\n```\r\n~$ cat .theanorc \r\n[global]\r\nfloatX = float32\r\ndevice = gpu0\r\n\r\n[nvcc]\r\nfastmath = True\r\n```\r\n\r\nAny clue to what may be causing this error?\r\n\r\nThanks by the way for an excellent tutorial!\r\n"}}