finetune: add comments to all includes

This commit adds comments to the includes in finetune.cpp that
currently don't have comments containing what they include.

Signed-off-by: Daniel Bevenius <daniel.bevenius@gmail.com>
This commit is contained in:
Daniel Bevenius 2024-01-11 08:47:12 +01:00
parent ec2ff06029
commit 90732e824c
Failed to extract signature

View file

@ -1,18 +1,18 @@
#include <cerrno> // for errno #include <cerrno> // for errno
#include <cmath> // for sqrtf #include <cmath> // for sqrtf
#include <cstdint> // for uint32_t, int64_t, uint8_t, int32_t, SIZE_MAX #include <cstdint> // for uint32_t, int64_t, uint8_t, int32_t, SIZE_MAX
#include <cstdio> // for printf, fprintf, snprintf, NULL, stderr, fclose #include <cstdio> // for printf, fprintf, snprintf, NULL, stderr, fclose
#include <cstdlib> // for exit, srand #include <cstdlib> // for exit, srand
#include "ggml.h" #include "ggml.h" // for ggml_tensor, ggml_get_name, ggml_new_tensor_2d
#include "ggml-alloc.h" #include "ggml-alloc.h" // for ggml_allocr_alloc, ggml_allocr_free, ggml_al...
#include "llama.h" #include "llama.h" // for llama_get_model_tensor, llama_free, llama_fr...
#include "common.h" #include "common.h" // for die_fmt, die
#include "train.h" #include "train.h" // for assert_shape_2d, train_params_common, copy_t...
#include <vector> #include <vector> // for vector
#include <cstring> #include <cstring> // for strlen, memcmp, strerror
#include <ctime> #include <ctime> // for time
#include <algorithm> #include <algorithm> // for replace
#include <string> #include <string> // for basic_string, operator==, char_traits, string
#if defined(_MSC_VER) #if defined(_MSC_VER)
#pragma warning(disable: 4244 4267) // possible loss of data #pragma warning(disable: 4244 4267) // possible loss of data