From 5ce50f6a8bd7b1d2937aebe531abb1bdd2ee871d Mon Sep 17 00:00:00 2001 From: Olivier Chafik Date: Fri, 26 Apr 2024 15:31:49 +0100 Subject: [PATCH] args: fix update to quantize-stats.cpp --- examples/quantize-stats/quantize-stats.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/quantize-stats/quantize-stats.cpp b/examples/quantize-stats/quantize-stats.cpp index 86e03a80b..746df8446 100644 --- a/examples/quantize-stats/quantize-stats.cpp +++ b/examples/quantize-stats/quantize-stats.cpp @@ -23,7 +23,7 @@ #endif struct quantize_stats_params { - std::string model = "models/7B/ggml-model-f16.gguf"; + std::string model = DEFAULT_MODEL_PATH; bool verbose = false; bool per_layer_stats = false; bool print_histogram = false; @@ -50,7 +50,7 @@ static void quantize_stats_print_usage(int /*argc*/, char ** argv) { fprintf(stderr, "options:\n"); fprintf(stderr, " -h, --help show this help message and exit\n"); fprintf(stderr, " -m FNAME, --model FNAME\n"); - fprintf(stderr, " model path (default: %s)\n", DEFAULT_MODEL_PATH); + fprintf(stderr, " model path (default: %s)\n", params.model.c_str()); fprintf(stderr, " -r, --reference\n"); fprintf(stderr, " use reference implementation (default: false)\n"); fprintf(stderr, " -v, --verbose\n");