tfjs and TSTorch

These are competitors: TSTorch is an educational reimplementation of PyTorch concepts for WebGPU environments, while TensorFlow.js is the established production-grade library for the same use case of browser-based ML model training and inference.

tfjs
80
Verified
TSTorch
39
Emerging
Maintenance 10/25
Adoption 25/25
Maturity 25/25
Community 20/25
Maintenance 13/25
Adoption 7/25
Maturity 11/25
Community 8/25
Stars: 19,114
Forks: 2,022
Downloads: 1,313,493
Commits (30d): 0
Language: TypeScript
License: Apache-2.0
Stars: 39
Forks: 3
Downloads:
Commits (30d): 0
Language: TypeScript
License: MIT
No risk flags
No Package No Dependents

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 TSTorch

r-chong/TSTorch

A PyTorch-style runtime library in TypeScript + WebGPU. Built to understand how ML frameworks and models work internally.

Scores updated daily from GitHub, PyPI, and npm data. How scores work