Skip to content

Latest commit

 

History

History
58 lines (40 loc) · 2.39 KB

File metadata and controls

58 lines (40 loc) · 2.39 KB

RTSS_RIDS

avatar

Introduction

RIDS is a hardware-friendly Recurrent Neural Network (RNN) model that is co-designed with programmable switches. It includes: (i) rLearner focuses on implementing the model inference process which only depends on bitwise operations or integer additions/subtractions; (ii) rEnforcer is the specially designed pipeline enforcing rLearner-generated models inside the switches. This anonymous repository displays the corresponding source code for model implementation.

Requirements

pip install scipy
pip install numpy
pip install pandas
pip install tqdm
pip install pyecharts
pip install joblib
pip install pickle
pip install torch

Hardware:

Software:

  • Ubuntu 20.04.1 LTS
  • Python 3.7
  • DPDK 20.11
  • MoonGen/Pktgen

Packet Generator

Pipeline

avatar

Programmable Switches

The P4 implementation is stored in ./rEnforcer/.

Model Architecture

The codes for the model construction are stored in ./rLearner/ folder. Among them, there are a series of binarization operations, such as activation functions, linear layers, etc.

References