We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d8904d6 commit 525c9aeCopy full SHA for 525c9ae
src/llama-context.cpp
@@ -409,8 +409,6 @@ ggml_context * llama_context::get_ctx_compute() const {
409
}
410
411
void dump_state(llama_context *ctx, const char* dump_file_path) {
412
- std::vector<uint8_t> state_mem;
413
-
414
std::vector<uint8_t> state_mem(llama_state_get_size(ctx));
415
const size_t written = llama_state_get_data(ctx, state_mem.data(), state_mem.size());
416
0 commit comments