{"action":"created","issue":{"url":"https://api.github.com/repos/alexjc/neural-doodle/issues/96","repository_url":"https://api.github.com/repos/alexjc/neural-doodle","labels_url":"https://api.github.com/repos/alexjc/neural-doodle/issues/96/labels{/name}","comments_url":"https://api.github.com/repos/alexjc/neural-doodle/issues/96/comments","events_url":"https://api.github.com/repos/alexjc/neural-doodle/issues/96/events","html_url":"https://github.com/alexjc/neural-doodle/issues/96","id":175810852,"number":96,"title":"CUDA driver version is insufficient for CUDA runtime version","user":{"login":"rayset","id":9410263,"avatar_url":"https://avatars.githubusercontent.com/u/9410263?v=3","gravatar_id":"","url":"https://api.github.com/users/rayset","html_url":"https://github.com/rayset","followers_url":"https://api.github.com/users/rayset/followers","following_url":"https://api.github.com/users/rayset/following{/other_user}","gists_url":"https://api.github.com/users/rayset/gists{/gist_id}","starred_url":"https://api.github.com/users/rayset/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rayset/subscriptions","organizations_url":"https://api.github.com/users/rayset/orgs","repos_url":"https://api.github.com/users/rayset/repos","events_url":"https://api.github.com/users/rayset/events{/privacy}","received_events_url":"https://api.github.com/users/rayset/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-09-08T17:16:41Z","updated_at":"2016-11-03T04:20:50Z","closed_at":null,"body":"similar problem of https://github.com/alexjc/neural-doodle/issues/92.\n\nI have a pascal 1070, cuda 8, cudnn 5, theano that works in gpu mode, cuda that works with other programs and path variables configured well. I have the latest drivers.\n\nwhen I try to run the alias doodle I get this error\n\n`Traceback (most recent call last):\n  File \"doodle.py\", line 85, in <module>\n    import theano\n  File \"/usr/local/lib/python3.4/dist-packages/theano/__init__.py\", line 103, in <module>\n    import theano.sandbox.cuda\n  File \"/usr/local/lib/python3.4/dist-packages/theano/sandbox/cuda/__init__.py\", line 697, in <module>\n    use(device=config.device, force=config.force_device, test_driver=False)\n  File \"/usr/local/lib/python3.4/dist-packages/theano/sandbox/cuda/__init__.py\", line 495, in use\n    device, cuda_initialization_error_message))\nOSError: You forced the use of gpu device gpu, but CUDA initialization failed with error:\nUnable to get the number of gpus available: CUDA driver version is insufficient for CUDA runtime version\n`\n\nin my alias I've put: \n\n`alias doodle=\"sudo docker run -v $(pwd)/samples:/nd/samples -v $(pwd)/frames:/nd/frames \\\n                         -it alexjc/neural-doodle:gpu\"\n`\n\nfor some reason I had to put a sudo in there (even hello world doesn't work without that sudo) and I added '':gpu''.\n\nafter I did everything I also ran the nvidia-docker script. same error.\n\nI then updated the script like this:\n\n`# Install dependencies\napt-get update\napt-get install --assume-yes \"wget\"\n# Install Docker Engine\n\nwget --quiet --output-document=\"-\" \"https://get.docker.com\" | sh\nusermod --append --groups=\"docker\" \"$SUDO_USER\"\n# Install an NVIDIA Docker wrapper\n\nNVIDIA_DOCKER=\"nvidia-docker_1.0.0.rc.3-1_amd64.deb\"\nNVIDIA_DOCKER_URL=\"https://github.com/NVIDIA/nvidia-docker/releases/download/v1.0.0-rc.3/\"\n\nwget --directory-prefix=\"/tmp/\" --continue \"$NVIDIA_DOCKER_URL/$NVIDIA_DOCKER\"\ndpkg --install \"/tmp/$NVIDIA_DOCKER\"\nrm --interactive \"/tmp/$NVIDIA_DOCKER\"\n\nnvidia-docker volume setup`\n\nbut no results (he asks me if I've already installed docker tho, and says it may cause problems).\n\ndoodle --help works.\n"},"comment":{"url":"https://api.github.com/repos/alexjc/neural-doodle/issues/comments/258061860","html_url":"https://github.com/alexjc/neural-doodle/issues/96#issuecomment-258061860","issue_url":"https://api.github.com/repos/alexjc/neural-doodle/issues/96","id":258061860,"user":{"login":"thommiano","id":7226192,"avatar_url":"https://avatars.githubusercontent.com/u/7226192?v=3","gravatar_id":"","url":"https://api.github.com/users/thommiano","html_url":"https://github.com/thommiano","followers_url":"https://api.github.com/users/thommiano/followers","following_url":"https://api.github.com/users/thommiano/following{/other_user}","gists_url":"https://api.github.com/users/thommiano/gists{/gist_id}","starred_url":"https://api.github.com/users/thommiano/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thommiano/subscriptions","organizations_url":"https://api.github.com/users/thommiano/orgs","repos_url":"https://api.github.com/users/thommiano/repos","events_url":"https://api.github.com/users/thommiano/events{/privacy}","received_events_url":"https://api.github.com/users/thommiano/received_events","type":"User","site_admin":false},"created_at":"2016-11-03T04:20:50Z","updated_at":"2016-11-03T04:20:50Z","body":"@rayset Did you figure this out? When I use:\r\n`alias doodle=\"sudo docker run -v $(pwd)/samples:/nd/samples -v $(pwd)/frames:/nd/frames \\ -it alexjc/neural-doodle:gpu\"`\r\nI can run `doodle --help` without any problems. I run into problems when I try to launch a container with `docker run alexjc/neural-doodle:gpu` or `doodle` which both return the same error as above:\r\n`Traceback (most recent call last): File \"doodle.py\", line 85, in <module> import theano File \"/usr/local/lib/python3.4/dist-packages/theano/__init__.py\", line 103, in <module> import theano.sandbox.cuda File \"/usr/local/lib/python3.4/dist-packages/theano/sandbox/cuda/__init__.py\", line 697, in <module> use(device=config.device, force=config.force_device, test_driver=False) File \"/usr/local/lib/python3.4/dist-packages/theano/sandbox/cuda/__init__.py\", line 495, in use device, cuda_initialization_error_message)) OSError: You forced the use of gpu device gpu, but CUDA initialization failed with error: Unable to get the number of gpus available: CUDA driver version is insufficient for CUDA runtime version`\r\nI tried @LazyMammal alias, but it still returns the same error."}}
{"actor":{"display_login":"thommiano"}}