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 <daniel.bevenius@gmail.com>
This commit is contained in:
Daniel Bevenius 2024-01-11 09:02:42 +01:00
parent 90732e824c
commit 6616772ffa
Failed to extract signature

View file

@ -1,18 +1,18 @@
#include <cstdlib> // for exit, srand
#include <algorithm> // for replace
#include <cerrno> // for errno
#include <cmath> // for sqrtf
#include <cstdint> // for uint32_t, int64_t, uint8_t, int32_t, SIZE_MAX
#include <cstdio> // for printf, fprintf, snprintf, NULL, stderr, fclose
#include <cstdlib> // 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 <vector> // for vector
#include <cstring> // for strlen, memcmp, strerror
#include <ctime> // for time
#include <algorithm> // for replace
#include <string> // for basic_string, operator==, char_traits, string
#include <vector> // 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