News for hackers. Stuff that matters.
Re:Deep Learning in JavaScript by treprinum on Thursday March 28, 2024 @07:55PM (#39858953)
Do you plan to implement WebGPU acceleration to make it production-ready?
Re:Deep Learning in JavaScript by eduardoleao052 on Thursday March 28, 2024 @08:03PM (#39859013)
I am currently studying Typescript and other JavaScript libraries to improve the library’s performance. So adding GPU support is in sight in the future.
Re:Deep Learning in JavaScript by dleeftink on Thursday March 28, 2024 @09:46PM (#39859692)
You might already be familiar, but a GPU.js backend can provide some speedups via good old WebGL -- no need for WebGPU just yet!

[0]: https://github.com/gpujs/gpu.js/

Re:Deep Learning in JavaScript by eduardoleao052 on Friday March 29, 2024 @02:09AM (#39861152)
Thanks for the tip! I’ll definitely take a look. Adding GPU support is my next step!
Re:Deep Learning in JavaScript by dleeftink on Friday March 29, 2024 @09:30AM (#39863898)
Not a problem, I've benchmarked some GPU backed js libraries here:

[0]: https://observablehq.com/@dleeftink/ultimate-compute-show-do...

Re:Deep Learning in JavaScript by eduardoleao052 on Friday March 29, 2024 @09:53AM (#39864126)
Thank you! That’s going to help out a lot!
Re:Deep Learning in JavaScript by pzo on Friday March 29, 2024 @06:34AM (#39862475)
FWIW also taichi is quite popular in python and seems has some javascript related implementation (I haven't used it though), taichi.js [0]

[0] https://github.com/AmesingFlank/taichi.js

Re:Deep Learning in JavaScript by eduardoleao052 on Friday March 29, 2024 @09:53AM (#39864129)
Cool! Will take a look