{"action":"created","issue":{"url":"https://api.github.com/repos/NervanaSystems/neon/issues/19","labels_url":"https://api.github.com/repos/NervanaSystems/neon/issues/19/labels{/name}","comments_url":"https://api.github.com/repos/NervanaSystems/neon/issues/19/comments","events_url":"https://api.github.com/repos/NervanaSystems/neon/issues/19/events","html_url":"https://github.com/NervanaSystems/neon/issues/19","id":74344462,"number":19,"title":"Change GPU check","user":{"login":"Kaixhin","id":991891,"avatar_url":"https://avatars.githubusercontent.com/u/991891?v=3","gravatar_id":"","url":"https://api.github.com/users/Kaixhin","html_url":"https://github.com/Kaixhin","followers_url":"https://api.github.com/users/Kaixhin/followers","following_url":"https://api.github.com/users/Kaixhin/following{/other_user}","gists_url":"https://api.github.com/users/Kaixhin/gists{/gist_id}","starred_url":"https://api.github.com/users/Kaixhin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kaixhin/subscriptions","organizations_url":"https://api.github.com/users/Kaixhin/orgs","repos_url":"https://api.github.com/users/Kaixhin/repos","events_url":"https://api.github.com/users/Kaixhin/events{/privacy}","received_events_url":"https://api.github.com/users/Kaixhin/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-05-08T12:17:46Z","updated_at":"2015-05-14T10:23:17Z","closed_at":"2015-05-11T17:14:32Z","body":"I've been making Docker images for deep learning libraries, with CPU-only and CUDA-enabled versions. I've successfully made the [base version](https://registry.hub.docker.com/u/kaixhin/neon/) of neon , but my [CUDA version](https://registry.hub.docker.com/u/kaixhin/cuda-neon/) doesn't get built properly. The issue in the Makefile is that `nvidia-smi` is used to check that a CUDA-enabled GPU is available, and whilst this isn't available in Docker build environments it has been possible to build libraries with the installed SDK. If a GPU isn't needed for the build, is it possible to change this test to check for something that is e.g. `nvcc --version`?"},"comment":{"url":"https://api.github.com/repos/NervanaSystems/neon/issues/comments/101995753","html_url":"https://github.com/NervanaSystems/neon/issues/19#issuecomment-101995753","issue_url":"https://api.github.com/repos/NervanaSystems/neon/issues/19","id":101995753,"user":{"login":"Kaixhin","id":991891,"avatar_url":"https://avatars.githubusercontent.com/u/991891?v=3","gravatar_id":"","url":"https://api.github.com/users/Kaixhin","html_url":"https://github.com/Kaixhin","followers_url":"https://api.github.com/users/Kaixhin/followers","following_url":"https://api.github.com/users/Kaixhin/following{/other_user}","gists_url":"https://api.github.com/users/Kaixhin/gists{/gist_id}","starred_url":"https://api.github.com/users/Kaixhin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kaixhin/subscriptions","organizations_url":"https://api.github.com/users/Kaixhin/orgs","repos_url":"https://api.github.com/users/Kaixhin/repos","events_url":"https://api.github.com/users/Kaixhin/events{/privacy}","received_events_url":"https://api.github.com/users/Kaixhin/received_events","type":"User","site_admin":false},"created_at":"2015-05-14T10:23:17Z","updated_at":"2015-05-14T10:23:17Z","body":"Good point - I've now replaced the CUDA version with [nervanagpu-neon](https://registry.hub.docker.com/u/kaixhin/nervanagpu-neon/) and [cudanet-neon](https://registry.hub.docker.com/u/kaixhin/cudanet-neon/).\r\n\r\nAs far as I can tell it isn't necessary to install [cuda-convnet2](https://github.com/NervanaSystems/cuda-convnet2) beforehand as the neon installer does it. One weird issue I've had on doing local builds is that when attempting to do a multithreaded make on the cudanet repo it works fine, but it consistently fails when run on the neon repo with the cudanet flag. I'm not going to raise an issue but if you wish to investigate further the most pertinent log I saw was\r\n\r\n`read jobs pipe: Resource temporarily unavailable.  Stop`\r\n\r\nwhich looks like somewhere along the line pip isn't handling memory well."}}