{"action":"created","issue":{"url":"https://api.github.com/repos/pfnet/chainer/issues/1333","repository_url":"https://api.github.com/repos/pfnet/chainer","labels_url":"https://api.github.com/repos/pfnet/chainer/issues/1333/labels{/name}","comments_url":"https://api.github.com/repos/pfnet/chainer/issues/1333/comments","events_url":"https://api.github.com/repos/pfnet/chainer/issues/1333/events","html_url":"https://github.com/pfnet/chainer/issues/1333","id":162682919,"number":1333,"title":"train_mnist on Chainer 1.10 + Ubuntu 16.04 + Cuda V7.5","user":{"login":"MatthieuBizien","id":173090,"avatar_url":"https://avatars.githubusercontent.com/u/173090?v=3","gravatar_id":"","url":"https://api.github.com/users/MatthieuBizien","html_url":"https://github.com/MatthieuBizien","followers_url":"https://api.github.com/users/MatthieuBizien/followers","following_url":"https://api.github.com/users/MatthieuBizien/following{/other_user}","gists_url":"https://api.github.com/users/MatthieuBizien/gists{/gist_id}","starred_url":"https://api.github.com/users/MatthieuBizien/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MatthieuBizien/subscriptions","organizations_url":"https://api.github.com/users/MatthieuBizien/orgs","repos_url":"https://api.github.com/users/MatthieuBizien/repos","events_url":"https://api.github.com/users/MatthieuBizien/events{/privacy}","received_events_url":"https://api.github.com/users/MatthieuBizien/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-06-28T13:14:44Z","updated_at":"2016-06-28T14:52:40Z","closed_at":null,"body":"When I use Chainer with Mnist, I got a weird error `Value 'sm_61' is not defined for option 'gpu-architecture'`. I installed Cuda using https://www.pugetsystems.com/labs/hpc/NVIDIA-CUDA-with-Ubuntu-16-04-beta-on-a-laptop-if-you-just-cannot-wait-775/ All the Cuda samples works, except the ones described by the blog post.\r\n\r\n```\r\n$ chainer-1.9.1/examples/mnist/train_mnist.py --gpu 0 2>&1 | tee logs.txt\r\n/usr/local/lib/python2.7/dist-packages/chainer/cuda.py:87: UserWarning: cuDNN is not enabled.\r\nPlease reinstall chainer after you install cudnn\r\n(see https://github.com/pfnet/chainer#installation).\r\n  'cuDNN is not enabled.\\n'\r\nGPU: 0\r\n# unit: 1000\r\n# Minibatch-size: 100\r\n# epoch: 20\r\nNetwork type: simple\r\n\r\nload MNIST dataset\r\nDownloading train-images-idx3-ubyte.gz...\r\nDone\r\nDownloading train-labels-idx1-ubyte.gz...\r\nDone\r\nDownloading t10k-images-idx3-ubyte.gz...\r\nDone\r\nDownloading t10k-labels-idx1-ubyte.gz...\r\nDone\r\nConverting training data...\r\nDone\r\nConverting test data...\r\nDone\r\nSave output...\r\nDone\r\nConvert completed\r\nepoch 1\r\nTraceback (most recent call last):\r\n  File \"/home/matthieu/Programmes/chainer-1.9.1/examples/mnist/train_mnist.py\", line 102, in <module>\r\n    optimizer.update(model, x, t)\r\n  File \"/usr/local/lib/python2.7/dist-packages/chainer/optimizer.py\", line 375, in update\r\n    self.target.zerograds()\r\n  File \"/usr/local/lib/python2.7/dist-packages/chainer/link.py\", line 530, in zerograds\r\n    super(Chain, self).zerograds()\r\n  File \"/usr/local/lib/python2.7/dist-packages/chainer/link.py\", line 318, in zerograds\r\n    param.zerograd()\r\n  File \"/usr/local/lib/python2.7/dist-packages/chainer/variable.py\", line 219, in zerograd\r\n    self._grad.fill(0)\r\n  File \"cupy/core/core.pyx\", line 344, in cupy.core.core.ndarray.fill (cupy/core/core.cpp:7636)\r\n  File \"cupy/core/core.pyx\", line 353, in cupy.core.core.ndarray.fill (cupy/core/core.cpp:7581)\r\n  File \"cupy/core/core.pyx\", line 1292, in cupy.core.core.elementwise_copy (cupy/core/core.cpp:49352)\r\n  File \"cupy/core/elementwise.pxi\", line 768, in cupy.core.core.ufunc.__call__ (cupy/core/core.cpp:40183)\r\n  File \"cupy/util.pyx\", line 36, in cupy.util.memoize.decorator.ret (cupy/util.cpp:1194)\r\n  File \"cupy/core/elementwise.pxi\", line 576, in cupy.core.core._get_ufunc_kernel (cupy/core/core.cpp:36755)\r\n  File \"cupy/core/elementwise.pxi\", line 32, in cupy.core.core._get_simple_elementwise_kernel (cupy/core/core.cpp:27237)\r\n  File \"cupy/core/carray.pxi\", line 87, in cupy.core.core.compile_with_cache (cupy/core/core.cpp:26915)\r\n  File \"/usr/local/lib/python2.7/dist-packages/cupy/cuda/compiler.py\", line 141, in compile_with_cache\r\n    cubin = nvcc(source, options, arch)\r\n  File \"/usr/local/lib/python2.7/dist-packages/cupy/cuda/compiler.py\", line 66, in nvcc\r\n    _run_nvcc(cmd, root_dir)\r\n  File \"/usr/local/lib/python2.7/dist-packages/cupy/cuda/compiler.py\", line 44, in _run_nvcc\r\n    raise RuntimeError(msg)\r\nRuntimeError: `nvcc` command returns non-zero exit status.\r\ncommand: ['nvcc', '--cubin', '-arch', 'sm_61', '/tmp/tmpZRGwXz/kern.cu']\r\nreturn-code: 1\r\nstdout/stderr:\r\nnvcc fatal   : Value 'sm_61' is not defined for option 'gpu-architecture'\r\n```"},"comment":{"url":"https://api.github.com/repos/pfnet/chainer/issues/comments/229073909","html_url":"https://github.com/pfnet/chainer/issues/1333#issuecomment-229073909","issue_url":"https://api.github.com/repos/pfnet/chainer/issues/1333","id":229073909,"user":{"login":"unnonouno","id":740680,"avatar_url":"https://avatars.githubusercontent.com/u/740680?v=3","gravatar_id":"","url":"https://api.github.com/users/unnonouno","html_url":"https://github.com/unnonouno","followers_url":"https://api.github.com/users/unnonouno/followers","following_url":"https://api.github.com/users/unnonouno/following{/other_user}","gists_url":"https://api.github.com/users/unnonouno/gists{/gist_id}","starred_url":"https://api.github.com/users/unnonouno/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/unnonouno/subscriptions","organizations_url":"https://api.github.com/users/unnonouno/orgs","repos_url":"https://api.github.com/users/unnonouno/repos","events_url":"https://api.github.com/users/unnonouno/events{/privacy}","received_events_url":"https://api.github.com/users/unnonouno/received_events","type":"User","site_admin":false},"created_at":"2016-06-28T14:52:40Z","updated_at":"2016-06-28T14:52:40Z","body":"Which video card and which version of CUDA do you use? Please show us details of your environment."}}
{"actor":{"display_login":"unnonouno"}}