xiph / LPCNet

Efficient neural speech synthesis
BSD 3-Clause "New" or "Revised" License
1.12k stars 295 forks source link

Use cupy for numpy speedup #167

Open roshkins opened 2 years ago

roshkins commented 2 years ago

One of the longest running tasks is generating the dump file before training, which currently uses CPU only. I tried changing it to use CuPy, but it turns out to be non-trivial because of the optimization tricks you use, so I am creating an issue to propose using it to speed it up for applicable GPUs.

I understand that this is designed for CPUs, would be nice to have a GPU option!

cupy.dev/

rapids.ai