Accel-GPU v1.0 – NumPy for browser GPU
WebGPU NumPy alternative that beats TensorFlow.js on speed and simplicity.
NumPy for the browser GPU — zero shaders, zero dependencies
NumPy API on WebGPU with zero shader writing beats TensorFlow.js bloat for compute.
Web developers doing numerical computing, ML inference, or data processing in browsers
TensorFlow.js · GPU.js · NumJS
It falls back to WebGL2 when WebGPU isn't available (Safari, Firefox) and to CPU for Node/headless. Same API everywhere. ~160KB minified, zero dependencies.
The shaders are pre-built WGSL—add, mul, relu, layer norm, attention scores, etc. I added FFT and spectrogram recently, plus conv2d and pooling (CPU for now). Reductions like sum/max use multi-pass since you can't fit 1M elements in one workgroup.
Demos: [phantasm0009.github.io/accel-gpu](https://phantasm0009.github.io/accel-gpu/) — basic math, image processing, heatmap, neural net inference, N-body sim. Would love feedback.
GitHub: [github.com/Phantasm0009/accel-gpu](https://github.com/Phantasm0009/accel-gpu)
WebGPU NumPy alternative that beats TensorFlow.js on speed and simplicity.
WebGPU force-directed graphs, but Sigma.js, Cytoscape, and D3 already dominate this space.
ACID transactions for NumPy arrays when HDF5 and Zarr dominate the space.
Sequential-dispatch methodology corrects 20x overestimation in prior WebGPU benchmarks.
XLA backend for R gives numeric code GPU speed, but audience is R-only.
WebGPU and WASM-SIMD hash mining in browser with per-device load controls.