Hacker News new | ask | show | jobs
by catman99 3026 days ago
If you care about performance use GPU shaders.
3 comments

If you care about performance, don't use JS for training neural networks.
Not everything requires a multiple layer NN to be trained. It is not optimal, sure, but it might open up different possibilities
My comment was meant to imply that if you're using JS, then you already care about other things _more_ than you care about performance.

Once you've decided that you do care about those other things, then getting the best performance you can is great and deeplearnjs is very useful.

But if what you care about most is performance, then using JS is not the way to go. I'm guessing deeplearnjs is an order of magnitude slower (at least) for training a modern convnet relative to cudnn or MKL. And I don't think it's currently possible to use multiple GPUs? Although you could imagine some crazy distributed asynchronous training running in browsers all over the world.

I'm in the process of doing that :)