instance

package
v0.0.0-...-ee2d30e Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

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

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

func IsNeuronInstanceType(instanceType string) bool

IsNeuronInstanceType returns true if the instance type requires AWS Neuron

func IsNvidiaInstanceType

func IsNvidiaInstanceType(instanceType string) bool

IsNvidiaInstanceType returns true if the instance type has NVIDIA accelerated hardware

func IsTrainiumInstanceType

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