summaryrefslogtreecommitdiff
path: root/llama.cpp
diff options
context:
space:
mode:
authorSlaren <2141330+slaren@users.noreply.github.com>2023-03-29 05:38:57 +0200
committerJustine Tunney <jtunney@gmail.com>2023-03-30 12:28:25 -0700
commit64bde3ffd4aef799acb790a3eedddbd0a0612108 (patch)
treed79809835655f24153c144e1f5d9f31ecebe1adf /llama.cpp
parentc03ae8dca1d7c451054754979e60a6de1f64c3cd (diff)
Fix ggml_init_params in quantize
Diffstat (limited to 'llama.cpp')
-rw-r--r--llama.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/llama.cpp b/llama.cpp
index d7126f45..1adeee5f 100644
--- a/llama.cpp
+++ b/llama.cpp
@@ -315,7 +315,6 @@ void * mmap_file(const char* fname) {
#endif
}
-
static bool llama_model_load(
const std::string & fname,
llama_context & lctx,
@@ -489,8 +488,6 @@ static bool llama_model_load(
}
}
-
-
auto & ctx = model.ctx;
size_t ctx_size = 0;