ensured that behavior consistent with log
This commit is contained in:
parent
ac5830d729
commit
65bcf2e14f
1 changed files with 4 additions and 0 deletions
|
@ -638,6 +638,10 @@ int main(int argc, char ** argv) {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (params.prompt.empty()) {
|
if (params.prompt.empty()) {
|
||||||
|
if (params.in_files.empty()) {
|
||||||
|
LOG_ERR("Error: No prompt provided and no precomputed matrices (--in-file) to combine.\n");
|
||||||
|
return 1;
|
||||||
|
}
|
||||||
LOG_INF("No prompt provided; combining precomputed matrices only.\n");
|
LOG_INF("No prompt provided; combining precomputed matrices only.\n");
|
||||||
} else {
|
} else {
|
||||||
if (!compute_imatrix(ctx, params)) {
|
if (!compute_imatrix(ctx, params)) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue