chelsea0x3b/dfdx
Deep learning in Rust, with shape checked tensors and neural networks
Compile-time shape validation ensures tensor operations are type-safe, while mixed const/dynamic dimensions support flexible architectures. The gradient tape is owned by a single tensor without reference counting, eliminating runtime borrow checks and enabling precise control over which computations are recorded. GPU acceleration via CUDA is available through feature flags, alongside standard optimizers and common layers like Conv2D and Transformer.
1,896 stars. No commits in the last 6 months.
Stars
1,896
Forks
104
Language
Rust
License
—
Category
Last pushed
Jul 23, 2024
Commits (30d)
0
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/ml-frameworks/chelsea0x3b/dfdx"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Higher-rated alternatives
EnzymeAD/Enzyme
High-performance automatic differentiation of LLVM and MLIR.
Oxen-AI/Oxen
Lightning fast data version control system for structured and unstructured machine learning...
LaurentMazare/tch-rs
Rust bindings for the C++ api of PyTorch.
SunDoge/dlpark
A Rust Library for High-Performance Tensor Exchange with Python
strake-data/strake
The Data Layer for AI. A high-performance federated SQL engine that gives AI agents governed,...