Skip to content

armgit / piper

Public Imported from GitHub
0

A fast, local neural text to speech system

perf: use heuristic instead of exhaustiv conv algo search

marty1885e0f71939b9ba
diff --git a/src/python_run/piper/voice.py b/src/python_run/piper/voice.py
index 02a2ddd..1edda09 100644
--- a/src/python_run/piper/voice.py
+++ b/src/python_run/piper/voice.py
@@ -41,7 +41,7 @@ class PiperVoice:
sess_options=onnxruntime.SessionOptions(),
providers=["CPUExecutionProvider"]
if not use_cuda
- else ["CUDAExecutionProvider"],
+ else [("CUDAExecutionProvider", {"cudnn_conv_algo_search": "HEURISTIC"})],
),
)