piper in calibre is a standalone executable, you could build your own version that supports GPU acceleration and replace it in the calibre install. IIRC the GPU acceleration comes from onnxruntime not piper itself, so you would need to build that against cuda then build piper against that, or just replace the onnx dlls in the calibre installation folder might be sufficient, not sure.
|