GithubHelp home page GithubHelp logo

jfdong / ngraph Goto Github PK

View Code? Open in Web Editor NEW

This project forked from nervanasystems/ngraph

0.0 1.0 0.0 78.89 MB

nGraph is an open source C++ library, compiler and runtime for Deep Learning frameworks

Home Page: https://ngraph.nervanasys.com/docs/latest

License: Apache License 2.0

Groovy 0.13% Dockerfile 0.02% Shell 0.30% CMake 1.18% Makefile 0.10% Python 1.39% C++ 96.85% C 0.03%

ngraph's Introduction

nGraph Compiler Stack (Beta)

License Build Status

Quick start

To begin using nGraph with popular frameworks to accelerate deep learning workloads on CPU for inference, please refer to the links below.

Framework (Version) Installation guide Notes
TensorFlow* 1.12 Pip install or Build from source 20 Validated workloads
MXNet* 1.3 Pip install or Build from source 18 Validated workloads
ONNX 1.3 Pip install 14 Validated workloads

❗ ❗ ❗ Note that the pip package option works only with Ubuntu 16.04 or greater and Intel® Xeon® CPUs. CPUs without Intel® Advanced Vector Extensions 512 (Intel® AVX-512) will not run these packages; the alternative is to build from source. Wider support for other CPUs will be offered starting in early 2019 ❗ ❗ ❗

Frameworks using nGraph Compiler stack to execute workloads have shown up to 45X performance boost when compared to native framework implementations. We've also seen performance boosts running workloads that are not included on the list of Validated workloads, thanks to our powerful subgraph pattern matching.

Additional work is also being done via PlaidML which will feature running compute for Deep Learning with GPU accleration. See our Architecture and features for what the stack looks like today and watch our Release Notes for recent changes.

What is nGraph Compiler?

nGraph Compiler aims to accelerate developing and deploying AI workloads using any deep learning framework with a variety of hardware targets. We strongly believe in providing freedom, performance, and ease-of-use to AI developers.

The diagram below shows what deep learning frameworks and hardware targets we support. More details on these current and future plans are in the ecosystem section.

nGraph wireframe

While the ecosystem shown above is all functioning, we have validated performance for deep learning inference on CPU processors such as Intel® Xeon®. Please refer to the Release notes to learn more. The Gold release is targeted for April 2019; it will feature broader workload coverage, including quantized graphs, and more detail on our advanced support for int8.

Our documentation has extensive information about how to use nGraph Compiler stack to create an nGraph computational graph, integrate custom frameworks, and to interact with supported backends. If you wish to contribute to the project, please don't hesitate to ask questions in GitHub issues after reviewing our contribution guide below.

How to contribute

We welcome community contributions to nGraph. If you have an idea how to improve it:

  • See the contrib guide for code formatting and style guidelines.
  • Share your proposal via GitHub issues.
  • Ensure you can build the product and run all the examples with your patch.
  • In the case of a larger feature, create a test.
  • Submit a pull request.
  • Make sure your PR passes all CI tests. Note: our Travis-CI service runs only on a CPU backend on Linux. We will run additional tests in other environments.
  • We will review your contribution and, if any additional fixes or modifications are necessary, may provide feedback to guide you. When accepted, your pull request will be merged to the repository.

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.