Shumai
ActiveWhat is Shumai?
How to use Shumai?
Shumai Core Features
Differentiable tensors with autograd
Set requires_grad on tensors and call backward() to populate gradients automatically. Supports detach() to copy tensors without gradient tracking.
Network-connected tensors
Serve models with sm.io.serve_model and call remote tensors from clients via sm.io.remote_model for distributed ML over the network.
Bun + Flashlight backend
Built on Bun runtime and Flashlight with ArrayFire. Linux defaults to CUDA GPU; macOS uses ArrayFire CPU backend. Standard ops include matmul, randn, identity, and loss functions.
JavaScript native arrays
Convert between Float32Array and tensors with toFloat32Array() and sm.tensor(). Scalar tensors convert to JavaScript numbers via toFloat32().
Shumai Use Cases
Prototype ML experiments in TypeScript without leaving the JS ecosystem
Build networked ML services with remote tensor calls and server-side autograd
Research differentiable programming with gradient-based optimization in Bun
Shumai Frequently Asked Questions
Which platforms are supported?
How do I install Shumai?
Is Shumai production-ready?
Shumai Product Background & Official Links
Shumai Support Email & Customer service contact & Refund contact etc.
More Contact, visit the about us page(https://facebookresearch.github.io/shumai/)
Shumai Company Info
Shumai Company name: Meta Platforms, Inc.
Shumai Developer Type: company
More about Shumai, Please visit the about us page(https://facebookresearch.github.io/shumai/)
Shumai GitHub
Shumai GitHub Link: https://github.com/facebookresearch/shumai
Shumai Pricing & Plans
Open Source
Free- MIT License
- Free to use, modify, and distribute
- No subscription or account required


