localinference

package
v0.9.8 Latest Latest
Warning

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

Go to latest
Published: Jul 3, 2026 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FromLocalModel

func FromLocalModel(lm *model.LocalModel, modelDir string) api.LocalInferenceSupport

FromLocalModel reports whether a downloaded model can run locally via llama.cpp or the Diffusers image runtime.

func FromMarketplace

func FromMarketplace(format, architecture, className string) api.LocalInferenceSupport

FromMarketplace reports whether a marketplace model is likely to support local inference after download, based on format tags and hub metadata.

func FromMarketplaceModel

func FromMarketplaceModel(format, architecture, className, modelName, pipelineTag string) api.LocalInferenceSupport

FromMarketplaceModel reports likely support for a marketplace model when the model id/name or task tag provides stronger routing hints than config metadata.

Types

This section is empty.

Jump to

Keyboard shortcuts

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