Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNotFound = errors.New("model not found in registry")
Functions ¶
Types ¶
type FamilyGroup ¶ added in v0.33.0
type FamilyGroup struct {
Family string
Entries []ModelDescriptor
}
func GroupByFamily ¶ added in v0.33.0
func GroupByFamily(entries []ModelDescriptor) []FamilyGroup
type ModelDescriptor ¶
type ModelDescriptor struct {
ID string `json:"id,omitempty" example:"m1a2b3c4-d5e6-f7g8-h9i0-j1k2l3m4n5o6"`
Name string `json:"name" example:"qwen3-8b"`
SourceURL string `json:"sourceUrl" example:"https://huggingface.co/Qwen/..."`
SizeBytes int64 `json:"sizeBytes" example:"934000000"`
Curated bool `json:"curated" example:"true"`
Backend string `json:"backend,omitempty" example:"openvino"`
Repo string `json:"repo,omitempty" example:"OpenVINO/Qwen3-8B-int4-ov"`
ToolProtocol string `json:"toolProtocol,omitempty" example:"llama:common_chat_tool_parser"`
ReasoningProtocol string `json:"reasoningProtocol,omitempty" example:"llama:common_chat_reasoning_parser"`
ReasoningFormat string `json:"reasoningFormat,omitempty" example:"deepseek"`
Family string `json:"family,omitempty" example:"qwen3"`
DisplayLabel string `json:"displayLabel,omitempty" example:"Qwen 3 8B"`
UseCase string `json:"useCase,omitempty" example:"coding"`
RecommendedVRAMGB int `json:"recommendedVramGb,omitempty" example:"8"`
Vision bool `json:"vision,omitempty" example:"true"`
MMProjURL string `json:"mmprojUrl,omitempty" example:"https://huggingface.co/.../mmproj-....gguf"`
MMProjSizeBytes int64 `json:"mmprojSizeBytes,omitempty" example:"559874816"`
Notes string `json:"notes,omitempty" example:"native tool format"`
}
func (ModelDescriptor) BackendType ¶ added in v0.32.2
func (d ModelDescriptor) BackendType() string
func (ModelDescriptor) EstimatedResidentBytes ¶ added in v0.33.0
func (d ModelDescriptor) EstimatedResidentBytes() int64
func (ModelDescriptor) Label ¶ added in v0.33.0
func (d ModelDescriptor) Label() string
func (ModelDescriptor) RecommendedVRAMLabel ¶ added in v0.33.0
func (d ModelDescriptor) RecommendedVRAMLabel() string
Click to show internal directories.
Click to hide internal directories.