/fast_wavegru

Fast C++ WaveGRU

Primary LanguageC++Apache License 2.0Apache-2.0

Introduction

We use DeepMind's sparse matmul library to speed-up WaveGRU inference.

Build

$ go get github.com/bazelbuild/bazelisk
$ sudo apt-get install libsndfile1 -y
$ pip install librosa
$ bazelisk build wavegru -c opt --copt=-march=native

Run

$ ./bazel-bin/wavegru --weight ./weight.pickle --mel ./ft.npy --output audio.wav