SYMBOL INDEX (687 symbols across 64 files) FILE: cache.go type GGUFFileCache (line 21) | type GGUFFileCache method getKeyPath (line 23) | func (c GGUFFileCache) getKeyPath(key string) string { method Get (line 29) | func (c GGUFFileCache) Get(key string, exp time.Duration) (*GGUFFile, ... method Put (line 67) | func (c GGUFFileCache) Put(key string, gf *GGUFFile) error { method Delete (line 88) | func (c GGUFFileCache) Delete(key string) error { FILE: cmd/gguf-parser/main.go function init (line 28) | func init() { function main (line 43) | func main() { function mainAction (line 1129) | func mainAction(c *cli.Context) error { function sprintf (line 2138) | func sprintf(f any, a ...any) string { function tprint (line 2148) | func tprint(title string, headers, bodies [][]any) { function tenary (line 2176) | func tenary(c bool, t, f any) any { function tenaryFunc (line 2183) | func tenaryFunc(c bool, t, f func() any) any { function toGGMLType (line 2190) | func toGGMLType(s string) GGMLType { FILE: file.go type GGUFFile (line 26) | type GGUFFile struct method Layers (line 523) | func (gf *GGUFFile) Layers(ignores ...string) GGUFLayerTensorInfos { type GGUFMagic (line 79) | type GGUFMagic constant GGUFMagicGGML (line 83) | GGUFMagicGGML GGUFMagic = 0x67676d6c constant GGUFMagicGGMF (line 84) | GGUFMagicGGMF GGUFMagic = 0x67676d66 constant GGUFMagicGGJT (line 85) | GGUFMagicGGJT GGUFMagic = 0x67676a74 constant GGUFMagicGGUFLe (line 86) | GGUFMagicGGUFLe GGUFMagic = 0x46554747 constant GGUFMagicGGUFBe (line 87) | GGUFMagicGGUFBe GGUFMagic = 0x47475546 type GGUFVersion (line 92) | type GGUFVersion constant GGUFVersionV1 (line 96) | GGUFVersionV1 GGUFVersion = iota + 1 constant GGUFVersionV2 (line 97) | GGUFVersionV2 constant GGUFVersionV3 (line 98) | GGUFVersionV3 type GGUFHeader (line 102) | type GGUFHeader struct type GGUFMetadataValueType (line 117) | type GGUFMetadataValueType constant GGUFMetadataValueTypeUint8 (line 121) | GGUFMetadataValueTypeUint8 GGUFMetadataValueType = iota constant GGUFMetadataValueTypeInt8 (line 122) | GGUFMetadataValueTypeInt8 constant GGUFMetadataValueTypeUint16 (line 123) | GGUFMetadataValueTypeUint16 constant GGUFMetadataValueTypeInt16 (line 124) | GGUFMetadataValueTypeInt16 constant GGUFMetadataValueTypeUint32 (line 125) | GGUFMetadataValueTypeUint32 constant GGUFMetadataValueTypeInt32 (line 126) | GGUFMetadataValueTypeInt32 constant GGUFMetadataValueTypeFloat32 (line 127) | GGUFMetadataValueTypeFloat32 constant GGUFMetadataValueTypeBool (line 128) | GGUFMetadataValueTypeBool constant GGUFMetadataValueTypeString (line 129) | GGUFMetadataValueTypeString constant GGUFMetadataValueTypeArray (line 130) | GGUFMetadataValueTypeArray constant GGUFMetadataValueTypeUint64 (line 131) | GGUFMetadataValueTypeUint64 constant GGUFMetadataValueTypeInt64 (line 132) | GGUFMetadataValueTypeInt64 constant GGUFMetadataValueTypeFloat64 (line 133) | GGUFMetadataValueTypeFloat64 constant _GGUFMetadataValueTypeCount (line 134) | _GGUFMetadataValueTypeCount type GGUFMetadataKV (line 140) | type GGUFMetadataKV struct method ValueUint8 (line 527) | func (kv GGUFMetadataKV) ValueUint8() uint8 { method ValueInt8 (line 534) | func (kv GGUFMetadataKV) ValueInt8() int8 { method ValueUint16 (line 541) | func (kv GGUFMetadataKV) ValueUint16() uint16 { method ValueInt16 (line 548) | func (kv GGUFMetadataKV) ValueInt16() int16 { method ValueUint32 (line 555) | func (kv GGUFMetadataKV) ValueUint32() uint32 { method ValueInt32 (line 562) | func (kv GGUFMetadataKV) ValueInt32() int32 { method ValueFloat32 (line 569) | func (kv GGUFMetadataKV) ValueFloat32() float32 { method ValueBool (line 576) | func (kv GGUFMetadataKV) ValueBool() bool { method ValueString (line 583) | func (kv GGUFMetadataKV) ValueString() string { method ValueArray (line 590) | func (kv GGUFMetadataKV) ValueArray() GGUFMetadataKVArrayValue { method ValueUint64 (line 615) | func (kv GGUFMetadataKV) ValueUint64() uint64 { method ValueInt64 (line 622) | func (kv GGUFMetadataKV) ValueInt64() int64 { method ValueFloat64 (line 629) | func (kv GGUFMetadataKV) ValueFloat64() float64 { type GGUFMetadataKVArrayValue (line 151) | type GGUFMetadataKVArrayValue struct method ValuesUint8 (line 661) | func (av GGUFMetadataKVArrayValue) ValuesUint8() []uint8 { method ValuesInt8 (line 672) | func (av GGUFMetadataKVArrayValue) ValuesInt8() []int8 { method ValuesUint16 (line 683) | func (av GGUFMetadataKVArrayValue) ValuesUint16() []uint16 { method ValuesInt16 (line 694) | func (av GGUFMetadataKVArrayValue) ValuesInt16() []int16 { method ValuesUint32 (line 705) | func (av GGUFMetadataKVArrayValue) ValuesUint32() []uint32 { method ValuesInt32 (line 716) | func (av GGUFMetadataKVArrayValue) ValuesInt32() []int32 { method ValuesFloat32 (line 727) | func (av GGUFMetadataKVArrayValue) ValuesFloat32() []float32 { method ValuesBool (line 738) | func (av GGUFMetadataKVArrayValue) ValuesBool() []bool { method ValuesString (line 749) | func (av GGUFMetadataKVArrayValue) ValuesString() []string { method ValuesArray (line 760) | func (av GGUFMetadataKVArrayValue) ValuesArray() []GGUFMetadataKVArray... method ValuesUint64 (line 789) | func (av GGUFMetadataKVArrayValue) ValuesUint64() []uint64 { method ValuesInt64 (line 800) | func (av GGUFMetadataKVArrayValue) ValuesInt64() []int64 { method ValuesFloat64 (line 811) | func (av GGUFMetadataKVArrayValue) ValuesFloat64() []float64 { type GGUFMetadataKVs (line 173) | type GGUFMetadataKVs method Get (line 855) | func (kvs GGUFMetadataKVs) Get(key string) (value GGUFMetadataKV, foun... method Search (line 865) | func (kvs GGUFMetadataKVs) Search(keyRegex *regexp.Regexp) (values []G... method Index (line 876) | func (kvs GGUFMetadataKVs) Index(keys []string) (values map[string]GGU... type GGUFTensorInfo (line 179) | type GGUFTensorInfo struct method Get (line 896) | func (ti GGUFTensorInfo) Get(name string) (info GGUFTensorInfo, found ... method GetFileType (line 904) | func (ti GGUFTensorInfo) GetFileType() GGUFFileType { method Match (line 909) | func (ti GGUFTensorInfo) Match(nameRegex *regexp.Regexp) bool { method Search (line 914) | func (ti GGUFTensorInfo) Search(nameRegex *regexp.Regexp) (infos []GGU... method Index (line 923) | func (ti GGUFTensorInfo) Index(names []string) (infos map[string]GGUFT... method Elements (line 936) | func (ti GGUFTensorInfo) Elements(filter ...GGUFTensorInfoFilter) uint... method Bytes (line 957) | func (ti GGUFTensorInfo) Bytes(filter ...GGUFTensorInfoFilter) uint64 { method Count (line 1001) | func (ti GGUFTensorInfo) Count() uint64 { type GGUFTensorInfos (line 206) | type GGUFTensorInfos method Get (line 1007) | func (tis GGUFTensorInfos) Get(name string) (info GGUFTensorInfo, foun... method GetFileType (line 1017) | func (tis GGUFTensorInfos) GetFileType() GGUFFileType { method Match (line 1031) | func (tis GGUFTensorInfos) Match(nameRegex *regexp.Regexp) bool { method Search (line 1041) | func (tis GGUFTensorInfos) Search(nameRegex *regexp.Regexp) (infos []G... method Index (line 1052) | func (tis GGUFTensorInfos) Index(names []string) (infos map[string]GGU... method Elements (line 1071) | func (tis GGUFTensorInfos) Elements() uint64 { method Bytes (line 1080) | func (tis GGUFTensorInfos) Bytes() uint64 { method Count (line 1089) | func (tis GGUFTensorInfos) Count() uint64 { method Layers (line 1094) | func (tis GGUFTensorInfos) Layers(ignores ...string) GGUFLayerTensorIn... method layers (line 1109) | func (tis GGUFTensorInfos) layers() GGUFLayerTensorInfos { function ParseGGUFFile (line 213) | func ParseGGUFFile(path string, opts ...GGUFReadOption) (*GGUFFile, erro... type _GGUFFileReadSeeker (line 267) | type _GGUFFileReadSeeker struct function _validateCountWithRemaining (line 273) | func _validateCountWithRemaining(f _GGUFFileReadSeeker, count uint64, ve... function parseGGUFFile (line 313) | func parseGGUFFile(fs []_GGUFFileReadSeeker, o _GGUFReadOptions) (_ *GGU... type GGUFTensorInfoFilter (line 476) | type GGUFTensorInfoFilter type IGGUFTensorInfos (line 480) | type IGGUFTensorInfos interface type GGUFLayerTensorInfos (line 503) | type GGUFLayerTensorInfos method Get (line 1255) | func (ltis GGUFLayerTensorInfos) Get(name string) (info GGUFTensorInfo... method GetFileType (line 1273) | func (ltis GGUFLayerTensorInfos) GetFileType() GGUFFileType { method Match (line 1292) | func (ltis GGUFLayerTensorInfos) Match(nameRegex *regexp.Regexp) bool { method Search (line 1309) | func (ltis GGUFLayerTensorInfos) Search(nameRegex *regexp.Regexp) (inf... method Index (line 1325) | func (ltis GGUFLayerTensorInfos) Index(names []string) (infos map[stri... method Elements (line 1353) | func (ltis GGUFLayerTensorInfos) Elements(filter ...GGUFTensorInfoFilt... method Bytes (line 1362) | func (ltis GGUFLayerTensorInfos) Bytes(filter ...GGUFTensorInfoFilter)... method Count (line 1371) | func (ltis GGUFLayerTensorInfos) Count() uint64 { method Cut (line 1385) | func (ltis GGUFLayerTensorInfos) Cut(names []string) (before, after GG... type GGUFNamedTensorInfos (line 507) | type GGUFNamedTensorInfos struct function ValueNumeric (line 643) | func ValueNumeric[T constraints.Integer | constraints.Float](kv GGUFMeta... function ValuesNumeric (line 829) | func ValuesNumeric[T constraints.Integer | constraints.Float](av GGUFMet... type _GGUFReader (line 1447) | type _GGUFReader struct method ReadUint8 (line 1454) | func (rd _GGUFReader) ReadUint8() (v uint8, err error) { method ReadInt8 (line 1462) | func (rd _GGUFReader) ReadInt8() (v int8, err error) { method ReadUint16 (line 1470) | func (rd _GGUFReader) ReadUint16() (v uint16, err error) { method ReadInt16 (line 1478) | func (rd _GGUFReader) ReadInt16() (v int16, err error) { method ReadUint32 (line 1486) | func (rd _GGUFReader) ReadUint32() (v uint32, err error) { method ReadUint64FromUint32 (line 1494) | func (rd _GGUFReader) ReadUint64FromUint32() (uint64, error) { method ReadInt32 (line 1499) | func (rd _GGUFReader) ReadInt32() (v int32, err error) { method ReadFloat32 (line 1507) | func (rd _GGUFReader) ReadFloat32() (v float32, err error) { method ReadBool (line 1515) | func (rd _GGUFReader) ReadBool() (v bool, err error) { method ReadString (line 1523) | func (rd _GGUFReader) ReadString() (v string, err error) { method SkipReadingString (line 1543) | func (rd _GGUFReader) SkipReadingString() (err error) { method ReadArray (line 1560) | func (rd _GGUFReader) ReadArray(key string) (v GGUFMetadataKVArrayValu... method ReadUint64 (line 1634) | func (rd _GGUFReader) ReadUint64() (v uint64, err error) { method ReadInt64 (line 1642) | func (rd _GGUFReader) ReadInt64() (v int64, err error) { method ReadFloat64 (line 1650) | func (rd _GGUFReader) ReadFloat64() (v float64, err error) { method ReadValue (line 1658) | func (rd _GGUFReader) ReadValue(vk string, vt GGUFMetadataValueType) (... type _GGUFMetadataReader (line 1700) | type _GGUFMetadataReader struct method Read (line 1704) | func (rd _GGUFMetadataReader) Read() (kv GGUFMetadataKV, err error) { type _GGUFTensorInfoReader (line 1729) | type _GGUFTensorInfoReader struct method Read (line 1733) | func (rd _GGUFTensorInfoReader) Read() (ti GGUFTensorInfo, err error) { FILE: file_architecture.go type GGUFArchitecture (line 12) | type GGUFArchitecture struct method DiffusionHasConditioners (line 329) | func (ga GGUFArchitecture) DiffusionHasConditioners() bool { method DiffusionHasAutoencoder (line 334) | func (ga GGUFArchitecture) DiffusionHasAutoencoder() bool { type GGUFArchitectureDiffusionConditioners (line 305) | type GGUFArchitectureDiffusionConditioners method String (line 338) | func (gacs GGUFArchitectureDiffusionConditioners) String() string { type GGUFArchitectureDiffusionConditioner (line 308) | type GGUFArchitectureDiffusionConditioner struct method String (line 349) | func (gac GGUFArchitectureDiffusionConditioner) String() string { type GGUFArchitectureDiffusionAutoencoder (line 317) | type GGUFArchitectureDiffusionAutoencoder struct method String (line 353) | func (gaa GGUFArchitectureDiffusionAutoencoder) String() string { method Architecture (line 358) | func (gf *GGUFFile) Architecture() (ga GGUFArchitecture) { method diffuserArchitecture (line 403) | func (gf *GGUFFile) diffuserArchitecture() (ga GGUFArchitecture) { method clipArchitecture (line 589) | func (gf *GGUFFile) clipArchitecture() (ga GGUFArchitecture) { method adapterArchitecture (line 781) | func (gf *GGUFFile) adapterArchitecture(arch string) (ga GGUFArchitectur... method imatrixArchitecture (line 816) | func (gf *GGUFFile) imatrixArchitecture(_ string) (ga GGUFArchitecture) { method transformerArchitecture (line 823) | func (gf *GGUFFile) transformerArchitecture(arch string) (ga GGUFArchite... FILE: file_architecture_test.go function TestGGUFFile_Architecture (line 11) | func TestGGUFFile_Architecture(t *testing.T) { function BenchmarkGGUFFile_Architecture (line 27) | func BenchmarkGGUFFile_Architecture(b *testing.B) { FILE: file_estimate__llamacpp.go type LLaMACppRunEstimate (line 17) | type LLaMACppRunEstimate struct method SummarizeItem (line 1524) | func (e LLaMACppRunEstimate) SummarizeItem(mmap bool, nonUMARamFootpri... method Summarize (line 1625) | func (e LLaMACppRunEstimate) Summarize(mmap bool, nonUMARamFootprint, ... type LLaMACppRunDeviceUsage (line 74) | type LLaMACppRunDeviceUsage struct type LLaMACppParameterUsage (line 110) | type LLaMACppParameterUsage struct type LLaMACppWeightMemoryUsage (line 124) | type LLaMACppWeightMemoryUsage struct method Sum (line 1648) | func (u LLaMACppWeightMemoryUsage) Sum() GGUFBytesScalar { type LLaMACppKVCacheMemoryUsage (line 136) | type LLaMACppKVCacheMemoryUsage struct method Sum (line 1652) | func (u LLaMACppKVCacheMemoryUsage) Sum() GGUFBytesScalar { type LLaMACppComputationMemoryUsage (line 144) | type LLaMACppComputationMemoryUsage struct method Sum (line 1656) | func (u LLaMACppComputationMemoryUsage) Sum() GGUFBytesScalar { method EstimateLLaMACppRun (line 157) | func (gf *GGUFFile) EstimateLLaMACppRun(opts ...GGUFRunEstimateOption) (... method estimateLLaMACppRunInModel (line 249) | func (gf *GGUFFile) estimateLLaMACppRunInModel(o *_GGUFRunEstimateOption... method estimateLLaMACppRunInProjector (line 913) | func (gf *GGUFFile) estimateLLaMACppRunInProjector(o *_GGUFRunEstimateOp... method estimateLLaMACppRunInAdapter (line 1281) | func (gf *GGUFFile) estimateLLaMACppRunInAdapter(o *_GGUFRunEstimateOpti... method estimateLLaMACppRunInIMatrix (line 1404) | func (gf *GGUFFile) estimateLLaMACppRunInIMatrix(_ *_GGUFRunEstimateOpti... type LLaMACppRunEstimateSummary (line 1436) | type LLaMACppRunEstimateSummary struct type LLaMACppRunEstimateSummaryItem (line 1484) | type LLaMACppRunEstimateSummaryItem struct type LLaMACppRunEstimateMemory (line 1499) | type LLaMACppRunEstimateMemory struct function ClipAligning (line 1662) | func ClipAligning(x, n uint64) uint64 { FILE: file_estimate__llamacpp_test.go function TestGGUFFile_EstimateLLaMACppRun (line 10) | func TestGGUFFile_EstimateLLaMACppRun(t *testing.T) { function TestGGUFFile_EstimateLLaMACppRun_ContextSize (line 68) | func TestGGUFFile_EstimateLLaMACppRun_ContextSize(t *testing.T) { function TestGGUFFile_EstimateLLaMACppRun_OffloadLayers (line 97) | func TestGGUFFile_EstimateLLaMACppRun_OffloadLayers(t *testing.T) { FILE: file_estimate__stablediffusioncpp.go type StableDiffusionCppRunEstimate (line 16) | type StableDiffusionCppRunEstimate struct method SummarizeItem (line 445) | func (e StableDiffusionCppRunEstimate) SummarizeItem( method Summarize (line 552) | func (e StableDiffusionCppRunEstimate) Summarize( type StableDiffusionCppRunDeviceUsage (line 52) | type StableDiffusionCppRunDeviceUsage struct method EstimateStableDiffusionCppRun (line 74) | func (gf *GGUFFile) EstimateStableDiffusionCppRun(opts ...GGUFRunEstimat... type StableDiffusionCppRunEstimateSummary (line 387) | type StableDiffusionCppRunEstimateSummary struct type StableDiffusionCppRunEstimateSummaryItem (line 416) | type StableDiffusionCppRunEstimateSummaryItem struct type StableDiffusionCppRunEstimateMemory (line 427) | type StableDiffusionCppRunEstimateMemory struct function normalizeArchitecture (line 572) | func normalizeArchitecture(arch string) string { FILE: file_estimate__stablediffusioncpp_test.go function TestGGUFFile_EstimateStableDiffusionRun (line 10) | func TestGGUFFile_EstimateStableDiffusionRun(t *testing.T) { FILE: file_estimate_option.go type _GGUFRunEstimateOptions (line 12) | type _GGUFRunEstimateOptions struct type GGUFRunOverriddenTensor (line 61) | type GGUFRunOverriddenTensor struct method ParseBufferType (line 126) | func (odt *GGUFRunOverriddenTensor) ParseBufferType() (GGUFRunOverridd... type GGUFRunDeviceMetric (line 89) | type GGUFRunDeviceMetric struct type GGUFRunEstimateOption (line 101) | type GGUFRunEstimateOption type GGUFRunOverriddenTensorBufferType (line 105) | type GGUFRunOverriddenTensorBufferType constant _ (line 108) | _ GGUFRunOverriddenTensorBufferType = iota constant GGUFRunOverriddenTensorBufferTypeCPU (line 109) | GGUFRunOverriddenTensorBufferTypeCPU constant GGUFRunOverriddenTensorBufferTypeGPU (line 110) | GGUFRunOverriddenTensorBufferTypeGPU constant GGUFRunOverriddenTensorBufferTypeRPC (line 111) | GGUFRunOverriddenTensorBufferTypeRPC constant GGUFRunOverriddenTensorBufferTypeUnknown (line 112) | GGUFRunOverriddenTensorBufferTypeUnknown function WithParallelSize (line 152) | func WithParallelSize(size int32) GGUFRunEstimateOption { function WithFlashAttention (line 162) | func WithFlashAttention() GGUFRunEstimateOption { function WithMainGPUIndex (line 174) | func WithMainGPUIndex(di int) GGUFRunEstimateOption { function WithRPCServers (line 181) | func WithRPCServers(srvs []string) GGUFRunEstimateOption { function WithTensorSplitFraction (line 197) | func WithTensorSplitFraction(fractions []float64) GGUFRunEstimateOption { function WithOverriddenTensors (line 215) | func WithOverriddenTensors(tensors []GGUFRunOverriddenTensor) GGUFRunEst... function WithDeviceMetrics (line 233) | func WithDeviceMetrics(metrics []GGUFRunDeviceMetric) GGUFRunEstimateOpt... function WithLLaMACppContextSize (line 243) | func WithLLaMACppContextSize(size int32) GGUFRunEstimateOption { function WithLLaMACppRoPE (line 253) | func WithLLaMACppRoPE( function WithinLLaMACppMaxContextSize (line 277) | func WithinLLaMACppMaxContextSize() GGUFRunEstimateOption { function WithLLaMACppLogicalBatchSize (line 284) | func WithLLaMACppLogicalBatchSize(size int32) GGUFRunEstimateOption { function WithLLaMACppPhysicalBatchSize (line 294) | func WithLLaMACppPhysicalBatchSize(size int32) GGUFRunEstimateOption { function WithLLaMACppCacheKeyType (line 315) | func WithLLaMACppCacheKeyType(t GGMLType) GGUFRunEstimateOption { function WithLLaMACppCacheValueType (line 324) | func WithLLaMACppCacheValueType(t GGMLType) GGUFRunEstimateOption { function WithoutLLaMACppOffloadKVCache (line 333) | func WithoutLLaMACppOffloadKVCache() GGUFRunEstimateOption { function WithLLaMACppOffloadLayers (line 340) | func WithLLaMACppOffloadLayers(layers uint64) GGUFRunEstimateOption { type LLaMACppSplitMode (line 347) | type LLaMACppSplitMode constant LLaMACppSplitModeLayer (line 350) | LLaMACppSplitModeLayer LLaMACppSplitMode = iota constant LLaMACppSplitModeRow (line 351) | LLaMACppSplitModeRow constant LLaMACppSplitModeNone (line 352) | LLaMACppSplitModeNone constant _LLAMACppSplitModeMax (line 353) | _LLAMACppSplitModeMax function WithLLaMACppSplitMode (line 357) | func WithLLaMACppSplitMode(mode LLaMACppSplitMode) GGUFRunEstimateOption { function WithLLaMACppFullSizeSWACache (line 366) | func WithLLaMACppFullSizeSWACache() GGUFRunEstimateOption { function WithLLaMACppVisualMaxImageSize (line 373) | func WithLLaMACppVisualMaxImageSize(size uint32) GGUFRunEstimateOption { function WithLLaMACppMaxProjectedCache (line 383) | func WithLLaMACppMaxProjectedCache(cacheSize uint32) GGUFRunEstimateOpti... function WithLLaMACppDrafter (line 393) | func WithLLaMACppDrafter(dft *LLaMACppRunEstimate) GGUFRunEstimateOption { function WithLLaMACppProjector (line 400) | func WithLLaMACppProjector(prj *LLaMACppRunEstimate) GGUFRunEstimateOpti... function WithLLaMACppAdapters (line 407) | func WithLLaMACppAdapters(adp []LLaMACppRunEstimate) GGUFRunEstimateOpti... function WithStableDiffusionCppOffloadLayers (line 417) | func WithStableDiffusionCppOffloadLayers(layers uint64) GGUFRunEstimateO... function WithStableDiffusionCppBatchCount (line 424) | func WithStableDiffusionCppBatchCount(count int32) GGUFRunEstimateOption { function WithStableDiffusionCppHeight (line 434) | func WithStableDiffusionCppHeight(height uint32) GGUFRunEstimateOption { function WithStableDiffusionCppWidth (line 444) | func WithStableDiffusionCppWidth(width uint32) GGUFRunEstimateOption { function WithoutStableDiffusionCppOffloadConditioner (line 454) | func WithoutStableDiffusionCppOffloadConditioner() GGUFRunEstimateOption { function WithoutStableDiffusionCppOffloadAutoencoder (line 461) | func WithoutStableDiffusionCppOffloadAutoencoder() GGUFRunEstimateOption { function WithStableDiffusionCppAutoencoderTiling (line 468) | func WithStableDiffusionCppAutoencoderTiling() GGUFRunEstimateOption { function WithStableDiffusionCppFreeComputeMemoryImmediately (line 475) | func WithStableDiffusionCppFreeComputeMemoryImmediately() GGUFRunEstimat... function WithStableDiffusionCppUpscaler (line 482) | func WithStableDiffusionCppUpscaler(ups *StableDiffusionCppRunEstimate) ... function WithStableDiffusionCppControlNet (line 489) | func WithStableDiffusionCppControlNet(cn *StableDiffusionCppRunEstimate)... FILE: file_from_distro.go function ParseGGUFFileFromOllama (line 21) | func ParseGGUFFileFromOllama(ctx context.Context, model string, opts ...... function ParseGGUFFileFromOllamaModel (line 29) | func ParseGGUFFileFromOllamaModel(ctx context.Context, model *OllamaMode... FILE: file_from_remote.go function ParseGGUFFileFromHuggingFace (line 18) | func ParseGGUFFileFromHuggingFace(ctx context.Context, repo, file string... function ParseGGUFFileFromModelScope (line 25) | func ParseGGUFFileFromModelScope(ctx context.Context, repo, file string,... function ParseGGUFFileRemote (line 33) | func ParseGGUFFileRemote(ctx context.Context, url string, opts ...GGUFRe... function parseGGUFFileFromRemote (line 113) | func parseGGUFFileFromRemote(ctx context.Context, cli *http.Client, url ... FILE: file_metadata.go type GGUFMetadata (line 13) | type GGUFMetadata struct type GGUFFileType (line 80) | type GGUFFileType method GGMLType (line 248) | func (t GGUFFileType) GGMLType() GGMLType { constant GGUFFileTypeMostlyF32 (line 90) | GGUFFileTypeMostlyF32 GGUFFileType = iota constant GGUFFileTypeMostlyF16 (line 91) | GGUFFileTypeMostlyF16 constant GGUFFileTypeMostlyQ4_0 (line 92) | GGUFFileTypeMostlyQ4_0 constant GGUFFileTypeMostlyQ4_1 (line 93) | GGUFFileTypeMostlyQ4_1 constant GGUFFileTypeMostlyQ4_1_SOME_F16 (line 94) | GGUFFileTypeMostlyQ4_1_SOME_F16 constant GGUFFileTypeMostlyQ4_2 (line 95) | GGUFFileTypeMostlyQ4_2 constant GGUFFileTypeMostlyQ4_3 (line 96) | GGUFFileTypeMostlyQ4_3 constant GGUFFileTypeMostlyQ8_0 (line 97) | GGUFFileTypeMostlyQ8_0 constant GGUFFileTypeMostlyQ5_0 (line 98) | GGUFFileTypeMostlyQ5_0 constant GGUFFileTypeMostlyQ5_1 (line 99) | GGUFFileTypeMostlyQ5_1 constant GGUFFileTypeMostlyQ2_K (line 100) | GGUFFileTypeMostlyQ2_K constant GGUFFileTypeMostlyQ3_K_S (line 101) | GGUFFileTypeMostlyQ3_K_S constant GGUFFileTypeMostlyQ3_K_M (line 102) | GGUFFileTypeMostlyQ3_K_M constant GGUFFileTypeMostlyQ3_K_L (line 103) | GGUFFileTypeMostlyQ3_K_L constant GGUFFileTypeMostlyQ4_K_S (line 104) | GGUFFileTypeMostlyQ4_K_S constant GGUFFileTypeMostlyQ4_K_M (line 105) | GGUFFileTypeMostlyQ4_K_M constant GGUFFileTypeMostlyQ5_K_S (line 106) | GGUFFileTypeMostlyQ5_K_S constant GGUFFileTypeMostlyQ5_K_M (line 107) | GGUFFileTypeMostlyQ5_K_M constant GGUFFileTypeMostlyQ6_K (line 108) | GGUFFileTypeMostlyQ6_K constant GGUFFileTypeMostlyIQ2_XXS (line 109) | GGUFFileTypeMostlyIQ2_XXS constant GGUFFileTypeMostlyIQ2_XS (line 110) | GGUFFileTypeMostlyIQ2_XS constant GGUFFileTypeMostlyQ2_K_S (line 111) | GGUFFileTypeMostlyQ2_K_S constant GGUFFileTypeMostlyIQ3_XS (line 112) | GGUFFileTypeMostlyIQ3_XS constant GGUFFileTypeMostlyIQ3_XXS (line 113) | GGUFFileTypeMostlyIQ3_XXS constant GGUFFileTypeMostlyIQ1_S (line 114) | GGUFFileTypeMostlyIQ1_S constant GGUFFileTypeMostlyIQ4_NL (line 115) | GGUFFileTypeMostlyIQ4_NL constant GGUFFileTypeMostlyIQ3_S (line 116) | GGUFFileTypeMostlyIQ3_S constant GGUFFileTypeMostlyIQ3_M (line 117) | GGUFFileTypeMostlyIQ3_M constant GGUFFileTypeMostlyIQ2_S (line 118) | GGUFFileTypeMostlyIQ2_S constant GGUFFileTypeMostlyIQ2_M (line 119) | GGUFFileTypeMostlyIQ2_M constant GGUFFileTypeMostlyIQ4_XS (line 120) | GGUFFileTypeMostlyIQ4_XS constant GGUFFileTypeMostlyIQ1_M (line 121) | GGUFFileTypeMostlyIQ1_M constant GGUFFileTypeMostlyBF16 (line 122) | GGUFFileTypeMostlyBF16 constant GGUFFileTypeMostlyQ4_0_4_4 (line 123) | GGUFFileTypeMostlyQ4_0_4_4 constant GGUFFileTypeMostlyQ4_0_4_8 (line 124) | GGUFFileTypeMostlyQ4_0_4_8 constant GGUFFileTypeMostlyQ4_0_8_8 (line 125) | GGUFFileTypeMostlyQ4_0_8_8 constant GGUFFileTypeMostlyTQ1_0 (line 126) | GGUFFileTypeMostlyTQ1_0 constant GGUFFileTypeMostlyTQ2_0 (line 127) | GGUFFileTypeMostlyTQ2_0 constant GGUFFileTypeMostlyMXFP4 (line 128) | GGUFFileTypeMostlyMXFP4 constant _GGUFFileTypeCount (line 129) | _GGUFFileTypeCount method Metadata (line 158) | func (gf *GGUFFile) Metadata() (gm GGUFMetadata) { method extractFileType (line 335) | func (gf *GGUFFile) extractFileType(arch string) (fileType GGUFFileType,... function GetFileType (line 447) | func GetFileType(cm map[GGMLType]int) GGUFFileType { FILE: file_metadata_test.go function TestGGUFFile_Metadata (line 14) | func TestGGUFFile_Metadata(t *testing.T) { function BenchmarkGGUFFile_Metadata (line 30) | func BenchmarkGGUFFile_Metadata(b *testing.B) { function TestGGUFFile_extractFileType (line 51) | func TestGGUFFile_extractFileType(t *testing.T) { FILE: file_option.go type _GGUFReadOptions (line 14) | type _GGUFReadOptions struct type GGUFReadOption (line 35) | type GGUFReadOption function UseDebug (line 39) | func UseDebug() GGUFReadOption { function SkipLargeMetadata (line 47) | func SkipLargeMetadata() GGUFReadOption { function UseMMap (line 54) | func UseMMap() GGUFReadOption { function UseBearerAuth (line 61) | func UseBearerAuth(token string) GGUFReadOption { function UseHeaders (line 68) | func UseHeaders(headers map[string]string) GGUFReadOption { function UseProxy (line 75) | func UseProxy(url *url.URL) GGUFReadOption { function SkipProxy (line 82) | func SkipProxy() GGUFReadOption { function SkipTLSVerification (line 89) | func SkipTLSVerification() GGUFReadOption { function SkipDNSCache (line 96) | func SkipDNSCache() GGUFReadOption { function UseBufferSize (line 103) | func UseBufferSize(size int) GGUFReadOption { function SkipRangeDownloadDetection (line 114) | func SkipRangeDownloadDetection() GGUFReadOption { function UseCache (line 121) | func UseCache() GGUFReadOption { function SkipCache (line 129) | func SkipCache() GGUFReadOption { function DefaultCachePath (line 137) | func DefaultCachePath() string { function UseCachePath (line 146) | func UseCachePath(path string) GGUFReadOption { function UseCacheExpiration (line 159) | func UseCacheExpiration(expiration time.Duration) GGUFReadOption { FILE: file_test.go function TestParseGGUFFile (line 14) | func TestParseGGUFFile(t *testing.T) { function BenchmarkParseGGUFFileMMap (line 46) | func BenchmarkParseGGUFFileMMap(b *testing.B) { function BenchmarkParseGGUFFileSkipLargeMetadata (line 78) | func BenchmarkParseGGUFFileSkipLargeMetadata(b *testing.B) { function TestParseGGUFFileRemote (line 110) | func TestParseGGUFFileRemote(t *testing.T) { function BenchmarkParseGGUFFileRemoteWithBufferSize (line 141) | func BenchmarkParseGGUFFileRemoteWithBufferSize(b *testing.B) { function TestParseGGUFFileFromHuggingFace (line 183) | func TestParseGGUFFileFromHuggingFace(t *testing.T) { function TestParseGGUFFileFromModelScope (line 212) | func TestParseGGUFFileFromModelScope(t *testing.T) { function TestParseGGUFFileFromOllama (line 241) | func TestParseGGUFFileFromOllama(t *testing.T) { function FuzzParseGGUFFile (line 265) | func FuzzParseGGUFFile(f *testing.F) { function TestParseGGUFFileWithFuzzInput (line 294) | func TestParseGGUFFileWithFuzzInput(t *testing.T) { FILE: file_tokenizer.go type GGUFTokenizer (line 4) | type GGUFTokenizer struct method Tokenizer (line 53) | func (gf *GGUFFile) Tokenizer() (gt GGUFTokenizer) { FILE: file_tokenizer_test.go function TestGGUFFile_Tokenizer (line 11) | func TestGGUFFile_Tokenizer(t *testing.T) { function BenchmarkGGUFFile_Tokenizer (line 27) | func BenchmarkGGUFFile_Tokenizer(b *testing.B) { FILE: filename.go type GGUFFilename (line 15) | type GGUFFilename struct method String (line 65) | func (gn GGUFFilename) String() string { method IsShard (line 103) | func (gn GGUFFilename) IsShard() bool { function ParseGGUFFilename (line 30) | func ParseGGUFFilename(name string) *GGUFFilename { function IsShardGGUFFilename (line 110) | func IsShardGGUFFilename(name string) bool { function CompleteShardGGUFFilename (line 139) | func CompleteShardGGUFFilename(name string) []string { function parseInt (line 174) | func parseInt(v string) int { FILE: filename_test.go function TestParseGGUFFilename (line 11) | func TestParseGGUFFilename(t *testing.T) { function TestGGUFFilenameString (line 92) | func TestGGUFFilenameString(t *testing.T) { function TestIsShardGGUFFilename (line 147) | func TestIsShardGGUFFilename(t *testing.T) { function TestCompleteShardGGUFFilename (line 181) | func TestCompleteShardGGUFFilename(t *testing.T) { FILE: gen.regression.go type LinearRegression (line 20) | type LinearRegression struct method Fit (line 25) | func (lr *LinearRegression) Fit(xs, ys []float64) { method Predict (line 48) | func (lr *LinearRegression) Predict(x float64) (y float64) { type PolynomialRegression (line 52) | type PolynomialRegression struct method Fit (line 57) | func (pr *PolynomialRegression) Fit(xs, ys []float64) { method Predict (line 81) | func (pr *PolynomialRegression) Predict(x float64) (y float64) { function DiffusionModelMemoryUsageRegression (line 89) | func DiffusionModelMemoryUsageRegression(output string) { function main (line 493) | func main() { FILE: ggml.go type GGMLType (line 13) | type GGMLType method Trait (line 118) | func (t GGMLType) Trait() (GGMLTypeTrait, bool) { method IsQuantized (line 124) | func (t GGMLType) IsQuantized() bool { method RowSizeOf (line 140) | func (t GGMLType) RowSizeOf(dimensions []uint64) uint64 { type GGMLTypeTrait (line 17) | type GGMLTypeTrait struct constant GGMLTypeF32 (line 30) | GGMLTypeF32 GGMLType = iota constant GGMLTypeF16 (line 31) | GGMLTypeF16 constant GGMLTypeQ4_0 (line 32) | GGMLTypeQ4_0 constant GGMLTypeQ4_1 (line 33) | GGMLTypeQ4_1 constant GGMLTypeQ4_2 (line 34) | GGMLTypeQ4_2 constant GGMLTypeQ4_3 (line 35) | GGMLTypeQ4_3 constant GGMLTypeQ5_0 (line 36) | GGMLTypeQ5_0 constant GGMLTypeQ5_1 (line 37) | GGMLTypeQ5_1 constant GGMLTypeQ8_0 (line 38) | GGMLTypeQ8_0 constant GGMLTypeQ8_1 (line 39) | GGMLTypeQ8_1 constant GGMLTypeQ2_K (line 40) | GGMLTypeQ2_K constant GGMLTypeQ3_K (line 41) | GGMLTypeQ3_K constant GGMLTypeQ4_K (line 42) | GGMLTypeQ4_K constant GGMLTypeQ5_K (line 43) | GGMLTypeQ5_K constant GGMLTypeQ6_K (line 44) | GGMLTypeQ6_K constant GGMLTypeQ8_K (line 45) | GGMLTypeQ8_K constant GGMLTypeIQ2_XXS (line 46) | GGMLTypeIQ2_XXS constant GGMLTypeIQ2_XS (line 47) | GGMLTypeIQ2_XS constant GGMLTypeIQ3_XXS (line 48) | GGMLTypeIQ3_XXS constant GGMLTypeIQ1_S (line 49) | GGMLTypeIQ1_S constant GGMLTypeIQ4_NL (line 50) | GGMLTypeIQ4_NL constant GGMLTypeIQ3_S (line 51) | GGMLTypeIQ3_S constant GGMLTypeIQ2_S (line 52) | GGMLTypeIQ2_S constant GGMLTypeIQ4_XS (line 53) | GGMLTypeIQ4_XS constant GGMLTypeI8 (line 54) | GGMLTypeI8 constant GGMLTypeI16 (line 55) | GGMLTypeI16 constant GGMLTypeI32 (line 56) | GGMLTypeI32 constant GGMLTypeI64 (line 57) | GGMLTypeI64 constant GGMLTypeF64 (line 58) | GGMLTypeF64 constant GGMLTypeIQ1_M (line 59) | GGMLTypeIQ1_M constant GGMLTypeBF16 (line 60) | GGMLTypeBF16 constant GGMLTypeQ4_0_4_4 (line 61) | GGMLTypeQ4_0_4_4 constant GGMLTypeQ4_0_4_8 (line 62) | GGMLTypeQ4_0_4_8 constant GGMLTypeQ4_0_8_8 (line 63) | GGMLTypeQ4_0_8_8 constant GGMLTypeTQ1_0 (line 64) | GGMLTypeTQ1_0 constant GGMLTypeTQ2_0 (line 65) | GGMLTypeTQ2_0 constant GGMLTypeIQ4_NL_4_4 (line 66) | GGMLTypeIQ4_NL_4_4 constant GGMLTypeIQ4_NL_4_8 (line 67) | GGMLTypeIQ4_NL_4_8 constant GGMLTypeIQ4_NL_8_8 (line 68) | GGMLTypeIQ4_NL_8_8 constant GGMLTypeMXFP4 (line 69) | GGMLTypeMXFP4 constant _GGMLTypeCount (line 70) | _GGMLTypeCount function GGMLMemoryPadding (line 160) | func GGMLMemoryPadding(size uint64) uint64 { function GGMLPadding (line 167) | func GGMLPadding(size, align uint64) uint64 { constant GGMLTensorSize (line 175) | GGMLTensorSize = 368 constant GGMLObjectSize (line 179) | GGMLObjectSize = 32 function GGMLTensorOverhead (line 184) | func GGMLTensorOverhead() uint64 { constant GGMLComputationGraphSize (line 191) | GGMLComputationGraphSize = 80 constant GGMLComputationBitsetSize (line 195) | GGMLComputationBitsetSize = 4 function GGMLComputationGraphOverhead (line 200) | func GGMLComputationGraphOverhead(nodes uint64, grads bool) uint64 { function GGMLHashSize (line 221) | func GGMLHashSize(base uint64) uint64 { function GGMLBitsetSize (line 243) | func GGMLBitsetSize(n uint64) uint64 { FILE: ollama_model.go constant OllamaDefaultScheme (line 22) | OllamaDefaultScheme = "https" constant OllamaDefaultRegistry (line 23) | OllamaDefaultRegistry = "registry.ollama.ai" constant OllamaDefaultNamespace (line 24) | OllamaDefaultNamespace = "library" constant OllamaDefaultTag (line 25) | OllamaDefaultTag = "latest" type OllamaModel (line 31) | type OllamaModel struct method String (line 147) | func (om *OllamaModel) String() string { method GetLayer (line 167) | func (om *OllamaModel) GetLayer(mediaType string) (OllamaModelLayer, b... method SearchLayers (line 177) | func (om *OllamaModel) SearchLayers(mediaTypeRegex *regexp.Regexp) []O... method WebPageURL (line 188) | func (om *OllamaModel) WebPageURL() *url.URL { method Complete (line 197) | func (om *OllamaModel) Complete(ctx context.Context, cli *http.Client)... method Params (line 234) | func (om *OllamaModel) Params(ctx context.Context, cli *http.Client) (... method Template (line 276) | func (om *OllamaModel) Template(ctx context.Context, cli *http.Client)... method System (line 298) | func (om *OllamaModel) System(ctx context.Context, cli *http.Client) (... method License (line 320) | func (om *OllamaModel) License(ctx context.Context, cli *http.Client) ... method Messages (line 352) | func (om *OllamaModel) Messages(ctx context.Context, cli *http.Client)... type OllamaModelLayer (line 54) | type OllamaModelLayer struct method BlobURL (line 384) | func (ol *OllamaModelLayer) BlobURL() *url.URL { method FetchBlob (line 398) | func (ol *OllamaModelLayer) FetchBlob(ctx context.Context, cli *http.C... method FetchBlobFunc (line 409) | func (ol *OllamaModelLayer) FetchBlobFunc(ctx context.Context, cli *ht... function ParseOllamaModel (line 72) | func ParseOllamaModel(model string, opts ...OllamaModelOption) *OllamaMo... FILE: ollama_model_option.go type _OllamaModelOptions (line 9) | type _OllamaModelOptions struct type OllamaModelOption (line 15) | type OllamaModelOption function SetOllamaModelBaseURL (line 20) | func SetOllamaModelBaseURL(baseURL string) OllamaModelOption { function SetOllamaModelDefaultScheme (line 42) | func SetOllamaModelDefaultScheme(scheme string) OllamaModelOption { function SetOllamaModelDefaultRegistry (line 52) | func SetOllamaModelDefaultRegistry(registry string) OllamaModelOption { function SetOllamaModelDefaultNamespace (line 62) | func SetOllamaModelDefaultNamespace(namespace string) OllamaModelOption { function SetOllamaModelDefaultTag (line 72) | func SetOllamaModelDefaultTag(tag string) OllamaModelOption { FILE: ollama_model_test.go function TestParseOllamaModel (line 9) | func TestParseOllamaModel(t *testing.T) { FILE: ollama_registry_authenticate.go constant httpHeaderWWWAuthenticate (line 31) | httpHeaderWWWAuthenticate = "WWW-Authenticate" constant httpHeaderAuthorization (line 32) | httpHeaderAuthorization = "Authorization" function OllamaUserAgent (line 38) | func OllamaUserAgent() string { function OllamaRegistryAuthorizeRetry (line 46) | func OllamaRegistryAuthorizeRetry(resp *http.Response, cli *http.Client)... function OllamaRegistryAuthorize (line 75) | func OllamaRegistryAuthorize(ctx context.Context, cli *http.Client, auth... function OllamaSingKeyLoad (line 173) | func OllamaSingKeyLoad() (ssh.Signer, error) { FILE: scalar.go constant _Ki (line 10) | _Ki = 1 << ((iota + 1) * 10) constant _Mi (line 11) | _Mi constant _Gi (line 12) | _Gi constant _Ti (line 13) | _Ti constant _Pi (line 14) | _Pi constant _K (line 18) | _K = 1e3 constant _M (line 19) | _M = 1e6 constant _G (line 20) | _G = 1e9 constant _T (line 21) | _T = 1e12 constant _P (line 22) | _P = 1e15 constant _Thousand (line 26) | _Thousand = 1e3 constant _Million (line 27) | _Million = 1e6 constant _Billion (line 28) | _Billion = 1e9 constant _Trillion (line 29) | _Trillion = 1e12 constant _Quadrillion (line 30) | _Quadrillion = 1e15 type SizeScalar (line 35) | type SizeScalar method String (line 107) | func (s SizeScalar) String() string { type FLOPSScalar (line 38) | type FLOPSScalar method String (line 144) | func (s FLOPSScalar) String() string { type BytesPerSecondScalar (line 41) | type BytesPerSecondScalar method String (line 188) | func (s BytesPerSecondScalar) String() string { function ParseSizeScalar (line 88) | func ParseSizeScalar(s string) (_ SizeScalar, err error) { function ParseFLOPSScalar (line 124) | func ParseFLOPSScalar(s string) (_ FLOPSScalar, err error) { function ParseBytesPerSecondScalar (line 161) | func ParseBytesPerSecondScalar(s string) (_ BytesPerSecondScalar, err er... type GGUFBytesScalar (line 206) | type GGUFBytesScalar method String (line 242) | func (s GGUFBytesScalar) String() string { type GGUFParametersScalar (line 209) | type GGUFParametersScalar method String (line 263) | func (s GGUFParametersScalar) String() string { type GGUFBitsPerWeightScalar (line 212) | type GGUFBitsPerWeightScalar method String (line 279) | func (s GGUFBitsPerWeightScalar) String() string { type GGUFTokensPerSecondScalar (line 215) | type GGUFTokensPerSecondScalar method String (line 286) | func (s GGUFTokensPerSecondScalar) String() string { function ParseGGUFBytesScalar (line 219) | func ParseGGUFBytesScalar(s string) (_ GGUFBytesScalar, err error) { FILE: scalar_test.go function TestParseSizeScalar (line 9) | func TestParseSizeScalar(t *testing.T) { function TestParseFLOPSScalar (line 32) | func TestParseFLOPSScalar(t *testing.T) { function TestParseBytesPerSecondScalar (line 55) | func TestParseBytesPerSecondScalar(t *testing.T) { function TestParseGGUFBytesScalar (line 94) | func TestParseGGUFBytesScalar(t *testing.T) { FILE: util/anyx/any.go function Number (line 12) | func Number[T constraints.Integer | constraints.Float](v any) T { function Bool (line 71) | func Bool(v any) bool { function String (line 89) | func String(v any) string { FILE: util/bytex/pool.go constant defaultSize (line 8) | defaultSize = 32 * 1024 function GetBytes (line 25) | func GetBytes(size ...uint64) Bytes { function WithBytes (line 52) | func WithBytes(fn func(Bytes) error, size ...uint64) error { function GetBuffer (line 64) | func GetBuffer(size ...uint64) BytesBuffer { function WithBuffer (line 71) | func WithBuffer(fn func(BytesBuffer) error, size ...uint64) error { function Put (line 82) | func Put[T Bytes | BytesBuffer](buf T) { FILE: util/funcx/error.go function NoError (line 5) | func NoError[T any](t T, _ error) T { function NoError2 (line 11) | func NoError2[T, U any](t T, u U, _ error) (T, U) { function NoError3 (line 17) | func NoError3[T, U, V any](t T, u U, v V, _ error) (T, U, V) { function NoError4 (line 23) | func NoError4[T, U, V, W any](t T, u U, v V, w W, _ error) (T, U, V, W) { function MustNoError (line 30) | func MustNoError[T any](t T, e error) T { function MustNoError2 (line 40) | func MustNoError2[T, U any](t T, u U, e error) (T, U) { function MustNoError3 (line 50) | func MustNoError3[T, U, V any](t T, u U, v V, e error) (T, U, V) { function MustNoError4 (line 60) | func MustNoError4[T, U, V, W any](t T, u U, v V, w W, e error) (T, U, V,... FILE: util/httpx/client.go function Client (line 34) | func Client(opts ...*ClientOption) *http.Client { function NewGetRequestWithContext (line 103) | func NewGetRequestWithContext(ctx context.Context, uri string) (*http.Re... function NewGetRequest (line 109) | func NewGetRequest(uri string) (*http.Request, error) { function NewHeadRequestWithContext (line 115) | func NewHeadRequestWithContext(ctx context.Context, uri string) (*http.R... function NewHeadRequest (line 121) | func NewHeadRequest(uri string) (*http.Request, error) { function NewPostRequestWithContext (line 127) | func NewPostRequestWithContext(ctx context.Context, uri string, body io.... function NewPostRequest (line 133) | func NewPostRequest(uri string, body io.Reader) (*http.Request, error) { function NewPutRequestWithContext (line 139) | func NewPutRequestWithContext(ctx context.Context, uri string, body io.R... function NewPutRequest (line 145) | func NewPutRequest(uri string, body io.Reader) (*http.Request, error) { function NewPatchRequestWithContext (line 151) | func NewPatchRequestWithContext(ctx context.Context, uri string, body io... function NewPatchRequest (line 157) | func NewPatchRequest(uri string, body io.Reader) (*http.Request, error) { function NewDeleteRequestWithContext (line 163) | func NewDeleteRequestWithContext(ctx context.Context, uri string) (*http... function NewDeleteRequest (line 169) | func NewDeleteRequest(uri string) (*http.Request, error) { function NewConnectRequestWithContext (line 175) | func NewConnectRequestWithContext(ctx context.Context, uri string) (*htt... function NewConnectRequest (line 181) | func NewConnectRequest(uri string) (*http.Request, error) { function NewOptionsRequestWithContext (line 187) | func NewOptionsRequestWithContext(ctx context.Context, uri string) (*htt... function NewOptionsRequest (line 193) | func NewOptionsRequest(uri string) (*http.Request, error) { function NewTraceRequestWithContext (line 199) | func NewTraceRequestWithContext(ctx context.Context, uri string) (*http.... function NewTraceRequest (line 205) | func NewTraceRequest(uri string) (*http.Request, error) { function Error (line 211) | func Error(rw http.ResponseWriter, code int) { function Close (line 216) | func Close(resp *http.Response) { function BodyBytes (line 223) | func BodyBytes(resp *http.Response) []byte { function BodyString (line 233) | func BodyString(resp *http.Response) string { function Do (line 243) | func Do(cli *http.Client, req *http.Request, respFunc func(*http.Respons... FILE: util/httpx/client_helper.go type JSONFormatter (line 19) | type JSONFormatter struct method Match (line 24) | func (j *JSONFormatter) Match(mediatype string) bool { method Format (line 29) | func (j *JSONFormatter) Format(w io.Writer, src []byte) error { type RoundTripperChain (line 46) | type RoundTripperChain struct method RoundTrip (line 51) | func (c RoundTripperChain) RoundTrip(req *http.Request) (*http.Respons... type RoundTripperFunc (line 63) | type RoundTripperFunc method RoundTrip (line 65) | func (fn RoundTripperFunc) RoundTrip(req *http.Request) (*http.Respons... FILE: util/httpx/client_options.go type ClientOption (line 11) | type ClientOption struct method WithTransport (line 31) | func (o *ClientOption) WithTransport(opt *TransportOption) *ClientOpti... method WithTimeout (line 44) | func (o *ClientOption) WithTimeout(timeout time.Duration) *ClientOption { method WithDebug (line 53) | func (o *ClientOption) WithDebug() *ClientOption { method WithRetryIf (line 65) | func (o *ClientOption) WithRetryIf(retryIf RetryFunc) *ClientOption { method WithRetryBackoff (line 74) | func (o *ClientOption) WithRetryBackoff(waitMin, waitMax time.Duration... method WithUserAgent (line 83) | func (o *ClientOption) WithUserAgent(ua string) *ClientOption { method WithBearerAuth (line 91) | func (o *ClientOption) WithBearerAuth(token string) *ClientOption { method WithBasicAuth (line 99) | func (o *ClientOption) WithBasicAuth(username, password string) *Clien... method WithHeader (line 107) | func (o *ClientOption) WithHeader(key, value string) *ClientOption { method WithHeaders (line 115) | func (o *ClientOption) WithHeaders(headers map[string]string) *ClientO... method WithRoundTripper (line 125) | func (o *ClientOption) WithRoundTripper(rt func(req *http.Request) err... method If (line 135) | func (o *ClientOption) If(condition bool, then func(*ClientOption) *Cl... function ClientOptions (line 21) | func ClientOptions() *ClientOption { type RetryFunc (line 61) | type RetryFunc function DefaultRetry (line 144) | func DefaultRetry(resp *http.Response, respErr error) bool { function createRetryBackoff (line 177) | func createRetryBackoff(waitMin, waitMax time.Duration, attemptMax int) ... FILE: util/httpx/file.go type SeekerFile (line 16) | type SeekerFile struct method Close (line 91) | func (f *SeekerFile) Close() error { method Len (line 98) | func (f *SeekerFile) Len() int64 { method ReadAt (line 102) | func (f *SeekerFile) ReadAt(p []byte, off int64) (int, error) { method Read (line 165) | func (f *SeekerFile) Read(p []byte) (int, error) { method sync (line 171) | func (f *SeekerFile) sync(off int64, reset bool) error { method skip (line 203) | func (f *SeekerFile) skip(dif int64) error { function OpenSeekerFile (line 26) | func OpenSeekerFile(cli *http.Client, req *http.Request, opts ...*Seeker... type _WriterOnly (line 220) | type _WriterOnly struct method Write (line 224) | func (w _WriterOnly) Write(p []byte) (int, error) { FILE: util/httpx/file_options.go type SeekerFileOption (line 3) | type SeekerFileOption struct method WithBufferSize (line 18) | func (o *SeekerFileOption) WithBufferSize(bufSize int) *SeekerFileOpti... method WithSize (line 29) | func (o *SeekerFileOption) WithSize(size int) *SeekerFileOption { method WithoutRangeDownloadDetect (line 46) | func (o *SeekerFileOption) WithoutRangeDownloadDetect() *SeekerFileOpt... method If (line 56) | func (o *SeekerFileOption) If(condition bool, then func(*SeekerFileOpt... function SeekerFileOptions (line 9) | func SeekerFileOptions() *SeekerFileOption { FILE: util/httpx/proxy.go function init (line 14) | func init() { function ProxyFromEnvironment (line 27) | func ProxyFromEnvironment(r *http.Request) (*url.URL, error) { FILE: util/httpx/resolver.go function DNSCacheDialContext (line 8) | func DNSCacheDialContext(dialer *net.Dialer) func(context.Context, strin... FILE: util/httpx/transport.go function Transport (line 16) | func Transport(opts ...*TransportOption) *http.Transport { FILE: util/httpx/transport_options.go type TransportOption (line 11) | type TransportOption struct method WithProxy (line 41) | func (o *TransportOption) WithProxy(proxy func(*http.Request) (*url.UR... method WithoutProxy (line 50) | func (o *TransportOption) WithoutProxy() *TransportOption { method WithKeepalive (line 59) | func (o *TransportOption) WithKeepalive(timeoutAndKeepalive ...time.Du... method WithoutKeepalive (line 77) | func (o *TransportOption) WithoutKeepalive() *TransportOption { method WithInsecureVerify (line 88) | func (o *TransportOption) WithInsecureVerify() *TransportOption { method WithoutInsecureVerify (line 97) | func (o *TransportOption) WithoutInsecureVerify() *TransportOption { method TimeoutForDial (line 110) | func (o *TransportOption) TimeoutForDial(timeout time.Duration) *Trans... method TimeoutForResponseHeader (line 123) | func (o *TransportOption) TimeoutForResponseHeader(timeout time.Durati... method TimeoutForTLSHandshake (line 136) | func (o *TransportOption) TimeoutForTLSHandshake(timeout time.Duration... method TimeoutForIdleConn (line 149) | func (o *TransportOption) TimeoutForIdleConn(timeout time.Duration) *T... method WithTLSClientConfig (line 158) | func (o *TransportOption) WithTLSClientConfig(config *tls.Config) *Tra... method WithoutDNSCache (line 167) | func (o *TransportOption) WithoutDNSCache() *TransportOption { method WithDialer (line 176) | func (o *TransportOption) WithDialer(dialer *net.Dialer) *TransportOpt... method Customize (line 186) | func (o *TransportOption) Customize(fn func(*http.Transport)) *Transpo... method If (line 197) | func (o *TransportOption) If(condition bool, then func(*TransportOptio... function TransportOptions (line 16) | func TransportOptions() *TransportOption { FILE: util/json/common.go function MustMarshal (line 19) | func MustMarshal(v any) []byte { function MustUnmarshal (line 30) | func MustUnmarshal(data []byte, v any) { function MustMarshalIndent (line 39) | func MustMarshalIndent(v any, prefix, indent string) []byte { function ShouldMarshal (line 50) | func ShouldMarshal(v any) []byte { function ShouldUnmarshal (line 57) | func ShouldUnmarshal(data []byte, v any) { function ShouldMarshalIndent (line 63) | func ShouldMarshalIndent(v any, prefix, indent string) []byte { FILE: util/json/jsoniter.go function init (line 15) | func init() { FILE: util/osx/env.go function ExistEnv (line 8) | func ExistEnv(key string) bool { function Getenv (line 16) | func Getenv(key string, def ...string) string { function ExpandEnv (line 27) | func ExpandEnv(key string, def ...string) string { FILE: util/osx/file.go function InlineTilde (line 11) | func InlineTilde(path string) string { function Open (line 25) | func Open(path string) (*os.File, error) { function Exists (line 32) | func Exists(path string, checks ...func(os.FileInfo) bool) bool { function ExistsDir (line 55) | func ExistsDir(path string) bool { function ExistsLink (line 62) | func ExistsLink(path string) bool { function ExistsFile (line 69) | func ExistsFile(path string) bool { function ExistsSocket (line 76) | func ExistsSocket(path string) bool { function ExistsDevice (line 83) | func ExistsDevice(path string) bool { function Close (line 90) | func Close(c io.Closer) { function WriteFile (line 99) | func WriteFile(name string, data []byte, perm os.FileMode) error { function CreateFile (line 112) | func CreateFile(name string, perm os.FileMode) (*os.File, error) { function OpenFile (line 125) | func OpenFile(name string, flag int, perm os.FileMode) (*os.File, error) { FILE: util/osx/file_mmap.go type MmapFile (line 26) | type MmapFile struct method Close (line 61) | func (f *MmapFile) Close() error { method Bytes (line 71) | func (f *MmapFile) Bytes() []byte { method Len (line 75) | func (f *MmapFile) Len() int64 { method ReadAt (line 81) | func (f *MmapFile) ReadAt(p []byte, off int64) (_ int, err error) { function OpenMmapFile (line 31) | func OpenMmapFile(path string) (*MmapFile, error) { function OpenMmapFileWithSize (line 35) | func OpenMmapFileWithSize(path string, size int) (*MmapFile, error) { FILE: util/osx/file_mmap_js.go function mmap (line 21) | func mmap(f *os.File, length int) ([]byte, error) { function munmap (line 25) | func munmap(b []byte) (err error) { FILE: util/osx/file_mmap_unix.go function mmap (line 24) | func mmap(f *os.File, length int) ([]byte, error) { function munmap (line 28) | func munmap(b []byte) (err error) { FILE: util/osx/file_mmap_windows.go function mmap (line 9) | func mmap(f *os.File, size int) ([]byte, error) { function munmap (line 28) | func munmap(b []byte) error { FILE: util/osx/file_mmap_windows_386.go constant maxMapSize (line 16) | maxMapSize = 0x7FFFFFFF FILE: util/osx/file_mmap_windows_non386.go constant maxMapSize (line 18) | maxMapSize = 0xFFFFFFFFFFFF FILE: util/osx/homedir.go function UserHomeDir (line 11) | func UserHomeDir() string { FILE: util/ptr/pointer.go function Int (line 9) | func Int(v int) *int { function IntDeref (line 13) | func IntDeref(v *int, def int) int { function Int8 (line 17) | func Int8(v int8) *int8 { function Int8Deref (line 21) | func Int8Deref(v *int8, def int8) int8 { function Int16 (line 25) | func Int16(v int16) *int16 { function Int16Deref (line 29) | func Int16Deref(v *int16, def int16) int16 { function Int32 (line 33) | func Int32(v int32) *int32 { function Int32Deref (line 37) | func Int32Deref(v *int32, def int32) int32 { function Int64 (line 41) | func Int64(v int64) *int64 { function Int64Deref (line 45) | func Int64Deref(v *int64, def int64) int64 { function Uint (line 49) | func Uint(v uint) *uint { function UintDeref (line 53) | func UintDeref(v *uint, def uint) uint { function Uint8 (line 57) | func Uint8(v uint8) *uint8 { function Uint8Deref (line 61) | func Uint8Deref(v *uint8, def uint8) uint8 { function Uint16 (line 65) | func Uint16(v uint16) *uint16 { function Uint16Deref (line 69) | func Uint16Deref(v *uint16, def uint16) uint16 { function Uint32 (line 73) | func Uint32(v uint32) *uint32 { function Uint32Deref (line 77) | func Uint32Deref(v *uint32, def uint32) uint32 { function Uint64 (line 81) | func Uint64(v uint64) *uint64 { function Uint64Deref (line 85) | func Uint64Deref(v *uint64, def uint64) uint64 { function Float32 (line 89) | func Float32(v float32) *float32 { function Float32Deref (line 93) | func Float32Deref(v *float32, def float32) float32 { function Float64 (line 97) | func Float64(v float64) *float64 { function Float64Deref (line 101) | func Float64Deref(v *float64, def float64) float64 { function String (line 105) | func String(v string) *string { function StringDeref (line 109) | func StringDeref(v *string, def string) string { function Bool (line 113) | func Bool(v bool) *bool { function BoolDeref (line 117) | func BoolDeref(v *bool, def bool) bool { function Duration (line 121) | func Duration(v time.Duration) *time.Duration { function DurationDeref (line 125) | func DurationDeref(v *time.Duration, def time.Duration) time.Duration { function Time (line 129) | func Time(v time.Time) *time.Time { function TimeDeref (line 133) | func TimeDeref(v *time.Time, def time.Time) time.Time { type Pointerable (line 137) | type Pointerable interface function Ref (line 141) | func Ref[T Pointerable](v T) *T { function To (line 145) | func To[T Pointerable](v T) *T { function Deref (line 149) | func Deref[T Pointerable](ptr *T, def T) T { function Equal (line 157) | func Equal[T Pointerable](a, b *T) bool { FILE: util/signalx/handler.go function Handler (line 12) | func Handler() context.Context { FILE: util/slicex/search.go function UpperBound (line 6) | func UpperBound[T constraints.Integer | constraints.Float](s []T, e T) i... FILE: util/stringx/bytes.go function FromBytes (line 6) | func FromBytes(b *[]byte) string { function ToBytes (line 12) | func ToBytes(s *string) (bs []byte) { FILE: util/stringx/random.go function RandomBytes (line 17) | func RandomBytes(n int) []byte { function RandomHex (line 30) | func RandomHex(n int) string { return hex.EncodeToString(RandomBytes(n)) } function RandomString (line 34) | func RandomString(n int, letters ...string) string { function RandomBase64 (line 59) | func RandomBase64(n int) string { FILE: util/stringx/strings.go function CutFromLeft (line 11) | func CutFromLeft(s, sep string) (before, after string, found bool) { function CutFromRight (line 21) | func CutFromRight(s, sep string) (before, after string, found bool) { function ReplaceAllFunc (line 30) | func ReplaceAllFunc(s string, f func(rune) rune) string { function HasSuffixes (line 39) | func HasSuffixes(s string, suffixes ...string) bool { FILE: util/stringx/sum.go function SumByFNV64a (line 10) | func SumByFNV64a(s string, ss ...string) string { function SumBytesByFNV64a (line 23) | func SumBytesByFNV64a(bs []byte, bss ...[]byte) string { function SumBySHA256 (line 36) | func SumBySHA256(s string, ss ...string) string { function SumBytesBySHA256 (line 49) | func SumBytesBySHA256(bs []byte, bss ...[]byte) string { function SumBySHA224 (line 62) | func SumBySHA224(s string, ss ...string) string { function SumBytesBySHA224 (line 75) | func SumBytesBySHA224(bs []byte, bss ...[]byte) string { FILE: zz_generated.diffusion_model_memory_usage.regression.go function GuessSD1DiffusionModelMemoryUsage (line 7) | func GuessSD1DiffusionModelMemoryUsage(width, height uint32, flashAttent... function GuessSD2DiffusionModelMemoryUsage (line 21) | func GuessSD2DiffusionModelMemoryUsage(width, height uint32, flashAttent... function GuessSDXLDiffusionModelMemoryUsage (line 40) | func GuessSDXLDiffusionModelMemoryUsage(width, height uint32, flashAtten... function GuessSDXLRefinerDiffusionModelMemoryUsage (line 59) | func GuessSDXLRefinerDiffusionModelMemoryUsage(width, height uint32, fla... function GuessSD3MediumDiffusionModelMemoryUsage (line 78) | func GuessSD3MediumDiffusionModelMemoryUsage(width, height uint32, flash... function GuessSD35MediumDiffusionModelMemoryUsage (line 92) | func GuessSD35MediumDiffusionModelMemoryUsage(width, height uint32, flas... function GuessSD35LargeDiffusionModelMemoryUsage (line 106) | func GuessSD35LargeDiffusionModelMemoryUsage(width, height uint32, flash... function GuessFLUXDiffusionModelMemoryUsage (line 120) | func GuessFLUXDiffusionModelMemoryUsage(width, height uint32, flashAtten... FILE: zz_generated.ggmltype.stringer.go function _ (line 7) | func _() { constant _GGMLType_name (line 54) | _GGMLType_name = "F32F16Q4_0Q4_1Q4_2Q4_3Q5_0Q5_1Q8_0Q8_1Q2_KQ3_KQ4_KQ5_K... method String (line 58) | func (i GGMLType) String() string { FILE: zz_generated.gguffiletype.stringer.go function _ (line 7) | func _() { constant _GGUFFileType_name (line 53) | _GGUFFileType_name = "MOSTLY_F32MOSTLY_F16MOSTLY_Q4_0MOSTLY_Q4_1MOSTLY_Q... method String (line 57) | func (i GGUFFileType) String() string { FILE: zz_generated.ggufmagic.stringer.go function _ (line 7) | func _() { constant _GGUFMagic_name_0 (line 19) | _GGUFMagic_name_0 = "GGUF" constant _GGUFMagic_name_1 (line 20) | _GGUFMagic_name_1 = "GGUF" constant _GGUFMagic_name_2 (line 21) | _GGUFMagic_name_2 = "GGJT" constant _GGUFMagic_name_3 (line 22) | _GGUFMagic_name_3 = "GGMF" constant _GGUFMagic_name_4 (line 23) | _GGUFMagic_name_4 = "GGML" method String (line 26) | func (i GGUFMagic) String() string { FILE: zz_generated.ggufmetadatavaluetype.stringer.go function _ (line 7) | func _() { constant _GGUFMetadataValueType_name (line 27) | _GGUFMetadataValueType_name = "Uint8Int8Uint16Int16Uint32Int32Float32Boo... method String (line 31) | func (i GGUFMetadataValueType) String() string { FILE: zz_generated.ggufversion.stringer.go function _ (line 7) | func _() { constant _GGUFVersion_name (line 16) | _GGUFVersion_name = "V1V2V3" method String (line 20) | func (i GGUFVersion) String() string {