mirror of
https://github.com/pstrueb/piper.git
synced 2026-05-02 04:18:01 +00:00
perf: use heuristic instead of exhaustiv conv algo search
This commit is contained in:
@@ -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"})],
|
||||
),
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user