Skip to content

Adding MistralForCausalLM architecture to convert-hf-to-gguf.py #4463

Description

@moo-aly

Hi.

I'm trying to deploy Mistral-7B-v0.1 locally, as the documentation mentions it's supported, but it fails to generate the GGUF model file.

The error is NotImplementedError: Architecture "MistralForCausalLM" not supported!

As using GGUF files is a breaking change and the Mistral-7B model should be supported, I think adding support for MistralForCausalLM architecture to convert-hf-to-gguf.py is essential.

I'm running the latest version as of Dec 14, 2023, which is b1637

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions