summaryrefslogtreecommitdiff
path: root/llama.cpp
diff options
context:
space:
mode:
authorStephan Walter <stephan@walter.name>2023-04-22 10:54:13 +0000
committerGitHub <noreply@github.com>2023-04-22 10:54:13 +0000
commitc50b628810f36a3e6e0324371f6db579eacefa0e (patch)
treeb898992edc4c272bc0705684e6eaa926d26b219f /llama.cpp
parent5f939498d517b4dddbe904f202e895a3ecfb9dc4 (diff)
Fix CI: ARM NEON, quantization unit tests, editorconfig (#1122)
Diffstat (limited to 'llama.cpp')
-rw-r--r--llama.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/llama.cpp b/llama.cpp
index 4e92f551..34327ecf 100644
--- a/llama.cpp
+++ b/llama.cpp
@@ -2256,7 +2256,6 @@ std::vector<std::pair<std::string, struct ggml_tensor *>>& llama_internal_get_te
// Returns the size of the state
size_t llama_get_state_size(struct llama_context * ctx) {
- const size_t s_bool = sizeof(int32_t);
// we don't know size of rng until we actually serialize it. so reserve more than enough memory for its serialized state.
// for reference, std::mt19937(1337) serializes to 6701 bytes.
const size_t s_rng_size = sizeof(size_t);