lab-grad
gpu.js
lab-grad | gpu.js | |
---|---|---|
1 | 9 | |
17 | 14,968 | |
- | 0.4% | |
- | 0.0 | |
over 1 year ago | 3 months ago | |
TypeScript | JavaScript | |
- | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
lab-grad
-
Deep Learning in JavaScript
Very very cool to see!!!
So yours is SO MUCH MORE fleshed out than mine, but I have a similar (again very fledgling) one going here that uses Typescript:
https://github.com/Marviel/lab-grad
I think there are some really neat opportunities to increase the approachability of ML algorithms when you take advantage of the Typescript templating system to explicitly ensure you're not accidentally composing tensors of incorrect shapes.
gpu.js
-
Deep Learning in JavaScript
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/
-
Show HN: Shadeup β A language that makes WebGPU easier
Very cool project.
I learned WebGL three years ago but before I dove into the underlying concepts I used GPU.js [1] to quickly prototype my project. Eventually, the abstraction prevented necessary performance optimizations so I switched to vanilla GLSL and these vanilla GLSL "shaders" were initially ejected from GPU.js.
Writing JS code then looking at the generated WebGPU output is a great way to get familiar with WebGPU. Thanks for this.
[1] https://github.com/gpujs/gpu.js/
-
Gpu.js: GPU Accelerated JavaScript
I used this library on my project but I think it's no longer maintained. I PRed a fix for buggy atan2 over a year ago and no movement [1]. I do highly recommend it if you're a web developer interested in harnessing parallel processing.
[1] https://github.com/gpujs/gpu.js/pull/683
-
Brain.js: GPU Accelerated Neural Networks in JavaScript
Thanks for pointing this out. I've submitted a PR to resolve this: https://github.com/gpujs/gpu.js/issues/757
That being said, if you're not building from source (you're running an LTS version of node on a supported platform), you don't need to worry about python or many of the build deps.
- GPU.js
- For what projects, Nodejs is an absolute No No?
What are some alternatives?
numjs - Like NumPy, in JavaScript
headless-gl - π Windowless WebGL for node.js
math-clamp - Clamp a number
aladino - π§ββοΈ Your magic WebGL carpet
math-sum - Sum numbers
Brain.js - π€ GPU accelerated Neural networks in JavaScript for Browsers and Node.js
ndarray - π Multidimensional arrays for JavaScript
tract - Tiny, no-nonsense, self-contained, Tensorflow and ONNX inference
webgpu - WebGPU for Node [Deprecated, Unmaintained]
gpu-io - A GPU-accelerated computing library for running physics simulations and other GPGPU computations in a web browser.
mpv-prescalers - prescalers for mpv, as user shaders
Dannjs - Easy to use Deep Neural Network Library for JavaScript.