Skip to content

Commit

Permalink
finetune: sort includes according to iwyu
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
danbev committed Jan 11, 2024
1 parent 90732e8 commit 6616772
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions examples/finetune/finetune.cpp
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 6616772

Please sign in to comment.