Web app

Shumai (Meta)
Shumai is a fast, differentiable tensor library for JavaScript and TypeScript, built with Bun and Flashlight. It is intended for software engineers and researchers who need tensor operations with automatic differentiation.
- Platform
- Web app
- Categories
- AI Code Assistant, AI Developer Tools
- Indexed
- 2024-02-19
About Shumai (Meta)
What is Shumai
Shumai is an experimental tensor library developed by Facebook Research. It is designed for JavaScript and TypeScript, leveraging the Bun runtime and Flashlight for performance. The library aims to provide fast tensor operations with automatic differentiation, making it suitable for machine learning and scientific computing. It is built on top of ArrayFire, which provides the underlying numerical computation. Shumai is currently in an experimental stage, and the developers encourage users to file issues for any problems encountered.
Key features
Shumai offers a range of tensor operations including creation, arithmetic, and matrix multiplication. It supports automatic differentiation via the requires_grad property and backward() method, enabling gradient computation for optimization. Tensors can be easily converted to and from native JavaScript arrays, and scalar tensors can be converted to JavaScript numbers. The library attempts to use GPU acceleration when available, with Linux defaulting to CUDA and macOS to CPU. It also provides a detach method to prevent gradient updates.
Use cases
Shumai is suitable for developers and researchers who want to perform tensor computations in JavaScript or TypeScript. It can be used for building and training machine learning models, implementing numerical algorithms, and prototyping research ideas. The automatic differentiation feature is particularly useful for gradient-based optimization. Since it is built with Bun, it integrates well with modern JavaScript tooling. However, due to its experimental nature, it may not be production-ready for all applications.
Pricing
Shumai is an open-source project available on GitHub under the MIT license. There is no pricing information provided on the page, and it is free to use. Users can install it via bun with bun install @shumai/shumai.
Questions
Shumai (Meta) FAQ
- What is Shumai (Meta)?
- Shumai (Meta) is an AI tool available as a web app in the AI Code Assistant, AI Developer Tools categories. Shumai is a fast, differentiable tensor library for JavaScript and TypeScript, built with Bun and Flashlight. It is intended for software engineers and researchers who need tensor operations with automatic differentiation.
- What is Shumai (Meta) used for?
- Shumai (Meta) is filed under AI Code Assistant, AI Developer Tools in the AITOOLIST index. Shumai is a fast, differentiable tensor library for JavaScript and TypeScript, built with Bun and Flashlight. It is intended for software engineers and researchers who need tensor operations with automatic differentiation.
- Is Shumai (Meta) a web app, an extension or a native app?
- Shumai (Meta) is a web app.
Listed in the AITOOLIST index since 2024-02-19.