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?
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,
modctlships its ownModelfileformat (viamodctl 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":
NAME,ARCH,FORMAT,MODEL,CONFIGFROM,PARAMETER,TEMPLATE,SYSTEMQuestions for the community
Does ModelPack plan to formally specify a Modelfile format as part of this spec?