News for hackers. Stuff that matters.
Re:MNIST training: Showdown between JavaScript and WebAssembly by catman99 on Sunday March 11, 2018 @01:34PM (#16563881)
If you care about performance use GPU shaders.
Re:MNIST training: Showdown between JavaScript and WebAssembly by ekelsen on Sunday March 11, 2018 @02:06PM (#16564040)
If you care about performance, don't use JS for training neural networks.
Re:MNIST training: Showdown between JavaScript and WebAssembly by raverbashing on Sunday March 11, 2018 @03:57PM (#16564478)
Not everything requires a multiple layer NN to be trained. It is not optimal, sure, but it might open up different possibilities
Re:MNIST training: Showdown between JavaScript and WebAssembly by nsthorat on Sunday March 11, 2018 @01:53PM (#16563986)
Re:MNIST training: Showdown between JavaScript and WebAssembly by ekelsen on Sunday March 11, 2018 @05:44PM (#16564934)
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.

Re:MNIST training: Showdown between JavaScript and WebAssembly by DanRuta on Monday March 12, 2018 @04:56AM (#16566877)
I'm in the process of doing that :)