Proprietary and confidential. Do not distribute.
Deep Learning, neon,
and the Nervana Cloud
Will Constable
March 3 2016
MAKING MACHINES SMARTER.™
Agenda
2
Neon
Nervana Cloud
Intro to Deep Learning
Demo
deep speech 2
3
what is deep learning?
4
Before deep learning:
• Input → designed features → output
• Input → designed features → SVM → output
• Input → learned features → SVM → output
• Input → levels of learned features → output
what is deep learning?
5
(Zeiler and Fergus, 2013)
what is deep learning?
6
++ +
Proprietary and confidential. Do not distribute.
Deep learning techniques
imagnet error rate
7
Source: ImageNet
1: ImageNet top 5 error rate
Error rate1
human performance
what is deep learning?
8
No free lunch:
• lots of data
• model design needs intuition
• slow experiments
agenda
9
Neon
Nervana Cloud
Intro to Deep Learning
Demo
model
Convolution
BatchNorm
ReLu Activation
training workflow
10
Fully Connected
Pooling
Softmax
cost
optimizer
Train Set
Validation Set
model zoo
11
• github.com/nervanazoo/NervanaModelZoo
• model files, parameters GoogLeNetAlexnet
VGG
Deep Residual Net
bAbI Q&A
imdb Sentiment Analysis
Video Activity Detection
Deep Reinforcement Learning
LSTM Image Captioning
Fast-RCNN Object Localization
AllCNN
caffe compatibility
12
• github.com/NervanaSystems/caffe2neon.git
• Convert caffe model to neon format
> ./decaffeinate.py caffe_model.prototxt caffe_params -o neon_model
backend interface
13
from neon.backends import gen_backend
be = gen_backend(backend=‘gpu') # backend creation
x0 = be.ones((2, 2), name=‘x0') # buffer allocation
x1 = be.ones((2, 2), name=‘x1')
f_val = be.empty((2, 2))
f = x0 + x1 # op-tree creation
f_val[:] = f # execution
• numpy-like
• consistent cpu/gpu interface
• deferred execution op-tree
full stack optimization
14
• multithreaded data loader
• hand-assembled kernels
• compound kernel generator
release
15
neon 1.3
github.com/nervanaSystems/neon
winograd convolution
16
• 2x faster convolutionAlgorithmicSpeedup
0
0.5
1
1.5
2
winograd cuDNN v4
Efficient Convolution
Agenda
17
Neon
Nervana Cloud
Intro to Deep Learning
Demo
nervana cloud
18
Import Build Train Deploy
nervana cloud
19
neon deep
learning
framework
S3Nervana HardwareAWS S3TitanX Cluster
web UI
20
ncloud cli
21
Proprietary and confidential. Do not distribute.
Summary
22
• neon 1.3 (download today)
• cloud - contact us (info@nervanasys.com)
• We’re hiring! (nervanasys.com/careers)
will@nervanasys.com
Agenda
23
Neon
Nervana Cloud
Intro to Deep Learning
Demo
Introduction to Deep Learning with Will Constable

Introduction to Deep Learning with Will Constable