#168 · Primary category: Deep Learning Frameworks
dfdx
Deep learning in Rust, with shape checked tensors and neural networks
Project last updated:07/23/24
GitHub Stars
1.9K
Forks
108
Contributors
40
License
Other
Why we included this project
dfdx is one of the few deep learning libraries that actually exploits Rust's type system rather than just mimicking PyTorch. Its main draw is compile-time shape checking: a mismatched tensor dimension in your model won't even compile, so you catch those mistakes before you run anything. Beyond that, it has a solid tensor library, an autodiff engine, common neural network layers (linear, conv, transformer), and optimizers such as SGD, Adam, and AdamW. You can also enable CUDA for GPU acceleration. This is a good fit for Rust developers who want to build models without leaving the language, or who need a compiled alternative for porting research code. Just note that the project is still pre-alpha and plans breaking releases, so treat it as a tool for learning and prototyping rather than production.
Articles for this project
No articles for this project yet.
To suggest a topic or contribute an article, contact us.
Related projects in this category
tensorflow
An Open Source Machine Learning Framework for Everyone
pytorch
Tensors and Dynamic neural networks in Python with strong GPU acceleration
keras
Deep Learning for humans
nanoGPT
The simplest, fastest repository for training/finetuning medium-sized GPTs.
ray
Ray is an AI compute engine. Ray consists of a core distributed runtime and a set of AI Libraries for accelerating ML workloads.