Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions v1/instancetype.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ type InstanceType struct {
NotPrivileged bool
EstimatedDeployTime *time.Duration
Provider string
CloudBroker string
Cloud string
CanModifyFirewallRules bool
}

Expand Down Expand Up @@ -74,8 +74,8 @@ func MakeGenericInstanceTypeIDFromInstance(instance Instance) InstanceTypeID {
type GPU struct {
Count int32
Memory units.Base2Bytes
MemoryDetails string
NetworkDetails string
MemoryDetails string // "", "HBM", "GDDR", "DDR", etc.
NetworkDetails string // "PCIe", "SXM4", "SXM5", etc.
Manufacturer string
Name string
Type string
Expand Down
1 change: 1 addition & 0 deletions v1/providers/fluidstack/instancetype.go
Original file line number Diff line number Diff line change
Expand Up @@ -107,5 +107,6 @@ func convertFluidStackInstanceTypeToV1InstanceType(location string, fsInstanceTy
IsAvailable: isAvailable,
Location: location,
Provider: CloudProviderID,
Cloud: CloudProviderID,
}
}
3 changes: 2 additions & 1 deletion v1/providers/lambdalabs/instancetype.go
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,8 @@ func convertLambdaLabsInstanceTypeToV1InstanceType(location string, instType ope
Rebootable: true,
IsAvailable: isAvailable,
BasePrice: &amount,
Provider: string(CloudProviderID),
Provider: CloudProviderID,
Cloud: CloudProviderID,
}
it.ID = v1.MakeGenericInstanceTypeID(it)
return it, nil
Expand Down
4 changes: 2 additions & 2 deletions v1/providers/shadeform/instancetype.go
Original file line number Diff line number Diff line change
Expand Up @@ -181,8 +181,8 @@ func (c *ShadeformClient) convertShadeformInstanceTypeToV1InstanceType(shadeform
BasePrice: basePrice,
IsAvailable: region.Available,
Location: region.Region,
Provider: string(shadeformInstanceType.Cloud),
CloudBroker: CloudProviderID,
Provider: CloudProviderID,
Cloud: string(shadeformInstanceType.Cloud),
})
}

Expand Down
Loading