]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commitdiff
tts : small QoL for easy model fetch (#10903)
authorGeorgi Gerganov <redacted>
Thu, 19 Dec 2024 15:35:15 +0000 (17:35 +0200)
committerGitHub <redacted>
Thu, 19 Dec 2024 15:35:15 +0000 (17:35 +0200)
common/arg.cpp

index e5ddd8318f787cf4fd8067ab813337f6e9e7cd10..c3d66efb5a701f571f3de403e90aa88001d9f08c 100644 (file)
@@ -2206,5 +2206,17 @@ common_params_context common_params_parser_init(common_params & params, llama_ex
         }
     ).set_examples({LLAMA_EXAMPLE_TTS, LLAMA_EXAMPLE_SERVER}));
 
+    // model-specific
+    add_opt(common_arg(
+        {"--tts-oute-default"},
+        string_format("use default OuteTTS models (note: can download weights from the internet)"),
+        [](common_params & params) {
+            params.hf_repo = "OuteAI/OuteTTS-0.2-500M-GGUF";
+            params.hf_file = "OuteTTS-0.2-500M-Q8_0.gguf";
+            params.vocoder.hf_repo = "ggml-org/WavTokenizer";
+            params.vocoder.hf_file = "WavTokenizer-Large-75-F16.gguf";
+        }
+    ).set_examples({LLAMA_EXAMPLE_TTS}));
+
     return ctx_arg;
 }