Skip to content

Should ModelPack standardize a Modelfile format? #208

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?

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions