config

package
v1.0.10 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2025 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BackendConfig

type BackendConfig interface {
	// GetArgs returns the command-line arguments for the backend.
	// It takes the model path, socket, and mode as input and returns
	// the appropriate arguments for the backend.
	GetArgs(bundle types.ModelBundle, socket string, mode inference.BackendMode, config *inference.BackendConfiguration) ([]string, error)
}

BackendConfig is the interface implemented by backend configurations. It provides methods to get command-line arguments for a backend based on the model path, socket, and mode.

Jump to

Keyboard shortcuts

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