Skip to content
nGraph - open source C++ library, compiler and runtime for Deep Learning
C++ Python CMake MLIR Shell Makefile Other
Branch: master
Clone or download

Latest commit

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.ci codeowners cleanup (#4803) May 27, 2020
cmake Better style tools (#4829) Jun 1, 2020
contrib/docker Peg virtualenv to version 16.7.10 (#4405) Mar 3, 2020
doc Distributed Training Docs Collab (#4247) May 29, 2020
licenses Add MLIR license file to ngraph/licenses/ Jun 13, 2019
maint Better style tools (#4829) Jun 1, 2020
python Remove unused API from backend (#4831) Jun 1, 2020
src Appliy LLVM format to MLIR files (#4830) Jun 2, 2020
test Rename LRUCache to ExecutableCache (#4822) Jun 2, 2020
.clang-format clang-format comments: /src/ngraph/op/util (#3498) Aug 21, 2019
.gitattributes Normalize line endings (#1649) Sep 20, 2018
.gitignore GetOutputElement removal preparation (#4425) Mar 18, 2020
ABOUT.md Latest illustrations of nG components and features (#3617) Sep 20, 2019
CMakeLists.txt Better style tools (#4829) Jun 1, 2020
CODEOWNERS Update codeowners for cmake (#4817) May 29, 2020
CONTRIB.md Leona/markdown links (#3529) Aug 28, 2019
LICENSE Add LICENSE and switch to Intel Copyright (#466) Feb 8, 2018
README.md Remove Travis badge from readme (#4712) May 26, 2020
VERSION.in Auto generate version number and apply it to install dir and libngrap… May 3, 2018
changes.md Convert remaining dynamic_pointer_casts for ops (#3642) Sep 21, 2019
ecosystem-overview.md [ONNX] Remove support for ONNXIFI (#4190) Jan 23, 2020
environment_variables.md Add CODEGEN support to the CPU backend (#4679) May 27, 2020

README.md

nGraph Compiler stack

Quick start

To begin using nGraph with popular frameworks, please refer to the links below.

Framework (Version) Installation guide Notes
TensorFlow* Pip install or Build from source 20 Validated workloads
ONNX 1.5 Pip install 17 Validated workloads

Python wheels for nGraph

The Python wheels for nGraph have been tested and are supported on the following 64-bit systems:

  • Ubuntu 16.04 or later
  • CentOS 7.6
  • Debian 10
  • macOS 10.14.3 (Mojave)

To install via pip, run:

pip install --upgrade pip==19.3.1
pip install ngraph-core

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 nGraph's powerful subgraph pattern matching.

Additionally we have integrated nGraph with PlaidML to provide deep learning performance acceleration on Intel, nVidia, & AMD GPUs. More details on current architecture of the nGraph Compiler stack can be found in Architecture and features, and recent changes to the stack are explained in the Release Notes.

What is nGraph Compiler?

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

The diagram below shows deep learning frameworks and hardware targets supported by nGraph. NNP-T and NNP-I in the diagram refer to Intel's next generation deep learning accelerators: Intel® Nervana™ Neural Network Processor for Training and Inference respectively. Future plans for supporting addtional deep learning frameworks and backends are outlined in the ecosystem section.

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: You can test locally with make check.

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.

You can’t perform that action at this time.