{"action":"created","issue":{"url":"https://api.github.com/repos/anderskm/gputil/issues/7","repository_url":"https://api.github.com/repos/anderskm/gputil","labels_url":"https://api.github.com/repos/anderskm/gputil/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/anderskm/gputil/issues/7/comments","events_url":"https://api.github.com/repos/anderskm/gputil/issues/7/events","html_url":"https://github.com/anderskm/gputil/pull/7","id":323731650,"node_id":"MDExOlB1bGxSZXF1ZXN0MTg4NTE3ODQx","number":7,"title":"Added try-except around getgpu so the function does not crash on non-gpu hosts","user":{"login":"ifeherva","id":3716849,"node_id":"MDQ6VXNlcjM3MTY4NDk=","avatar_url":"https://avatars3.githubusercontent.com/u/3716849?v=4","gravatar_id":"","url":"https://api.github.com/users/ifeherva","html_url":"https://github.com/ifeherva","followers_url":"https://api.github.com/users/ifeherva/followers","following_url":"https://api.github.com/users/ifeherva/following{/other_user}","gists_url":"https://api.github.com/users/ifeherva/gists{/gist_id}","starred_url":"https://api.github.com/users/ifeherva/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ifeherva/subscriptions","organizations_url":"https://api.github.com/users/ifeherva/orgs","repos_url":"https://api.github.com/users/ifeherva/repos","events_url":"https://api.github.com/users/ifeherva/events{/privacy}","received_events_url":"https://api.github.com/users/ifeherva/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"anderskm","id":4207617,"node_id":"MDQ6VXNlcjQyMDc2MTc=","avatar_url":"https://avatars2.githubusercontent.com/u/4207617?v=4","gravatar_id":"","url":"https://api.github.com/users/anderskm","html_url":"https://github.com/anderskm","followers_url":"https://api.github.com/users/anderskm/followers","following_url":"https://api.github.com/users/anderskm/following{/other_user}","gists_url":"https://api.github.com/users/anderskm/gists{/gist_id}","starred_url":"https://api.github.com/users/anderskm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anderskm/subscriptions","organizations_url":"https://api.github.com/users/anderskm/orgs","repos_url":"https://api.github.com/users/anderskm/repos","events_url":"https://api.github.com/users/anderskm/events{/privacy}","received_events_url":"https://api.github.com/users/anderskm/received_events","type":"User","site_admin":false},"assignees":[{"login":"anderskm","id":4207617,"node_id":"MDQ6VXNlcjQyMDc2MTc=","avatar_url":"https://avatars2.githubusercontent.com/u/4207617?v=4","gravatar_id":"","url":"https://api.github.com/users/anderskm","html_url":"https://github.com/anderskm","followers_url":"https://api.github.com/users/anderskm/followers","following_url":"https://api.github.com/users/anderskm/following{/other_user}","gists_url":"https://api.github.com/users/anderskm/gists{/gist_id}","starred_url":"https://api.github.com/users/anderskm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anderskm/subscriptions","organizations_url":"https://api.github.com/users/anderskm/orgs","repos_url":"https://api.github.com/users/anderskm/repos","events_url":"https://api.github.com/users/anderskm/events{/privacy}","received_events_url":"https://api.github.com/users/anderskm/received_events","type":"User","site_admin":false}],"milestone":null,"comments":1,"created_at":"2018-05-16T18:16:20Z","updated_at":"2018-07-03T17:06:03Z","closed_at":null,"author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/anderskm/gputil/pulls/7","html_url":"https://github.com/anderskm/gputil/pull/7","diff_url":"https://github.com/anderskm/gputil/pull/7.diff","patch_url":"https://github.com/anderskm/gputil/pull/7.patch"},"body":"I am writing unit test on some deep learning code that might run on cpu-only hosts. Currently all functions crash if you run them on a host without nvidia-smi. With this change the function returns an empty array instead of crash."},"comment":{"url":"https://api.github.com/repos/anderskm/gputil/issues/comments/402227562","html_url":"https://github.com/anderskm/gputil/pull/7#issuecomment-402227562","issue_url":"https://api.github.com/repos/anderskm/gputil/issues/7","id":402227562,"node_id":"MDEyOklzc3VlQ29tbWVudDQwMjIyNzU2Mg==","user":{"login":"ifeherva","id":3716849,"node_id":"MDQ6VXNlcjM3MTY4NDk=","avatar_url":"https://avatars3.githubusercontent.com/u/3716849?v=4","gravatar_id":"","url":"https://api.github.com/users/ifeherva","html_url":"https://github.com/ifeherva","followers_url":"https://api.github.com/users/ifeherva/followers","following_url":"https://api.github.com/users/ifeherva/following{/other_user}","gists_url":"https://api.github.com/users/ifeherva/gists{/gist_id}","starred_url":"https://api.github.com/users/ifeherva/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ifeherva/subscriptions","organizations_url":"https://api.github.com/users/ifeherva/orgs","repos_url":"https://api.github.com/users/ifeherva/repos","events_url":"https://api.github.com/users/ifeherva/events{/privacy}","received_events_url":"https://api.github.com/users/ifeherva/received_events","type":"User","site_admin":false},"created_at":"2018-07-03T17:06:03Z","updated_at":"2018-07-03T17:06:03Z","author_association":"NONE","body":"Any update on this?"}}
{"actor":{"display_login":"ifeherva"}}