diff --git a/common/common.cpp b/common/common.cpp index 52576cba37bdd..e0435357468b9 100644 --- a/common/common.cpp +++ b/common/common.cpp @@ -1,3 +1,4 @@ +#include "pch.h" #include "common.h" #include "json.hpp" #include "json-schema-to-grammar.h" diff --git a/common/grammar-parser.cpp b/common/grammar-parser.cpp index 2a1301569793a..538bbf74aba3e 100644 --- a/common/grammar-parser.cpp +++ b/common/grammar-parser.cpp @@ -1,3 +1,4 @@ +#include "pch.h" #include "grammar-parser.h" #include #include diff --git a/common/json-schema-to-grammar.cpp b/common/json-schema-to-grammar.cpp index 0f8f1b1d41bdc..4c6ce1857a3ed 100644 --- a/common/json-schema-to-grammar.cpp +++ b/common/json-schema-to-grammar.cpp @@ -1,3 +1,4 @@ +#include "pch.h" #include "json-schema-to-grammar.h" #include #include diff --git a/common/ngram-cache.cpp b/common/ngram-cache.cpp index 3ca112ef1613d..9e87786ba7e2c 100644 --- a/common/ngram-cache.cpp +++ b/common/ngram-cache.cpp @@ -1,3 +1,4 @@ +#include "pch.h" #include "ngram-cache.h" #include "common.h" #include "log.h" diff --git a/common/sampling.cpp b/common/sampling.cpp index 5ae941fc73af3..2a951cceba228 100644 --- a/common/sampling.cpp +++ b/common/sampling.cpp @@ -1,3 +1,4 @@ +#include "pch.h" #include "sampling.h" struct llama_sampling_context * llama_sampling_init(const struct llama_sampling_params & params) { @@ -365,4 +366,4 @@ void llama_sampling_rollback( } ctx_sampling->prev.erase(ctx_sampling->prev.end() - rollback_num, ctx_sampling->prev.end()); -} \ No newline at end of file +} diff --git a/examples/llava/clip.cpp b/examples/llava/clip.cpp index 5954bf6cdec68..d01f0c0347fe1 100644 --- a/examples/llava/clip.cpp +++ b/examples/llava/clip.cpp @@ -1,3 +1,4 @@ +#include "pch.h" // NOTE: This is modified from clip.cpp only for LLaVA, // so there might be still unnecessary artifacts hanging around // I'll gradually clean and extend it diff --git a/examples/llava/llava.cpp b/examples/llava/llava.cpp index 29764757aab5d..d5f558e594085 100644 --- a/examples/llava/llava.cpp +++ b/examples/llava/llava.cpp @@ -1,3 +1,4 @@ +#include "pch.h" #include "clip.h" #include "common.h" #include "llama.h"