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 ¶
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 ¶
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 ¶
IsNeuronInstanceType returns true if the instance type requires AWS Neuron
func IsNvidiaInstanceType ¶
IsNvidiaInstanceType returns true if the instance type has NVIDIA accelerated hardware
func IsTrainiumInstanceType ¶
IsTrainiumnstanceType returns true if the instance type requires AWS Neuron
Types ¶
This section is empty.