memory

package
v0.12.0-rc1 Latest Latest
Warning

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

Go to latest
Published: Jan 27, 2024 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 MemoryStrategy

type MemoryStrategy struct {
}

TODO MemoryStrategy will be implemented in another PR

func (*MemoryStrategy) GetOrAssignShard

func (v *MemoryStrategy) GetOrAssignShard(tm *v1alpha1api.TrainedModel) int

Return a TrainedModel's shardId

func (*MemoryStrategy) GetShard

func (v *MemoryStrategy) GetShard(isvc *v1beta1api.InferenceService) []int

Jump to

Keyboard shortcuts

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