astooke / Synkhronos

Extension to Theano for multi-GPU data parallelism
MIT License
20 stars 5 forks source link

TypeError: function() got an unexpected keyword argument 'broadcast_inputs' #10

Closed Nqabz closed 7 years ago

Nqabz commented 7 years ago

In an attempt to test demo1.py I am encountering an error that suggest that the broadcast_inputs keyword is not expected in this function. Could you confirm what changes I should make.

 File "/home/synkhronos/demos/demo1.py", line 23, in <module>
    f_synk = synk.function([x, y], z, broadcast_inputs=[y])
  File "/opt/conda/lib/python3.5/site-packages/synkhronos/function_builder.py", line 45, in function
    **kwargs,
TypeError: function() got an unexpected keyword argument 'broadcast_inputs'

I installed the code from here: git clone https://github.com/astooke/synkhronos and I am testing from an NVIDIA DGX1 docker container.

astooke commented 7 years ago

Hi, sorry the demos were leftover from a previous version.

I have just pushed some new demos, demo_1 through demo_4, please give those a try!

Nqabz commented 7 years ago

I will give the new demos a try tomorrow. Thanks for getting back to me.