tfjs and js-pytorch
These are competitors offering similar GPU-accelerated tensor computation and neural network training capabilities in JavaScript, though TensorFlow.js has significantly broader adoption and production readiness while js-pytorch provides a PyTorch-style API alternative.
About tfjs
tensorflow/tfjs
A WebGL accelerated JavaScript library for training and deploying ML models.
Supports both browser and Node.js execution through pluggable backends (WebGL, WebAssembly, WebGPU, and native TensorFlow C++), enabling client-side inference and retraining with sensor data. Provides layered APIs from low-level linear algebra operations to high-level Keras-compatible layers, plus tools to import pre-trained TensorFlow and Keras models. Includes specialized packages for data processing, visualization, and AutoML model loading, with individual module imports available to minimize bundle size.
About js-pytorch
eduardoleao052/js-pytorch
A JavaScript library like PyTorch, with GPU acceleration.
Related comparisons
Scores updated daily from GitHub, PyPI, and npm data. How scores work