| Crates.io | numrs-core |
| lib.rs | numrs-core |
| version | 0.1.19 |
| created_at | 2025-12-13 22:26:46.090601+00 |
| updated_at | 2025-12-14 14:28:54.698099+00 |
| description | A high-performance numerical computing library with multi-backend dispatch (SIMD, BLAS/MKL, WebGPU) and zero-cost abstractions |
| homepage | https://numrs.dev |
| repository | https://github.com/rjaguiluz/numrs |
| max_upload_size | |
| id | 1983501 |
| size | 1,308,027 |
NumRs is an experimental, high-performance numerical & Deep Learning Engine framework for Rust, inspired by NumPy and PyTorch.
This project is structured as a collection of specialized modules, each with its own specific responsibility. This README serves as a high-level index to the detailed documentation for each component.
NumRs is built on two main layers:
graph TD
NumRs[NumRs Core]
subgraph Engine["Numerical Engine"]
Array[Link: src/array]
Ops[Link: src/ops]
Backend[Link: src/backend]
end
subgraph ML["ML Framework"]
Autograd[Link: src/autograd]
NN[NN Modules]
end
NumRs --> Engine
NumRs --> ML
Autograd --> Ops
Ops --> Backend
Ops --> Array
Backend --> Array
Select your preferred language to view the specific documentation:
| Component | Language | Documentation |
|---|---|---|
| NumRs Core | 🦀 Rust | View Rust Docs |
| NumRs C | 🇨 C / C++ | View C ABI Docs |
| NumRs Node | 🟢 Node.js | View JS Docs |
| NumRs Wasm | 🕸️ WebAssembly | View Wasm Docs |
| NumRs Py | 🐍 Python | View Python Docs |
| NumRs R | 📐 R | View R Docs |
Detailed architecture documentation for numrs-core developers:
The Data Layer. Defines Array<T>, DynArray (dynamic typing), and the Type Promotion system.
The User API. Contains the definitions for all mathematical operations (add, matmul, sum, etc.).
The Execution Engine. Manages the Zero-Cost Dispatch System and interfaces with hardware accelerators (MKL, BLIS, Accelerate, SIMD).
The ML Engine. Implements Tensor for Reverse Mode Automatic Differentiation, Neural Network layers, and Optimizers.
# Build with auto-detected optimizations (ASICS/BLAS)
cargo build --release
For detailed examples, see the examples/ directory.
AGPL-3.0-only