Giter Club home page Giter Club logo

fibertree's Introduction

Hierarchical Fibertree-based Tensor Abstraction

An emulator for the hierarchical fibertree abstraction for tensors. For a description of the concepts and some some designs rendered in a simplified version of this system see sections 8.2 and 8.3 of the book "Efficient Processing of Deep Neural Networks" [1].

Install

To install an editable copy in your home directory run the following in the root directory of a clone of this repository:

  % python3 -m pip install --user -e .

To install from the remote git repository, run the following:

  % python3 -m pip install git+https://github.com/Fibertree-Project/fibertree

To install with Cython (fibertree.core in Cython, remaining files in Python):

 python setup.py build_ext --inplace

Explore Jupyter Notebooks

Clone fibertree notebooks for some example fibertree-based algorithms in Jupypter notebooks.

Run commmand line examples

You can also run the included examples from the command line. For example::

  % cd ./examples/scripts/basic
  % python3 dot-product.py

Other examples are in ./examples/scripts/...

Run tests

   % cd ./test
   % python3 -m unittest discover [-v]

References

[1] "Efficient Processing of Deep Neural Networks", Vivienne Sze, Yu-Hsin Chen, Tien-Ju Yang, and Joel S. Emer, Synthesis Lectures on Computer Architecture, June 2020, 15:2, 1-341.

fibertree's People

Contributors

itshelenxu avatar jsemer avatar lpentecost-nvidia avatar malloc26 avatar michael-pellauer avatar nandeeka avatar tanner-andrulis avatar zhanggw91 avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.