nimparser

package
v1.0.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	// BackendTypeTensorRT indicates tensortt backend
	BackendTypeTensorRT = "tensorrt"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type NIMManifestInterface added in v1.0.1

type NIMManifestInterface interface {
	MatchProfiles(modelSpec appsv1alpha1.ModelSpec, discoveredGPUs []string) ([]string, error)
	GetProfilesList() []string
	GetProfileModel(profileID string) string
	GetProfileTags(profileID string) map[string]string
	GetProfileRelease(profileID string) string
}

type NIMParserInterface added in v1.0.1

type NIMParserInterface interface {
	ParseModelManifest(filePath string) (NIMManifestInterface, error)
	ParseModelManifestFromRawOutput(data []byte) (NIMManifestInterface, error)
}

type NIMSchemaManifest added in v1.0.1

type NIMSchemaManifest struct {
	SchemaVersion string `yaml:"schema_version" json:"schema_version,omitempty"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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