DNC icon indicating copy to clipboard operation
DNC copied to clipboard

how to use gpu to train the model

Open ricky1203 opened this issue 8 years ago • 4 comments

will you please add code to use GPU to train the model, i am not familiar with chainer or anyone can port the code to tensorflow thanks

ricky1203 avatar Oct 30 '16 13:10 ricky1203

Although I'm not familiar with Chainer too, I have found a reference of using GPUs in it: http://docs.chainer.org/en/stable/tutorial/gpu.html Hope that will help!

physicso avatar Nov 07 '16 23:11 physicso

It looks like someone have implemented the gpu version here

0bserver07 avatar Nov 09 '16 20:11 0bserver07

@0bserver07 Looks great! Thanks!

physicso avatar Nov 09 '16 23:11 physicso

I created an optimized implementation, extending yos1up's: https://github.com/AdeelMufti/DifferentiableNeuralComputer.

It's around 50x faster, and can run on GPU (which is only beneficial for large memory sizes).

AdeelMufti avatar Jul 15 '18 08:07 AdeelMufti