clab / dynet

DyNet: The Dynamic Neural Network Toolkit
Apache License 2.0
3.42k stars 704 forks source link

Feature request: multiple concurrent computational graphs and multithreading #1495

Open slaweku opened 6 years ago

slaweku commented 6 years ago

Hi, There was some talk about it many months ago. Any chance it will be done in the next few months? I appreciate Dynet a lot, but this is really a stumbling block for me.

Regards, Slawek

slaweku commented 6 years ago

Hi, I mean just multiple concurrent computational graphs, I can take care of avoiding concurrent updates to the same graph.

Regards, Slawek

kwalcock commented 5 years ago

I hope to see this functionality as well. We'd like to use DyNet for the speed of C++, but it seems that only a single computational graph is supported. It could be a couple hundred times faster if we could have a separate computational graph for each thread.