diff options
author | Georgi Gerganov <ggerganov@gmail.com> | 2024-05-22 20:04:20 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-22 20:04:20 +0300 |
commit | 6ff13987ad1a9519bee13dd98b6a21cd98979aab (patch) | |
tree | e085c9fbac76f57dbbef6233b42eb981352e9925 /examples/imatrix/imatrix.cpp | |
parent | 38c03478a37e460ecd3a21155b338a83bfed7f90 (diff) |
common : normalize naming style (#7462)
* common : normalize naming style
ggml-ci
* common : match declaration / definition order
* zig : try to fix build
Diffstat (limited to 'examples/imatrix/imatrix.cpp')
-rw-r--r-- | examples/imatrix/imatrix.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/imatrix/imatrix.cpp b/examples/imatrix/imatrix.cpp index 82b19fc4..25a2351c 100644 --- a/examples/imatrix/imatrix.cpp +++ b/examples/imatrix/imatrix.cpp @@ -598,7 +598,7 @@ int main(int argc, char ** argv) { std::mt19937 rng(params.seed); if (params.random_prompt) { - params.prompt = gpt_random_prompt(rng); + params.prompt = string_random_prompt(rng); } sparams.dataset = params.prompt_file; @@ -667,7 +667,7 @@ int main(int argc, char ** argv) { // print system information { fprintf(stderr, "\n"); - fprintf(stderr, "%s\n", get_system_info(params).c_str()); + fprintf(stderr, "%s\n", gpt_params_get_system_info(params).c_str()); } bool OK = compute_imatrix(ctx, params, compute_ppl, from_chunk); |