{"action":"closed","issue":{"url":"https://api.github.com/repos/kundajelab/dragonn/issues/27","repository_url":"https://api.github.com/repos/kundajelab/dragonn","labels_url":"https://api.github.com/repos/kundajelab/dragonn/issues/27/labels{/name}","comments_url":"https://api.github.com/repos/kundajelab/dragonn/issues/27/comments","events_url":"https://api.github.com/repos/kundajelab/dragonn/issues/27/events","html_url":"https://github.com/kundajelab/dragonn/issues/27","id":206792939,"number":27,"title":"DragoNN with multiple GPUs","user":{"login":"satroz","id":25684185,"avatar_url":"https://avatars2.githubusercontent.com/u/25684185?v=3","gravatar_id":"","url":"https://api.github.com/users/satroz","html_url":"https://github.com/satroz","followers_url":"https://api.github.com/users/satroz/followers","following_url":"https://api.github.com/users/satroz/following{/other_user}","gists_url":"https://api.github.com/users/satroz/gists{/gist_id}","starred_url":"https://api.github.com/users/satroz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/satroz/subscriptions","organizations_url":"https://api.github.com/users/satroz/orgs","repos_url":"https://api.github.com/users/satroz/repos","events_url":"https://api.github.com/users/satroz/events{/privacy}","received_events_url":"https://api.github.com/users/satroz/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-02-10T13:13:36Z","updated_at":"2017-03-07T22:16:06Z","closed_at":"2017-03-07T22:16:06Z","body":"Hello,\r\n\r\nGreat framework !\r\nI was wondering if it's possible make DragoNN work with multiple GPUs?\r\nWhen I try to run the example script with the theano flags Iike this:\r\n`THEANO_FLAGS='contexts=dev0->cuda0;dev1->cuda1,floatX=float32' python simple_motif_detection.py\r\n`\r\n\r\nI get the following error (repeated multiple times):\r\n\r\n`ERROR (theano.gof.opt): Optimization failure due to: LocalOptGroup(local_abstractconv_cudnn,local_abstractconv_gw_cudnn,local_abstractconv_gi_cudnn,local_abstractconv_gemm,local_abstractconv3d_gemm,local_abstractconv_gradweights_gemm,local_abstractconv3d_gradweights_gemm,local_abstractconv_gradinputs_gemm,local_abstractconv3d_gradinputs_gemm)\r\nERROR (theano.gof.opt): node: AbstractConv2d{convdim=2, border_mode='valid', subsample=(1, 1), filter_flip=True, imshp=(None, 1, 4, 500), kshp=(45, 1, 4, 10), filter_dilation=(1, 1)}(Assert{msg='AbstractConv shape mismatch: shape of image does not match given imshp.'}.0, Assert{msg='AbstractConv shape mismatch: shape of filters does not match given kshp.'}.0)\r\nERROR (theano.gof.opt): TRACEBACK:\r\nERROR (theano.gof.opt): Traceback (most recent call last):\r\n  File \"/isdata/nalcaraz/Programs/anaconda2/lib/python2.7/site-packages/Theano-0.9.0b1-py2.7.egg/theano/gof/opt.py\", line 1964, in process_node\r\n    replacements = lopt.transform(node)\r\n  File \"/isdata/nalcaraz/Programs/anaconda2/lib/python2.7/site-packages/Theano-0.9.0b1-py2.7.egg/theano/gof/opt.py\", line 1316, in transform\r\n    new_repl = opt.transform(node)\r\n  File \"/isdata/nalcaraz/Programs/anaconda2/lib/python2.7/site-packages/Theano-0.9.0b1-py2.7.egg/theano/gpuarray/dnn.py\", line 2641, in local_abstractconv_cudnn\r\n    ctx = infer_context_name(*node.inputs)\r\n  File \"/isdata/nalcaraz/Programs/anaconda2/lib/python2.7/site-packages/Theano-0.9.0b1-py2.7.egg/theano/gpuarray/basic_ops.py\", line 122, in infer_context_name\r\n    raise ValueError(\"Could not infer context from inputs\")\r\nValueError: Could not infer context from inputs\r\n`\r\n\r\nIt works fine when I use just use one GPU.  \r\nI'm using dragonn version 0.1.3 and\r\nTheano 0.9.0beta1.\r\n\r\n\r\n\r\n"}}
{"actor":{"display_login":"jisraeli"}}