Neural Boost
Neural Boost targeting to boost inference performance.
It could boost operaters inference performance by 3-8x:
- Repalce nn.LSTM by nb.LSTM
- Replace nn.GRU by nb.GRU
Package: https://pypi.org/project/neural-boost/
How to test
$ git clone https://github.com/neural-boost/neural-boost.git
$ bash scripts/build-env.sh
$ source venv-py3.6-torch1.9.0/bin/activate
$ bash run.sh
How to use
$ pip3 install neural-boost -i https://pypi.org/simple
from neural_boost import nb
nb.LSTM(...)
nb.GRU(...)