{"action":"created","issue":{"url":"https://api.github.com/repos/wojzaremba/lstm/issues/3","labels_url":"https://api.github.com/repos/wojzaremba/lstm/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/wojzaremba/lstm/issues/3/comments","events_url":"https://api.github.com/repos/wojzaremba/lstm/issues/3/events","html_url":"https://github.com/wojzaremba/lstm/pull/3","id":58458894,"number":3,"title":"Enabled fallback to cunn","user":{"login":"alexbw","id":161935,"avatar_url":"https://avatars.githubusercontent.com/u/161935?v=3","gravatar_id":"","url":"https://api.github.com/users/alexbw","html_url":"https://github.com/alexbw","followers_url":"https://api.github.com/users/alexbw/followers","following_url":"https://api.github.com/users/alexbw/following{/other_user}","gists_url":"https://api.github.com/users/alexbw/gists{/gist_id}","starred_url":"https://api.github.com/users/alexbw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexbw/subscriptions","organizations_url":"https://api.github.com/users/alexbw/orgs","repos_url":"https://api.github.com/users/alexbw/repos","events_url":"https://api.github.com/users/alexbw/events{/privacy}","received_events_url":"https://api.github.com/users/alexbw/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-02-21T13:08:21Z","updated_at":"2015-02-21T13:10:56Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/wojzaremba/lstm/pulls/3","html_url":"https://github.com/wojzaremba/lstm/pull/3","diff_url":"https://github.com/wojzaremba/lstm/pull/3.diff","patch_url":"https://github.com/wojzaremba/lstm/pull/3.patch"},"body":"In the case that fbcunn is not installed, this code should still be able to run with only swapping out `LookupTableGPU` to `LookupTable`."},"comment":{"url":"https://api.github.com/repos/wojzaremba/lstm/issues/comments/75371023","html_url":"https://github.com/wojzaremba/lstm/pull/3#issuecomment-75371023","issue_url":"https://api.github.com/repos/wojzaremba/lstm/issues/3","id":75371023,"user":{"login":"soumith","id":1310570,"avatar_url":"https://avatars.githubusercontent.com/u/1310570?v=3","gravatar_id":"","url":"https://api.github.com/users/soumith","html_url":"https://github.com/soumith","followers_url":"https://api.github.com/users/soumith/followers","following_url":"https://api.github.com/users/soumith/following{/other_user}","gists_url":"https://api.github.com/users/soumith/gists{/gist_id}","starred_url":"https://api.github.com/users/soumith/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/soumith/subscriptions","organizations_url":"https://api.github.com/users/soumith/orgs","repos_url":"https://api.github.com/users/soumith/repos","events_url":"https://api.github.com/users/soumith/events{/privacy}","received_events_url":"https://api.github.com/users/soumith/received_events","type":"User","site_admin":false},"created_at":"2015-02-21T13:10:56Z","updated_at":"2015-02-21T13:10:56Z","body":"I was about to do this. You need one more mod as well, if fbcunn and compute capability 3.0 or less then still fallback to cunn. You can get compute capability from cutorch.getDeviceProperties I think"}}