Coder Social home page Coder Social logo

huangkevin404 / finn-base Goto Github PK

View Code? Open in Web Editor NEW

This project forked from xilinx/finn-base

0.0 0.0 0.0 625 KB

Open Source Compiler Framework using ONNX as Frontend and IR

Home Page: https://finn-base.readthedocs.io/

License: BSD 3-Clause "New" or "Revised" License

Dockerfile 0.56% Shell 1.36% Python 95.78% PureBasic 0.01% Verilog 2.29%

finn-base's Introduction

Core Components for Quantized Neural Network Inference

Gitter ReadTheDocs

finn-base is part of the FINN project and provides the core infrastructure for the FINN compiler, including:

  • wrapper around ONNX models for easier manipulation
  • infrastructure for applying transformation and analysis passes on ONNX graphs
  • infrastructure for defining and executing custom ONNX ops (for verification and code generation)
  • extensions to ONNX models using annotations, including few-bit data types, sparsity and data layout specifiers
  • several transformation passes, including topological sorting, constant folding and convolution lowering
  • several custom ops including im2col and multi-thresholding for quantized activations
  • several utility functions, including packing for few-bit integers

Installation

finn-base can be installed via pip by following these instructions.

Documentation

You can view the documentation on readthedocs or build them locally using ./run-docker.sh docs.

Community

We have a gitter channel where you can ask questions. You can use the GitHub issue tracker to report bugs, but please don't file issues to ask questions as this is better handled in the gitter channel.

We also heartily welcome contributions to the project, please check out the contribution guidelines and the list of open issues. Don't hesitate to get in touch over Gitter to discuss your ideas.

finn-base's People

Contributors

maltanar avatar sjain-stanford avatar mmrahorovic avatar fpjentzsch avatar heborras avatar quetric avatar huangkevin404 avatar rpitonak avatar jalezeta 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.