François Pays
unread,Jan 18, 2019, 7:33:16 AM1/18/19Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to TensorFlow.js Discussion
Sorry for the delay.
Yes, running tensorflowjs in a worker is still a little challenging. Some browsers support offScreen canvas, some other don’t. For some, it’s an option the user enables. Even when OffScreen canvas is supported, I had to fake the creation of the canvas (issue 102), and also supplement a function missing in firefox workers. Look at main.js for details.
I was able to port the native BLAS backend to wasm but only after replacing the sgemm routine with very naive implementations. It works for debugging purposes but no wonder it’s very slow. Nonetheless it achieves 62 nodes/sec compared with 960 nodes/sec using tensorflowjs.
Best,
Francois