 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CPUArchitectureEnum ¶
type CPUArchitectureEnum string
const ( CPUArchitectureAMD64 CPUArchitectureEnum = "amd64" CPUArchitectureARM64 CPUArchitectureEnum = "arm64" // namely aarch64 )
type GPUNodeInstanceInfo ¶
type GPUNodeInstanceInfo struct {
	InstanceType string
	CPUs         int32
	MemoryGiB    int32
	// In TFlops and GB for every GPU
	FP16TFlopsPerGPU    float64
	VRAMGigabytesPerGPU int32
	GPUModel string
	GPUCount int32
	CPUArchitecture CPUArchitectureEnum
	GPUVendor       GPUVendorEnum
}
    type GPUNodeProvider ¶
type GPUNodeProvider interface {
	TestConnection() error
	CreateNode(ctx context.Context, param *tfv1.GPUNodeClaim) (*GPUNodeStatus, error)
	TerminateNode(ctx context.Context, param *NodeIdentityParam) error
	GetNodeStatus(ctx context.Context, param *NodeIdentityParam) (*GPUNodeStatus, error)
	GetInstancePricing(instanceType string, capacityType tfv1.CapacityTypeEnum, region string) (float64, error)
	GetGPUNodeInstanceTypeInfo(region string) []GPUNodeInstanceInfo
}
    type GPUNodeStatus ¶
type GPUVendorEnum ¶ added in v1.41.0
type GPUVendorEnum string
const ( // GPU manufacturer GPUVendorNvidia GPUVendorEnum = "NVIDIA" GPUVendorAMD GPUVendorEnum = "AMD" GPUVendorIntel GPUVendorEnum = "Intel" GPUVendorAWS GPUVendorEnum = "AWS" )
type NodeIdentityParam ¶
 Click to show internal directories. 
   Click to hide internal directories.