Skip to content

How to save a quantized model  #114

@zyzhang1130

Description

@zyzhang1130

I am having the following issue when pushing the trained 4-bit to huggingface through base_model.push_to_hub("my-awesome-model"):

NotImplementedError: You are calling `save_pretrained` on a 4-bit converted model. This is currently not supported

Is there any alternative to save the trained quantized model?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions