Live data from Hacker News

MNIST training: Showdown between JavaScript and WebAssembly

ai.danruta.co.uk

1–10 of 34 posts

Re: MNIST training: Showdown between JavaScript and WebAssembly

#7
post #6

It would be a more fair comparison to https://deeplearnjs.org/ , since CPU training is not standard practice for neural nets these days.

We've done some initial tests ourselves. WASM doesn't yet support SIMD so WebGL tends to be 5-10x faster. SIMD is actively being worked on by many smart people in Chromium / other browsers, so I would expect to see huge wins in the near term future. When that happens, deeplearn.js will have a WASM backend. WASM has a much better memory management story (destructors on the C++ side) so I'm super excited about its future.
Post reply on HN