Skip to content

Commit

Permalink
py : add "LLaMAForCausalLM" conversion support (ggerganov#9485)
Browse files Browse the repository at this point in the history
Co-authored-by: Csaba Kecskemeti <[email protected]>
  • Loading branch information
2 people authored and arthw committed Nov 15, 2024
1 parent 1720de9 commit 217ff68
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion convert_hf_to_gguf.py
Original file line number Diff line number Diff line change
Expand Up @@ -1487,7 +1487,7 @@ def prepare_tensors(self):
raise ValueError(f"Unprocessed norms: {norms}")


@Model.register("LlamaForCausalLM", "MistralForCausalLM", "MixtralForCausalLM")
@Model.register("LLaMAForCausalLM", "LlamaForCausalLM", "MistralForCausalLM", "MixtralForCausalLM")
class LlamaModel(Model):
model_arch = gguf.MODEL_ARCH.LLAMA

Expand Down

0 comments on commit 217ff68

Please sign in to comment.