Skip to content

Commit 875e339

Browse files
committed
Fix typos
1 parent aa1105b commit 875e339

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

examples/cli/main.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -199,8 +199,8 @@ void print_usage(int argc, const char* argv[]) {
199199
printf(" --type [TYPE] weight type (examples: f32, f16, q4_0, q4_1, q5_0, q5_1, q8_0, q2_K, q3_K, q4_K)\n");
200200
printf(" If not specified, the default is the type of the weight file\n");
201201
printf(" --tensor-type-rules [EXPRESSION] weight type per tensor pattern (example: \"^vae\\.=f16,model\\.=q8_0\")\n");
202-
printf(" --imat-out [PATH] If set, compute the imatrix for this run and save it to the provided path");
203-
printf(" --imat-in [PATH] Use imatrix for quantization.");
202+
printf(" --imat-out [PATH] If set, compute the imatrix for this run and save it to the provided path\n");
203+
printf(" --imat-in [PATH] Use imatrix for quantization.\n");
204204
printf(" --lora-model-dir [DIR] lora model directory\n");
205205
printf(" -i, --init-img [IMAGE] path to the input image, required by img2img\n");
206206
printf(" --mask [MASK] path to the mask image, required by img2img with mask\n");

imatrix.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,7 @@ bool IMatrixCollector::load_imatrix(const char* fname) {
271271
return false;
272272
}
273273

274-
// Recreate the state as expected by save_imatrix(), and corerct for weighted sum.
274+
// Recreate the state as expected by save_imatrix(), and correct for weighted sum.
275275
for (int i = 0; i < nval; i++) {
276276
e.values[i] += tmp[i];
277277
e.counts[i] += ncall;

0 commit comments

Comments
 (0)