instance

package
v0.167.0-rc.0 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2023 License: Apache-2.0 Imports: 3 Imported by: 14

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetSmallestInstanceType added in v0.112.0

func GetSmallestInstanceType(instanceTypes []ec2types.InstanceTypeInfo) string

GetSmallestInstanceType returns the smallest instance type in instanceTypes. Instance types that have a smaller vCPU are considered smaller. instanceTypes must be non-empty or it will panic.

func IsARMGPUInstanceType added in v0.96.0

func IsARMGPUInstanceType(instanceType string) bool

IsARMGPUInstanceType returns true if the instance type is ARM-GPU architecture

func IsARMInstanceType

func IsARMInstanceType(instanceType string) bool

IsARMInstanceType returns true if the instance type is ARM architecture

func IsGPUInstanceType

func IsGPUInstanceType(instanceType string) bool

IsGPUInstanceType returns true if the instance type is GPU optimised

func IsInferentiaInstanceType

func IsInferentiaInstanceType(instanceType string) bool

IsInferentiaInstanceType returns true if the instance type requires AWS Neuron

func IsNeuronInstanceType added in v0.121.0

func IsNeuronInstanceType(instanceType string) bool

IsNeuronInstanceType returns true if the instance type requires AWS Neuron

func IsNvidiaInstanceType added in v0.86.0

func IsNvidiaInstanceType(instanceType string) bool

IsNvidiaInstanceType returns true if the instance type has NVIDIA accelerated hardware

func IsTrainiumInstanceType added in v0.121.0

func IsTrainiumInstanceType(instanceType string) bool

IsTrainiumnstanceType returns true if the instance type requires AWS Neuron

Types

This section is empty.

Jump to

Keyboard shortcuts

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