Skip to main content

Module format

Module format 

Source
Expand description

Format and capability facts derived from a model’s files.

Structs§

GgufArchitectureProfile
The modality, capabilities, and execution shape implied by a GGUF architecture.
GgufFacts
Facts read from a GGUF header.

Enums§

ModelFormat
A recognized model format — the on-disk weight formats plus the logical sources (a diffusers pipeline directory, an Ollama store entry, a built-in or remote-endpoint model), and Unknown for anything unrecognized.

Functions§

gguf_architecture_profile
The known-architecture profile for a GGUF general.architecture value.
ollama_chat_profile
The default profile for an Ollama chat model with no more specific match.
ollama_profile
The profile for an Ollama model: vision when it ships a projector, otherwise the profile of architecture, the one its weight blob’s GGUF header names, if recognized, else the plain chat default.
ollama_vision_profile
The default profile for an Ollama vision-capable chat model.