kensho-technologies / pyctcdecode

A fast and lightweight python-based CTC beam search decoder for speech recognition.
Apache License 2.0
421 stars 89 forks source link

Any support for GPU ? #77

Open thangld201 opened 2 years ago

thangld201 commented 2 years ago

I notice that doing inference with language model on large amount of texts can be quite slow. In particular, it took me 11 minutes to decode around 4600 lines of text. I wonder if pyctcdecode supports using GPU for acceleration ? At the moment, I see that the model's using CPU only, making it hard for batch decoding and such.

thangld201 commented 2 years ago

@lopez86 Could you help me ?