Skip to content

Commit

Permalink
py : add "LLaMAForCausalLM" conversion support (#9485)
Browse files Browse the repository at this point in the history
Co-authored-by: Csaba Kecskemeti <[email protected]>
  • Loading branch information
csabakecskemeti and Csaba Kecskemeti authored Sep 15, 2024
1 parent d6b37c8 commit 3c7989f
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 3c7989f

Please sign in to comment.