Giter Site home page Giter Site logo

bo-yuan-huang / 3la-tvm-exact Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 1.0 35.16 MB

License: Apache License 2.0

CMake 0.67% Makefile 0.23% Java 0.92% Shell 0.81% C++ 39.67% RenderScript 0.01% Python 53.21% C 1.19% Objective-C 0.09% Objective-C++ 0.26% Rust 1.69% Batchfile 0.02% Go 0.51% Cython 0.13% Cuda 0.08% HTML 0.01% JavaScript 0.07% TypeScript 0.43%

3la-tvm-exact's Introduction

This is a fork of TVM for adding BYOC integrations for the 3LA project.

Right now we have a VTA integration in src/relay/backend/contrib/vta_matmul. Note that you have to include the line SET(USE_VTA_MATMUL ON) in build/config.cmake before building TVM to support this (other flags that should be on: USE_LLVM, USE_VTA_FSIM). We have a test of this backend in tests/python/relay/test_external_codegen.py (see test_extern_vta()).

This version also uses a fork of the VTA repo meant to dump logs. Try vta/python/integration/matmul_tutorial.py to use the dumping facility. VTA can be set into dumping mode by calling vta.testing.simulator.dump_mode(True). You can specify the location at which the dump will be deposited using vta.testing.simulator.dump_target(path); the default is ./vta_sim_dump.json. See the readme at the VTA fork to see a description of the dumping mode and the dumping format.

You can use vta.testing.ila_converter.convert(dump_file, dest_file) to convert a VTA simulator dump into an ILA program fragment.

Open Deep Learning Compiler Stack Documentation | Contributors | Community | Release Notes

Build Status WinMacBuild

Apache TVM is a compiler stack for deep learning systems. It is designed to close the gap between the productivity-focused deep learning frameworks, and the performance- and efficiency-focused hardware backends. TVM works with deep learning frameworks to provide end to end compilation to different backends.

License

© Contributors Licensed under an Apache-2.0 license.

Contribute to TVM

TVM adopts apache committer model, we aim to create an open source project that is maintained and owned by the community. Checkout the Contributor Guide

Acknowledgement

We learned a lot from the following projects when building TVM.

  • Halide: Part of TVM's TIR and arithmetic simplification module originates from Halide. We also learned and adapted some part of lowering pipeline from Halide.
  • Loopy: use of integer set analysis and its loop transformation primitives.
  • Theano: the design inspiration of symbolic scan operator for recurrence.

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.