alumina
Library Listed Dormant
An Experimental Deep Learning Library
- Downloads
- 46
- Dependents
- 0
- Stars
- 103
- Forks
- 9
- Contributors
- 1
- Commits
- 68
- Latest release
- 0.3.0 ·
About
An experimental deep learning library written in pure rust. Breakage expected on each release in the short term. See mnist.rs in examples or Rusty_SR for usage samples.
Overview
The key types are Node and Ops which are Rc-like references to components of a shared mutable Graph, which is extended gradually with new tensors and operations via construction functions. Facilities for reverse-mode automatic differentiation are included in operations, extending the graph as necessary.
Typical graph construction and differentiation shown below:
Read the full README
// 1. Build a MLP neural net graph - 98% @ 10 epochs
let input = Node::new(&[-1, 28, 28, 1]).set_name("input");
let labels = Node::new(&[-1, 10]).set_name("labels");
let layer1 = elu(affine(&input, 256, msra(1.0))).set_name("layer1");
let layer2 = elu(affine(&layer1, 256, msra(1.0))).set_name("layer2");
let logits = linear(&layer2, 10, msra(1.0)).set_name("logits");
let training_loss = add(
reduce_sum(softmax_cross_entropy(&logits, &labels, -1), &[], false).set_name("loss"),
scale(l2(logits.graph().nodes_tagged(NodeTag::Parameter)), 1e-3).set_name("regularisation"),
)
.set_name("training_loss");
let accuracy = equal(argmax(&logits, -1), argmax(&labels, -1)).set_name("accuracy");
let parameters = accuracy.graph().nodes_tagged(NodeTag::Parameter);
let grads = Grad::of(training_loss).wrt(parameters).build()?;
Current work is focused on improving the high level graph construction API, and better supporting dynamic/define-by-run graphs.
Contributions
Issues are a great place for discussion, problems, requests.
Documentation
Patchy until the library API experimentation ends, particularly until the graph construction API finalised.
Progress
- [x] Computation hypergraph
- [x] NN
- [x] Dense Connection and Bias operations
- [x] N-dimensional Convolution
- [x] Arbitrary padding
- [ ] Strides
- [ ] Reflection padding
- [x] Categorical Cross Entropy
- [x] Binary Cross Entropy
- [x] Boolean
- [x] Equal
- [x] Greater_Equal
- [x] Greater_Than
- [x] Less_Equal
- [x] Less_Than
- [x] Not
- [x] Elementwise
- [x] Abs
- [x] Ceil
- [x] Cos
- [x] Div
- [x] Elu
- [x] Exp
- [x] Floor
- [x] Identity
- [x] Leaky_relu
- [x] Ln
- [x] Logistic
- [x] Max
- [x] Min
- [x] Mul
- [x] Negative
- [x] Offset
- [x] Reciprocal
- [x] Relu
- [x] Robust
- [x] Round
- [x] Scale
- [x] Sign
- [x] Sin
- [x] SoftPlus
- [x] SoftSign
- [x] Sqr
- [x] Sqrt
- [x] Srgb
- [x] Subtract
- [x] Tanh
- [x] Grad
- [x] Stop_grad
- [x] Manip
- [x] Concat
- [ ] Slice
- [x] Permute_axes
- [x] Expand_dims
- [x] Remove_dims
- [x] Math
- [x] Argmax
- [x] Broadcast
- [x] Pooling
- [x] N-dimensional Avg_Pool
- [ ] Max pool
- [x] N-dimensional spaxel shuffling for "Sub-pixel Convolution"
- [x] N-dimensional Linear-Interpolation
- [x] Global Pooling
- [x] Reduce
- [x] Reduce_Prod
- [x] Reduce_Sum
- [x] Regularisation
- [x] L1
- [x] L2
- [x] Hoyer_squared
- [x] Robust
- [x] Shapes
- [x] Shape inference and constraint propagation
- [x] Data Loading
- [x] Mnist
- [x] Cifar
- [x] Image Folders
- [x] Imagenet (ILSVRC)
- [x] SGD
- [ ] RMSProp
- [x] ADAM
- [x] Basic numerical tests
- [x] Limit Optimiser evaluation batch size to stay within memory limits
- [x] Selectively disable calculation of forward values, node derivatives and parameter derivatives
- [x] Builder patterns for operation contruction
- [x] Split Graph struct into mutable GraphBuilder and immutable Sub-Graphs
- [x] Replace 'accidentally quadratic' graph algorithms
- [x] Replace up-front allocation with Sub-Graph optimised allocation/deallocation patterns based on liveness analysis of nodes
- [ ] Overhaul data ingestion, particularly buffering input processing/reads.
- [x] Move tensor format to bluss' ndarray
- [x] Improve naming inter/intra-library consistancy
- [ ] Operator overloading for simple ops
- [ ] Complete documentation
- [ ] Reduce ability to express illegal states in API
- [x] Move from panics to error-chain
- [ ] Move from error-chain to thiserror
- [x] Guard unsafe code rigourously
- [ ] Comprehensive tests
Distant
- [ ] Optionally typed tensors
- [ ] Arrayfire as an option for sgemm on APUs
- [ ] Graph optimisation passes and inplace operations
- [ ] Support for both dynamic and static graphs
- [ ] RNNs
License
MIT
Compatibility
- Runs on
- GPU support unknown
What shows it
- no dependency or feature matches a backend row
- Native code
- None found
- No native code found
- Python bindings
- No Python binding crate found
- License
- MIT
Compare with similar projects
Order: strongest tier first, then most downloads, then name, with unmeasured values last. A library counts downloads over 30 days. An app counts binary downloads per release. An app with none counts its crate downloads over 30 days. ML Rust runs this catalogue, so its closest project always gets a row.
| Project | Downloads | Dependents | Stars | Latest release | Runs on (GPU) | Native code | License |
|---|---|---|---|---|---|---|---|
|
An Experimental Deep Learning Library |
46 downloads over 30 days | 0 | 103 | 0.3.0 | GPU support unknown | No native code found | MIT |
|
burn Featured
Flexible and Comprehensive Deep Learning Framework in Rust |
521,465 downloads over 30 days | 391 | 16,257 | 0.22.1 | CUDA, WebGPU, Metal, ROCm, Vulkan | Binds native code: netlink-sys (feature iroh), nvml-wrapper-sys (feature sys-metrics), torch-sys (feature tch) | Apache-2.0 OR MIT |
|
mlx-rs Featured
Unofficial rust wrapper for Apple's mlx machine learning library. |
33,398 downloads over 30 days | 36 | 389 | 0.34.0 | Metal | Binds native code: mach-sys, mlx, mlx-sys. Build uses a native toolchain: bindgen, cc, cmake | Apache-2.0 OR MIT |
|
flodl Listed
floDl — a flow-graph deep learning framework built on libtorch |
106 downloads over 30 days | 3 | 63 | 0.8.0 | CUDA, ROCm | Binds native code: flodl-sys. Build uses a native toolchain: cc | MIT |
|
rumus Listed
A native-Rust deep learning framework with explicit memory safety and hardware acceleration |
52 downloads over 30 days | 0 | 202 | 0.4.0 | WebGPU | No native code found | Apache-2.0 OR MIT |
|
Trains GPT-style language models from a YAML config and a tokenized dataset: dense GQA transformers, Mamba 1, 2 and 3, MLA and MoE layers on CPU or CUDA. Runs the training loop, optimizer, checkpoints, evaluation and metrics on boostr, and builds speech corpora through voxr. |
27 downloads over 30 days | Not applicable | 8 | 0.1.1 | CUDA | Binds native code: nvml-wrapper-sys (feature cuda) | Apache-2.0 |
|
A machine learning library for Rust. |
25 downloads over 30 days | 0 | 333 | 0.2.1 | GPU support unknown | Binds native code: curl-sys (feature mnist), libz-sys (feature mnist) | Apache-2.0 OR MIT |
Why ListedNo archive, New or Featured rule places it, so it is Listed.
What it lacks for Featured
- It has 0 active dependents and 0 new dependents in 365 days. Featured needs 11 active dependents or 9 new dependents in 365 days. The repository route reads 103 stars, 9 forks and 1 contributor. It needs 4,539 stars, 434 forks and 79 contributors together.
- Docs are missing: the primary crate publishes no README.
- The project is dormant and not finished. Dormancy rule
What else the check found
- The last activity is on 23 Oct 2022, 1478 days ago. That reaches the 365 days the rules expect, so the project is dormant. Dormancy rule
- The oldest outside issue waits 2995 days for a reply, past the limit of 270. No maintainer replied in 365 days. Rot signals rule
Not measured: Latest release fails cargo check.
Check notes
- the repo manifest Cargo.toml declares the crate, and no release commit proves the link
Exact rules: Listed, Featured library. The check on applied thresholds version 9.
Every rule outcome, as the check records it
expected-interval: version 0.3.0 base 80, raised to the 365-day floor: E = 365 daysdormancy: last activity 2022-10-23, 1478 days ago, E = 365: dormantrot: oldest unanswered issue 2995 days (limit 270), no maintainer reply in 365 daysfeatured: not featured: active_users 0 < 11 and new_adopters 0 < 9 and repository route stars 103 (needs 4539), forks 9 (needs 434), contributors 1 (needs 79); docs missing; dormant and not stablelisted: listed: no archive, new or featured rule applies
Measurements and sources
Each signal row shows the raw value, its source and the fetch date. The Sources list gathers every distinct source on this page. Movement needs more history.
Sources6 sources
- Description: the crates.io description
- crates.io database dump, fetched
- RustSec advisory database, fetched
- GitHub repository, fetched
- repo manifest, fetched
- GitHub contributors, fetched
Adoption0 active dependents, 0 new dependents in 365 days1 not measured
| Signal | Value | Source | Fetched | Counts |
|---|---|---|---|---|
| Active dependents | 0 | crates.io database dump | Yes | |
| New dependents (365 days) | 0 | crates.io database dump | Yes | |
| Peak active dependents | 0 | crates.io database dump | Yes | |
| Active dependents as a share of the peak | 1 | crates.io database dump | Yes | |
| Binary downloads per release | Not measured | Yes |
MaintenanceLatest human commit: 4 years ago3 not measured
| Signal | Value | Source | Fetched | Counts |
|---|---|---|---|---|
| Latest human commit | 2022-10-23 | GitHub repository | Yes | |
| Latest release | 2018-08-17 | crates.io database dump | Yes | |
| First release | 2017-02-08 | crates.io database dump | Yes | |
| Latest version | 0.3.0 | crates.io database dump | Yes | |
| Days the oldest outside issue waits for a reply | 2995 | GitHub repository | Yes | |
| Maintainer replies over 365 days | 0 | GitHub repository | Yes | |
| Repository archived | false | GitHub repository | Yes | |
| Repository gone | false | GitHub repository | Yes | |
| Release commit or manifest in the repo | true | repo manifest | Yes | |
| Published docs | false | crates.io database dump | Yes | |
| Latest release fails cargo check | Not measured | Yes | ||
| Build check date | Not measured | Yes | ||
| Build check toolchain | Not measured | Yes |
SecurityUnpatched vulnerabilities: none
| Signal | Value | Source | Fetched | Counts |
|---|---|---|---|---|
| Unpatched vulnerabilities past the grace window | none | RustSec advisory database | Yes | |
| RustSec unmaintained advisory | none | RustSec advisory database | Yes | |
| Deprecation notice | none | crates.io database dump | Yes | |
| Deprecated requirement | none | crates.io database dump | Yes |
Distribution3 releases, 46 downloads over 30 days5 not measured
| Signal | Value | Source | Fetched | Counts |
|---|---|---|---|---|
| Releases | 3 | crates.io database dump | Yes | |
| Downloads over 30 days | 46 | crates.io database dump | Yes | |
| Binary downloads over the last 3 releases | Not measured | Yes | ||
| Homebrew installs on request over 365 days | Not measured | Yes | ||
| Repology repository families | Not measured | Yes | ||
| Docker pull growth over 90 days | Not measured | Yes | ||
| Docker pulls at the growth baseline | Not measured | Yes | ||
| Every version a prerelease | false | crates.io database dump | Yes | |
| Every version 0.0.x | false | crates.io database dump | Yes | |
| Every version yanked | false | crates.io database dump | Yes | |
| Crate deleted from crates.io | false | crates.io database dump | Yes |
Repository103 stars, 9 forks, 1 contributors, 68 commits. Stars alone never qualify a project.
| Signal | Value | Source | Fetched | Counts |
|---|---|---|---|---|
| GitHub stars | 103 | GitHub repository | Yes — one part of the repository route | |
| GitHub forks | 9 | GitHub repository | Yes — one part of the repository route | |
| Contributors with a GitHub account | 1 | GitHub contributors | Yes — one part of the repository route | |
| Commits on the default branch | 68 | GitHub repository | No | |
| Repository's main crate left out of the entry | none | crates.io database dump | Yes |
Facts that never count
| Signal | Value | Source | Fetched | Counts |
|---|---|---|---|---|
| License | MIT | crates.io database dump | No | |
| Runs on, from listed crates and their direct dependencies | GPU support unknown | crates.io database dump | No | |
| What shows each backend | no dependency or feature matches a backend row | crates.io database dump | No | |
| Native code, from listed crates and their dependencies | No native code found | crates.io database dump | No | |
| Python bindings, from direct dependencies of listed crates | No Python binding crate found | crates.io database dump | No | |
| Crates that depend on a listed crate directly | 0 | crates.io database dump | No |
Corrections and review history
No correction applies to this entry.
Judgments
A judgment enters only through an approved issue and a merged pull request.
No judgment applies to this entry.