diff options
| author | Konstantin <const@const.me> | 2023-01-18 20:35:30 +0100 |
|---|---|---|
| committer | Konstantin <const@const.me> | 2023-01-18 20:35:30 +0100 |
| commit | 11c399b70c7ad5664b6060b39632e6b9fa815350 (patch) | |
| tree | 763afed51699017749d3f0398f16928aad7544a4 /WhisperNet/Library.cs | |
| parent | ad097a744759c6a78e1b33ea9d2b4b2af01c529d (diff) | |
Optional startup flags to override performance-related defaults for the compute shaders
Diffstat (limited to 'WhisperNet/Library.cs')
| -rw-r--r-- | WhisperNet/Library.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/WhisperNet/Library.cs b/WhisperNet/Library.cs index 72ecb6e..5bdb0a3 100644 --- a/WhisperNet/Library.cs +++ b/WhisperNet/Library.cs @@ -35,7 +35,7 @@ namespace Whisper /// <remarks>Models are large, depending on user’s disk speed this might take a while, and this function blocks the calling thread.<br/> /// Consider <see cref="loadModelAsync" /> instead.</remarks> /// <seealso href="https://huggingface.co/datasets/ggerganov/whisper.cpp" /> - public static iModel loadModel( string path, eModelImplementation impl = eModelImplementation.GPU ) + public static iModel loadModel( string path, eGpuModelFlags flags = eGpuModelFlags.None, eModelImplementation impl = eModelImplementation.GPU ) { iModel model; sLoadModelCallbacks callbacks = default; |
