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"})], ), )