diff --git a/llama.cpp b/llama.cpp index 742b8b86b..626905426 100644 --- a/llama.cpp +++ b/llama.cpp @@ -1708,15 +1708,6 @@ namespace GGUFMeta { template<> struct GKV_Base: GKV_Base_Type {}; template<> struct GKV_Base: GKV_Base_Type {}; - struct GetArrayLen{int value;}; - template<> struct GKV_Base { - public: - static constexpr gguf_type gt = GGUF_TYPE_ARRAY; - static GetArrayLen getter(const gguf_context *ctx, const int k) { - return GetArrayLen{gguf_get_arr_n(ctx, k)}; - } - }; - struct ArrayInfo{ const gguf_type gt; const size_t length;