From 6616772ffa82757896799248d16c8dcdcaeddca8 Mon Sep 17 00:00:00 2001 From: Daniel Bevenius Date: Thu, 11 Jan 2024 09:02:42 +0100 Subject: [PATCH] finetune: sort includes according to iwyu This commit sorts the includes in finetune.cpp according to the include-what-you-use tool. The motivation for sorting is that it might make it easier in the furture to just copy and paste the output from iwyu into the source and also to make it easier to see what is missing. Signed-off-by: Daniel Bevenius --- examples/finetune/finetune.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/examples/finetune/finetune.cpp b/examples/finetune/finetune.cpp index 7054bb3a7..176056bae 100644 --- a/examples/finetune/finetune.cpp +++ b/examples/finetune/finetune.cpp @@ -1,18 +1,18 @@ +#include // for exit, srand +#include // for replace #include // for errno #include // for sqrtf #include // for uint32_t, int64_t, uint8_t, int32_t, SIZE_MAX #include // for printf, fprintf, snprintf, NULL, stderr, fclose -#include // for exit, srand -#include "ggml.h" // for ggml_tensor, ggml_get_name, ggml_new_tensor_2d -#include "ggml-alloc.h" // for ggml_allocr_alloc, ggml_allocr_free, ggml_al... -#include "llama.h" // for llama_get_model_tensor, llama_free, llama_fr... -#include "common.h" // for die_fmt, die -#include "train.h" // for assert_shape_2d, train_params_common, copy_t... -#include // for vector #include // for strlen, memcmp, strerror #include // for time -#include // for replace #include // for basic_string, operator==, char_traits, string +#include // for vector +#include "common.h" // for die_fmt, die +#include "ggml-alloc.h" // for ggml_allocr_alloc, ggml_allocr_free, ggml_al... +#include "ggml.h" // for ggml_tensor, ggml_get_name, ggml_new_tensor_2d +#include "llama.h" // for llama_get_model_tensor, llama_free, llama_fr... +#include "train.h" // for assert_shape_2d, train_params_common, copy_t... #if defined(_MSC_VER) #pragma warning(disable: 4244 4267) // possible loss of data