{"action":"opened","issue":{"url":"https://api.github.com/repos/facebook/fb.resnet.torch/issues/2","repository_url":"https://api.github.com/repos/facebook/fb.resnet.torch","labels_url":"https://api.github.com/repos/facebook/fb.resnet.torch/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/facebook/fb.resnet.torch/issues/2/comments","events_url":"https://api.github.com/repos/facebook/fb.resnet.torch/issues/2/events","html_url":"https://github.com/facebook/fb.resnet.torch/issues/2","id":132541816,"number":2,"title":"multi-gpu not working ","user":{"login":"arBest","id":9437360,"avatar_url":"https://avatars.githubusercontent.com/u/9437360?v=3","gravatar_id":"","url":"https://api.github.com/users/arBest","html_url":"https://github.com/arBest","followers_url":"https://api.github.com/users/arBest/followers","following_url":"https://api.github.com/users/arBest/following{/other_user}","gists_url":"https://api.github.com/users/arBest/gists{/gist_id}","starred_url":"https://api.github.com/users/arBest/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arBest/subscriptions","organizations_url":"https://api.github.com/users/arBest/orgs","repos_url":"https://api.github.com/users/arBest/repos","events_url":"https://api.github.com/users/arBest/events{/privacy}","received_events_url":"https://api.github.com/users/arBest/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-02-09T21:34:47Z","updated_at":"2016-02-09T21:34:47Z","closed_at":null,"body":"Hello,\r\n\r\nGreat job.\r\n\r\nI am able to run the examples (tried only cifar10) fine with single gpu. But when using multi-gpu i get the following error:\r\n\r\nth main.lua -dataset cifar10 -batchSize 256 -nGPU 2 -nThreads 8 -backend cudnn -nEpochs 2 -depth 32\r\n\r\n/usr/local/torch/install/bin/luajit: ...l/torch/install/share/lua/5.1/cunn/DataParallelTable.lua:217: attempt to compare number with table\r\nstack traceback:\r\n        ...l/torch/install/share/lua/5.1/cunn/DataParallelTable.lua:217: in function 'add'\r\n        ./models/init.lua:90: in function 'setup'\r\n        main.lua:26: in main chunk\r\n        [C]: in function 'dofile'\r\n        ...ocal/torch/install/lib/luarocks/rocks/trepl/scm-1/bin/th:131: in main chunk\r\n        [C]: at 0x004064d0\r\n\r\nNot really sure why though. \r\n\r\nI have trained fine on multiple GPU's before on Tesla k-40's on .https://github.com/soumith/imagenet-multiGPU.torch\r\n\r\nAny help would be much appreciated !! Thanks,"}}