Giter Site home page Giter Site logo

robbinc91 / graphcore-examples Goto Github PK

View Code? Open in Web Editor NEW

This project forked from rwightman/graphcore-examples

0.0 0.0 0.0 88.65 MB

Example code and applications for machine learning on Graphcore IPUs

Home Page: https://graphcore.ai

License: MIT License

Python 90.37% Shell 1.15% Makefile 0.15% C++ 8.26% Gnuplot 0.01% CMake 0.03% Dockerfile 0.02%

graphcore-examples's Introduction

Graphcore code examples

This repository contains sample applications and code examples for use with Graphcore IPUs.

If you are interested in finding out more about Graphcore, including getting preview access to IPUs to run these examples, please register your interest here.

Please note we are not currently accepting pull requests or issues on this repository. If you are actively using this repository and want to report any issues, please raise a ticket through the Graphcore support portal: https://www.graphcore.ai/support.

The latest version of the documentation for the Poplar software stack, and other developer resources, is available at https://www.graphcore.ai/developer.

The code presented here requires using Poplar SDK 2.3.x

Please install and enable the Poplar SDK following the instructions in the Getting Started guide for your IPU system.

Unless otherwise specified by a LICENSE file in a subdirectory, the LICENSE referenced at the top level applies to the files in this repository.

Repository contents

Notable examples

Example Link
BERT (PopART) code
BERT (TensorFlow) code
BERT (PyTorch) code
DeepVoice3 speech synthesis (PopART) code
Conformer speech recognition (PopART) code
CNN Training including ResNet, ResNeXt & EfficientNet (TensorFlow) code
CNN Inference including ResNet, MobileNet & EfficientNet (TensorFlow) code
CNN Training & Inference including ResNet, ResNeXt & EfficientNet (PyTorch) code
Yolo v3 Object Detection (TensorFlow) code
ResNext Inference (PopART) code
Recommendation using Autoencoders (TensorFlow) code
Sales forecasting example (TensorFlow) code
Contrastive Divergence VAE using MCMC methods (TensorFlow) code
Example reinforcement learning policy model (TensorFlow) code
Click through rate: Deep Interest Network (TensorFlow) code
Click through rate: Deep Interest Evolution Network (TensorFlow) code
Dynamic Sparsity: MNIST RigL (TensorFlow) code
Dynamic Sparsity: Autoregressive Language Modelling (TensorFlow) code

Application examples

The applications/ folder contains example applications written in different frameworks targeting the IPU. See the READMEs in each folder for details on how to use these applications.

Code examples

The code_examples/ folder contains smaller models and code examples. See the READMEs in each folder for details.

Tutorials

Tutorials and further code examples can be found in our dedicated Tutorials repository.

Utilities

The utils/ folder contains utilities libraries and scripts that are used across the other code examples. This includes:

  • utils/examples_tests - Common Python helper functions for the repository's unit tests.
  • utils/benchmarks - Common Python helper functions for running benchmarks on the IPU in different frameworks.

graphcore-examples's People

Contributors

davelgraphcore avatar grahamhgraphcore avatar jamesrandom avatar markp-gc avatar oskarbun avatar philb-graphcore avatar vidhyasudhanl 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.