From f44bbd3d88e2cdb68e59c965e28961afe4a0ad26 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=2E=20Yusuf=20Sar=C4=B1g=C3=B6z?= Date: Fri, 11 Aug 2023 21:00:51 +0300 Subject: [PATCH] gguf : rm redundant method --- gguf-llama.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/gguf-llama.cpp b/gguf-llama.cpp index 77ba7d880..a8bd242b0 100644 --- a/gguf-llama.cpp +++ b/gguf-llama.cpp @@ -626,7 +626,6 @@ struct gguf_file_saver { fprintf(stderr, "llama.cpp: saving model to %s\n", fname); write_header(); write_hparams(new_ftype); - write_vocab(); } // TODO: probably it's better to move these to gguf_file @@ -744,10 +743,6 @@ struct gguf_file_saver { } - void write_vocab() { - uint32_t n_vocab = fl->hparams.n_vocab; - GGML_UNUSED(n_vocab); - } void write_tensor(llama_load_tensor & tensor, enum ggml_type new_type, const void * new_data, size_t new_size) { GGML_UNUSED(tensor);