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 <ghart@us.ibm.com>
This commit is contained in:
Gabe Goodhart 2024-09-10 09:36:44 -06:00
parent e73d795eff
commit 80863806a3

View file

@ -4081,7 +4081,7 @@ class ExaoneModel(Model):
@Model.register("GraniteForCausalLM")
class GraniteModel(Model):
class GraniteModel(LlamaModel):
"""Conversion for IBM's GraniteForCausalLM"""
model_arch = gguf.MODEL_ARCH.GRANITE