triton

package
v2.0.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	TritonConfigFile = "config.pbtxt"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type TritonRepositoryHandler

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

func NewTritonRepositoryHandler

func NewTritonRepositoryHandler(logger log.FieldLogger) *TritonRepositoryHandler

func (*TritonRepositoryHandler) FindModelVersionFolder

func (t *TritonRepositoryHandler) FindModelVersionFolder(_ string, version *uint32, path string) (string, error)

func (*TritonRepositoryHandler) SeExtratParameters

func (t *TritonRepositoryHandler) SeExtratParameters(modelRepoPath string, parameters []*scheduler.ParameterSpec) error

func (*TritonRepositoryHandler) SetExplainer

func (t *TritonRepositoryHandler) SetExplainer(modelRepoPath string, explainerSpec *scheduler.ExplainerSpec, envoyHost string, envoyPort int) error

func (*TritonRepositoryHandler) UpdateModelRepository

func (t *TritonRepositoryHandler) UpdateModelRepository(modelName string, versionPath, modelRepoPath string) error

Copy config file to dst if it doesn't exist and set modelName

func (*TritonRepositoryHandler) UpdateModelVersion

func (t *TritonRepositoryHandler) UpdateModelVersion(modelName string, version uint32, path string) error

We don't need to change Triton model folders

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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