imatrix-combine-only idea

This commit is contained in:
Roberto Tomás Collins 2024-11-25 09:29:04 -05:00
parent 5931c1f233
commit ac5830d729

View file

@ -637,10 +637,15 @@ int main(int argc, char ** argv) {
LOG_INF("%s\n", common_params_get_system_info(params).c_str());
}
if (!compute_imatrix(ctx, params)) {
return 1;
if (params.prompt.empty()) {
LOG_INF("No prompt provided; combining precomputed matrices only.\n");
} else {
if (!compute_imatrix(ctx, params)) {
return 1;
}
}
g_collector.save_imatrix();
LOG("\n");