Versions in this module Expand all Collapse all v1 v1.0.11 Jan 12, 2026 Changes in this version + func Register(f Format) + type Format interface + DiscoverShards func(path string) ([]string, error) + ExtractConfig func(paths []string) (types.Config, error) + MediaType func() oci.MediaType + Name func() types.Format + func DetectFromPath(path string) (Format, error) + func DetectFromPaths(paths []string) (Format, error) + func Get(name types.Format) (Format, error) + type GGUFFormat struct + func (g *GGUFFormat) DiscoverShards(path string) ([]string, error) + func (g *GGUFFormat) ExtractConfig(paths []string) (types.Config, error) + func (g *GGUFFormat) MediaType() oci.MediaType + func (g *GGUFFormat) Name() types.Format + type SafetensorsFormat struct + func (s *SafetensorsFormat) DiscoverShards(path string) ([]string, error) + func (s *SafetensorsFormat) ExtractConfig(paths []string) (types.Config, error) + func (s *SafetensorsFormat) MediaType() oci.MediaType + func (s *SafetensorsFormat) Name() types.Format