Documentation ¶
Index ¶
- func GetSmallestInstanceType(instanceTypes []ec2types.InstanceTypeInfo) string
- func IsARMGPUInstanceType(instanceType string) bool
- func IsARMInstanceType(instanceType string) bool
- func IsGPUInstanceType(instanceType string) bool
- func IsInferentiaInstanceType(instanceType string) bool
- func IsNeuronInstanceType(instanceType string) bool
- func IsNvidiaInstanceType(instanceType string) bool
- func IsTrainiumInstanceType(instanceType string) bool
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
IsARMGPUInstanceType returns true if the instance type is ARM-GPU architecture
func IsARMInstanceType ¶
IsARMInstanceType returns true if the instance type is ARM architecture
func IsGPUInstanceType ¶
IsGPUInstanceType returns true if the instance type is GPU optimised
func IsInferentiaInstanceType ¶
IsInferentiaInstanceType returns true if the instance type requires AWS Neuron
func IsNeuronInstanceType ¶ added in v0.121.0
IsNeuronInstanceType returns true if the instance type requires AWS Neuron
func IsNvidiaInstanceType ¶ added in v0.86.0
IsNvidiaInstanceType returns true if the instance type has NVIDIA accelerated hardware
func IsTrainiumInstanceType ¶ added in v0.121.0
IsTrainiumnstanceType returns true if the instance type requires AWS Neuron
Types ¶
This section is empty.