Git Product home page Git Product logo

spatial-multiverse's Introduction

The Spatial Multiverse

Introduction

The Spatial Multiverse in an ongoing research project which exists around the Spatial Language and Compiler. It provides Spatial with front-end support from popular machine learning (ML) frameworks.

The Spatial Multiverse contains:

  1. Spatial as a submodule
  2. Tools to compile ML frameworks to Spatial in order to target hardware accelerators, and
  3. Examples of models and applications in these frameworks

This allows ML frameworks to be mapped to programmable hardware.

TensorFlow to FPGAs

In its initial version, the Spatial Multiverse supports mapping DNN models described in TensorFlow to FPGAs. It converts a TensorFlow trained model to a bitstream and C++ host program that can be run on an FPGA. We use Spatial as a hardware IR to generate C++/Verilog, and so we support whichever FPGAs are supported by Spatial. This includes the Amazon EC2 F1 FPGAs, which is what we have tested. Support for other DNN frameworks (through ONNX) is also planned and under development.

Click on the documentation links below to get started:

Citation

If you find the TensorFlow to Spatial compiler useful for your work, you can cite our FPL paper, e.g. as follows:

@inproceedings{hadjis19fpl,
  author = {S. Hadjis and K. Olukotun},
  title =  {TensorFlow to Cloud {FPGAs}: Tradeoffs for Accelerating Deep Neural Networks},
  year = {2019},
  booktitle = {Field Programmable Logic and Applications (FPL19)},
  publisher = {IEEE}
}

spatial-multiverse's People

Contributors

shadjis avatar

Watchers

James Cloos 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.