Skip to content

NInfer now supports custom weight recipes and chat templates #245

Description

@Neroued

NInfer now supports custom weight recipes. You can convert your own post-trained or fine-tuned checkpoints for supported model architectures and configurations, and choose weight formats across layers and projections.

Start from a built-in recipe or write your own. Recipes can stay local and do not need to be submitted upstream.

See the [weight conversion guide](https://github.com/Neroued/ninfer/blob/master/docs/weight-conversion.md) for commands and examples.

What is supported?

Custom checkpoints and format combinations no longer require checkpoint-specific engine registration. However, a particular source may still need conversion code, and the resulting artifact needs Op support for its formats, layouts, shapes and combinations.

Op support and performance tuning

Community contributions are welcome for missing Op support and performance tuning of existing implementations.

Keep each PR focused on one concrete change—for example, supporting one format/shape combination or tuning one existing shape—with the relevant verification and report.

Updating

The changes are available on master, and the official Hugging Face artifacts have been updated to the v3 container format. Update and rebuild NInfer to use them.

Existing official v2 artifacts can be [upgraded locally](https://github.com/Neroued/ninfer/blob/master/docs/weight-conversion.md#upgrade-an-existing-v2-artifact) without downloading the weights again.

Related requests: #231, #192, #81, #214 and #70. These cover custom post-trained weights, alternative quantization sources and mixed-format choices; individual conversion and Op requirements still apply.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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