Skip to content

Should ModelPack standardize a Modelfile format? #208

@ericcurtin

Description

@ericcurtin

Background

A contributor recently opened docker/model-runner#903 to add Modelfile support to Docker Model Runner. The implementation follows Ollama's Modelfile format, which is oriented around runtime configuration (inference parameters, prompt templates, system prompts, etc.).

At the same time, modctl ships its own Modelfile format (via modctl modelfile generate), which serves a different purpose: describing packaging metadata for OCI artifacts (architecture, format, precision, weights, configs, etc.).

This gives us two things both called "Modelfile":

modctl Modelfile Ollama Modelfile
Purpose OCI packaging metadata Runtime/inference configuration
Key fields NAME, ARCH, FORMAT, MODEL, CONFIG FROM, PARAMETER, TEMPLATE, SYSTEM

Questions for the community

Does ModelPack plan to formally specify a Modelfile format as part of this spec?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions