We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a3a3048 commit 3a8e9afCopy full SHA for 3a8e9af
examples/imatrix/imatrix.cpp
@@ -637,10 +637,19 @@ int main(int argc, char ** argv) {
637
LOG_INF("%s\n", common_params_get_system_info(params).c_str());
638
}
639
640
- if (!compute_imatrix(ctx, params)) {
641
- return 1;
+ if (params.prompt.empty()) {
+ if (params.in_files.empty()) {
642
+ LOG_ERR("Error: No prompt provided and no precomputed matrices (--in-file) to combine.\n");
643
+ return 1;
644
+ }
645
+ LOG_INF("No prompt provided; combining precomputed matrices only.\n");
646
+ } else {
647
+ if (!compute_imatrix(ctx, params)) {
648
649
650
651
652
+
653
g_collector.save_imatrix();
654
655
LOG("\n");
0 commit comments