Hangar;PyTorch;RedisAI
Toolkits for the complete deep learning workflow
me?
Deep learning workflow
Design
&
Experimentation
Ideation
&
Planning
Model
Implementation
Training
&
Validation
Shipping
To
Production
Data collection, unit testing etc.
Deep learning workflow
What do we use
Design
&
Experimentation
Ideation
&
Planning
Model
Implementation
Training
&
Validation
Shipping
To
Production
Deep learning workflow
What do we use
Design
&
Experimentation
Ideation
&
Planning
Model
Implementation
Training
&
Validation
Shipping
To
Production
Deep learning workflow
What do we use
Design
&
Experimentation
Ideation
&
Planning
Model
Implementation
Training
&
Validation
Shipping
To
Production
Deep learning workflow
What do we use
Design
&
Experimentation
Ideation
&
Planning
Model
Implementation
Training
&
Validation
Shipping
To
Production
Deep learning workflow
What do we use
Problems
Design
&
Experimentation
Ideation
&
Planning
Model
Implementation
Training
&
Validation
Shipping
To
Production
Deep learning workflow
What do we use
Problems
Design
&
Experimentation
Ideation
&
Planning
Model
Implementation
Training
&
Validation
Shipping
To
Production
Hangar
Hangar
Question: Why hasn’t the open-source software ethos translated to open-source datasets?
Hangar is git for data; Version control tensors, not the blobs
What did we have
What went wrong?
Fundamentals
Backend
Hangar: Advantages
Some Examples & Demo
>>> repo = Repository(path='/path/to/hangar-dev-repo/')
>>> repo.init(user_name='Sherin Thomas', user_email='foo@email.com')
>>> co = repo.checkout(write=True)
>>> co.datasets.init_dataset(name='mnist_training_images', prototype=trimgs[0])
>>> train_dset = co.datasets['mnist_training_images']
>>> train_dset['0'] = trimgs[0]
>>> out = train_dset['0']
>>> plt.imshow(out.reshape(28, 28))
PyTorch
PyTorch
RedisAI
RedisAI
RedisAI: Backend a.k.a Framework
Production Strategies
RedisAI: What is it?
A Redis module providing
It turns Redis into a full-fledged deep learning runtime while still being Redis
Install Redis
wget http://download.redis.io/redis-stable.tar.gz
tar xvzf redis-stable.tar.gz
cd redis-stable
make
sudo make install
Install RedisAI
git clone https://github.com/RedisAI/RedisAI.git
cd RedisAI
bash get_deps.sh cpu
mkdir build
cd build
cmake -DDEPS_PATH=../deps/install -DCMAKE_BUILD_TYPE=Release ..
make
redis-server --loadmodule build/redisai.so
RedisAI: Tensor
Model & Script
Redis Ecosystem: Persistence
Redis Ecosystem: Client Libraries
Redis Ecosystem: Replication
Redis Ecosystem: All other modules
RedisAI: Advantages
Example 1:
Golang
Example 2: NodeJS
Example 3: Python
Example 4: Python client for RedisAI
Checkout the Demo
Demo
Thank you
We need
feedback
users
contributors
github stars