Home

Awesome

DVABatch

This repository contains the source code for a research paper that was submitted for publication at the 2022 USENIX Annual Technical Conference (ATC22).

What is DVABatch

The DNN inferences are often batched for better utilizing the hardware in existing DNN serving systems. However, DNN serving exhibits diversity in many aspects, such as input, operator, and load. The unawareness of these diversities results in inefficient processing. Our investigation shows that the inefficiency roots in the feature of existing batching mechanism: one entry and one exit. Therefore, we propose DVABatch, a runtime batching system that enables the multi-entry multi- exit batching scheme for existing DNN serving system.

Environment Preparation

Getting Start

mkdir $HOME/DVABatch
git clone git@github.com:sjtu-epcc/DVABatch.git DVAbatch/lego
cd $HOME/DVABatch/lego
mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX=~/DVABatch/install ..
make -j
make install
git clone https://github.com/Raphael-Hao/lego_server.git $HOME/DVABatch/server
cmake -DCMAKE_INSTALL_PREFIX=~/DVABatch/install ../build
make server
cd $HOME/DVABatch/install
./bin/benchmark ../server/config/resnet_152_04.json