Skip to content

Commit 8c0b8e1

Browse files
committed
Fix typos
1 parent 2dc5dfb commit 8c0b8e1

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

examples/cli/main.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -210,8 +210,8 @@ void print_usage(int argc, const char* argv[]) {
210210
printf(" --upscale-repeats Run the ESRGAN upscaler this many times (default 1)\n");
211211
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");
212212
printf(" If not specified, the default is the type of the weight file\n");
213-
printf(" --imat-out [PATH] If set, compute the imatrix for this run and save it to the provided path");
214-
printf(" --imat-in [PATH] Use imatrix for quantization.");
213+
printf(" --imat-out [PATH] If set, compute the imatrix for this run and save it to the provided path\n");
214+
printf(" --imat-in [PATH] Use imatrix for quantization.\n");
215215
printf(" --lora-model-dir [DIR] lora model directory\n");
216216
printf(" -i, --init-img [IMAGE] path to the input image, required by img2img\n");
217217
printf(" --mask [MASK] path to the mask image, required by img2img with mask\n");

imatrix.cpp

+1-1
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)