Code Monkey home page Code Monkey logo

nest-compiler's Introduction

Partners

Contributions to NEST-C are welcomed and encouraged! We are proud to collaborate with the following companies on our open-source project:

We appreciate their support and contributions to our project. Click on the logos to learn more about each partner and their involvement with our project.

Contacts

PI

Developers

Overview

Video Label ETRI Conference 2024, AI 컴파일러로 실용화에 한발짝 더 다가선 AI 반도체

The NEST Compiler (NEST-C) is an open source project led by ETRI, which is based on [GLOW project] (https://github.com/pytorch/glow).

Glow is a machine learning compiler and execution engine for hardware accelerators. It is designed to be used as a backend for high-level machine learning frameworks. The compiler is designed to allow state of the art compiler optimizations and code generation of neural network graphs.

The objective of NEST-C is to generate optimized code for various kinds of Neural-network Processing Uints (NPUs). Therefore, NEST-C provides automatic tuning functionalities and tools for each optimization step.

Optimization modules and tools of NEST-Compiler

Input/output examples of NEST-C modules

Features

  • NPU HW backend supporting EVTA series
  • Automatic backend parameter tuning (under development)
  • Profile-based dyanamic quantization for supporting various NPU backends
  • C/C++ code generation for embedded HWs supporting gcc/llvm compilers
  • Profile-based graph partitioning

Documentation

Research Papers

Demo

Nestc-demo

License

NEST-C is licensed under the Apache 2.0 License.

nest-compiler's People

Contributors

etrimsyu avatar eunyoung14 avatar leejaymin avatar min-juns avatar mirrsam avatar neigh80 avatar serepina avatar taehokim20 avatar wjsgudrnr12 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

nest-compiler's Issues

I have question at testing and running | installation

on installation document ...

Configure and Build
To build the compiler, create a build directory and run cmake on the source directory. It's a good idea to build two configurations (Release and Debug) because some programs take a really long time to run in Debug mode. It's also a good idea to build the project outside of the source directory.

mkdir build
cd build
export TVM_HOME=/path/to/nest_compiler/tvm
export PYTHONPATH=/path/to/nest_compiler/tvm/python
export TVM_LIBRARY_PATH=/path/to/build/tvm
cmake -G Ninja /path/to/nest_compiler -DCMAKE_BUILD_TYPE=Release -DNESTC_WITH_EVTA=ON -DNESTC_EVTA_BUNDLE_TEST=ON -DGLOW_WITH_BUNDLES=ON -DNESTC_USE_PRECOMPILED_EVTA_LIBRARY=ON
ninja check_nestc

Where should I put that build folder?
Also, where exactly should I route the TVM?
Should I grab it as HOME/USER?
Also, when I run cmake, I get some errors, but there is no requirement.txt of the project?

on testing and running document...

Now run the examples. Note that the databases should be in the current working directory.

./bin/mnist
./bin/cifar10
./bin/fr2en
./bin/ptb
./bin/char-rnn

where is that ./bin directory...?
that download_datasets_and_models.py --all-datasets dont have bin...

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.