mxnet icon indicating copy to clipboard operation
mxnet copied to clipboard

multiple GPU support?

Open ZhangAustin opened this issue 11 years ago • 5 comments

Does mxnet support multiple GPUs for DNN/LSTM parallel training? How?

In terms of speed/efficiency, how does the "parameter server" parallelzation, comparing to the "asynchronized sgd"?

ZhangAustin avatar Nov 05 '15 22:11 ZhangAustin

MXNet support not only multiple GPU but also multi-machine.

For Feedforward network, there is high-level API which is described here: https://mxnet.readthedocs.org/en/latest/python/model.html#use-multiple-devices For LSTM, we currently make the example by using low level API. To run on multi-device, you need to add key value API which is hidden in high level feed forward model API. For Speed, you can take this benchmark for reference: https://github.com/dmlc/mxnet/tree/master/example/distributed-training

On Thu, Nov 5, 2015 at 3:23 PM Austin Zhang [email protected] wrote:

Does mxnet support multiple GPUs for DNN/LSTM parallel training? How?

In terms of speed/efficiency, how does the "parameter server" parallelzation, comparing to the "asynchronized sgd"?

— Reply to this email directly or view it on GitHub https://github.com/dmlc/mxnet/issues/498.

antinucleon avatar Nov 05 '15 23:11 antinucleon

ps or kvstore is a _system abstraction_ to implement the parallel learning _algorithms_. On single node multi GPU, the algorithm is synchronized SGD. While distributed version support both sync and async algorithms

tqchen avatar Nov 05 '15 23:11 tqchen

is windows version of multi-machine supported now ?

lsvigorous avatar Nov 10 '15 03:11 lsvigorous

Yes,

On Mon, Nov 9, 2015 at 7:54 PM lsvigorous [email protected] wrote:

is windows version of multi-machine supported now ?

— Reply to this email directly or view it on GitHub https://github.com/dmlc/mxnet/issues/498#issuecomment-155276485.

antinucleon avatar Nov 10 '15 04:11 antinucleon

https://mxnet.readthedocs.org/en/latest/distributed_training.html

tqchen avatar Nov 11 '15 01:11 tqchen