gguf

package
v1.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 6, 2025 License: Apache-2.0, Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Model

type Model struct {
	// contains filtered or unexported fields
}

func NewModel

func NewModel(path string) (*Model, error)

func (*Model) Config

func (m *Model) Config() (types.Config, error)

func (*Model) ConfigFile

func (m *Model) ConfigFile() (*v1.ConfigFile, error)

func (*Model) ConfigName

func (m *Model) ConfigName() (v1.Hash, error)

func (*Model) Descriptor

func (m *Model) Descriptor() (types.Descriptor, error)

func (*Model) Digest

func (m *Model) Digest() (v1.Hash, error)

func (*Model) ID

func (m *Model) ID() (string, error)

func (*Model) LayerByDiffID

func (m *Model) LayerByDiffID(hash v1.Hash) (v1.Layer, error)

func (*Model) LayerByDigest

func (m *Model) LayerByDigest(hash v1.Hash) (v1.Layer, error)

func (*Model) Layers

func (m *Model) Layers() ([]v1.Layer, error)

func (*Model) Manifest

func (m *Model) Manifest() (*v1.Manifest, error)

func (*Model) MediaType

func (m *Model) MediaType() (ggcr.MediaType, error)

func (*Model) RawConfigFile

func (m *Model) RawConfigFile() ([]byte, error)

func (*Model) RawManifest

func (m *Model) RawManifest() ([]byte, error)

func (*Model) Size

func (m *Model) Size() (int64, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL