Brain.js: GPU Accelerated Neural Networks in JavaScript

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

Our great sponsors
  • SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • Dannjs

    Discontinued Easy to use Deep Neural Network Library for JavaScript.

  • tract

    Tiny, no-nonsense, self-contained, Tensorflow and ONNX inference

  • There's also tract, from sonos[0]. 100% rust.

    I'm currently trying to use it to do speech recognition with a variant of the Conformer architecture (exported to ONNX).

    The final goal is to do it in WASM client-side.

    [0] https://github.com/sonos/tract

  • SurveyJS

    Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.

    SurveyJS logo
  • UNN.js

    Deep Learning in JS. Alternative to TensorFlow and ConvNetJS, that is 4x faster.

  • Brain.js

    🤖 GPU accelerated Neural networks in JavaScript for Browsers and Node.js

  • gpu.js

    GPU Accelerated 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.

  • wonnx

    A WebGPU-accelerated ONNX inference run-time written 100% in Rust, ready for native and the web

  • Thanks! it looks like the wonnx CLI itself falls back to tract to do inference on CPU if a GPU is not available[0], and it also sounds like setting up llvmpipe/lavapipe on WASM is much harder (if not impossible?) than just shipping tract, so the approach I'll take is probably a wonnx+tract approach.

    [0] https://github.com/webonnx/wonnx/issues/116#issuecomment-114...

  • ml5-library

    Friendly machine learning for the web! 🤖

  • See also: https://ml5js.org/

    "The library provides access to machine learning algorithms and models in the browser, building on top of TensorFlow.js with no other external dependencies."

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts