autumnai /leaf

Open Machine Intelligence Framework for Hackers. (GPU/CPU)

★ 5,540⑂ 268👁 177⑃ 77● 50▤ 0
RustApache-2.0Created 2015-10-26
+0
日增长
5,540
stars
268
forks
177
watchers
77
prs
50
issues
0
releases

README

Leaf •    

 Introduction

Leaf is a open Machine Learning Framework for hackers to build classical, deep
or hybrid machine learning applications. It was inspired by the brilliant people
behind TensorFlow, Torch, Caffe, Rust and numerous research papers and brings
modularity, performance and portability to deep learning.

Leaf has one of the simplest APIs, is lean and tries to introduce minimal
technical debt to your stack.

See the [Leaf - Machine Learning for Hackers][leaf-book] book for more.

Leaf is a few months old, but thanks to its architecture and Rust, it is already
one of the fastest Machine Intelligence Frameworks available.


 See more Deep Neural Networks benchmarks on [Deep Learning Benchmarks][deep-learning-benchmarks-website].

Leaf is portable. Run it on CPUs, GPUs, and FPGAs, on machines with an OS, or on
machines without one. Run it with OpenCL or CUDA. Credit goes to
[Collenchyma][collenchyma] and Rust.

Leaf is part of the [Autumn][autumn] Machine Intelligence Platform, which is
working on making AI algorithms 100x more computational efficient.

We see Leaf as the core of constructing high-performance machine intelligence
applications. Leaf's design makes it easy to publish independent modules to make
e.g. deep reinforcement learning, visualization and monitoring, network
distribution, [automated preprocessing][cuticula] or scaleable production
deployment easily accessible for everyone.

[caffe]: https://github.com/BVLC/caffe
[rust]: https://www.rust-lang.org/
[tensorflow]: https://github.com/tensorflow/tensorflow
[benchmarks]: benchmarks
[leaf-examples]: examples
[documentation]: http://autumnai.github.io/leaf

 Disclaimer: Leaf is currently in an early stage of development.
 If you are experiencing any bugs with features that have been
 implemented, feel free to create a issue.

 Getting Started

 Documentation

To learn how to build classical, deep or hybrid machine learning applications with Leaf, check out the [Leaf - Machine Learning for Hackers][leaf-book] book.

For additional information see the [Rust API Documentation][documentation] or the [Autumn Website][autumn].

Or start by running the Leaf examples.

We are providing a [Leaf examples repository][leaf-examples], where we and
others publish executable machine learning models build with Leaf. It features
a CLI for easy usage and has a detailed guide in the [project
README.md][leaf-examples].

Leaf comes with an examples directory as well, which features popular neural
networks (e.g. Alexnet, Overfeat, VGG). To run them on your machine, just follow
the install guide, clone this repoistory and then run

bash
 The examples currently require CUDA support.
cargo run --release --no-default-features --features cuda --example benchmarks alexnet


[leaf-examples]: https://github.com/autumnai/leaf-examples

 Installation

 Leaf is build in [Rust][rust]. If you are new to Rust you can install Rust as detailed [here][rust_download].
We also recommend taking a look at the [o

Top issues

Snapshot: 2026-11-16T09:23:14Z · Data license Apache-2.0 · JSON