From 234387de57793d36962419b6280bf5b392239cdd Mon Sep 17 00:00:00 2001 From: Gabe Goodhart Date: Tue, 10 Sep 2024 09:36:44 -0600 Subject: [PATCH] fix(convert_hf_to_gguf): Use LlamaModel as base for GraniteModel The defaults in LlamaModel are needed for Granite as well Branch: GraniteLM Signed-off-by: Gabe Goodhart --- convert_hf_to_gguf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/convert_hf_to_gguf.py b/convert_hf_to_gguf.py index 004a75c697dc8f..ee1f8e89395763 100755 --- a/convert_hf_to_gguf.py +++ b/convert_hf_to_gguf.py @@ -3932,7 +3932,7 @@ def prepare_tensors(self): @Model.register("GraniteForCausalLM") -class GraniteModel(Model): +class GraniteModel(LlamaModel): """Conversion for IBM's GraniteForCausalLM""" model_arch = gguf.MODEL_ARCH.GRANITE