mirror of
https://github.com/ikawrakow/ik_llama.cpp.git
synced 2026-02-24 15:14:10 +00:00
Remove hardcoded extension and add error handling to extension loading
This commit is contained in:
@@ -1410,6 +1410,11 @@ bool gpt_params_find_arg(int argc, char ** argv, const std::string & arg, gpt_pa
|
||||
params.sql_save_file = argv[i];
|
||||
return true;
|
||||
}
|
||||
if (arg == "--sqlite-zstd-ext-file") {
|
||||
CHECK_ARG
|
||||
params.sqlite_zstd_ext_file = argv[i];
|
||||
return true;
|
||||
}
|
||||
if (arg == "--chat-template") {
|
||||
CHECK_ARG
|
||||
if (!llama_chat_verify_template(argv[i])) {
|
||||
|
||||
Reference in New Issue
Block a user