CreateDedicatedAiClusterDetails¶
- class oci.generative_ai.models.CreateDedicatedAiClusterDetails(**kwargs)¶
Bases:
objectThe data to create a dedicated AI cluster.
Methods:
__init__(**kwargs)Initializes a new CreateDedicatedAiClusterDetails object with values from keyword arguments.
Attributes:
Gets the capacity_reservation_id of this CreateDedicatedAiClusterDetails.
[Required] Gets the compartment_id of this CreateDedicatedAiClusterDetails.
Gets the defined_tags of this CreateDedicatedAiClusterDetails.
Gets the description of this CreateDedicatedAiClusterDetails.
Gets the display_name of this CreateDedicatedAiClusterDetails.
Gets the freeform_tags of this CreateDedicatedAiClusterDetails.
[Required] Gets the type of this CreateDedicatedAiClusterDetails.
[Required] Gets the unit_count of this CreateDedicatedAiClusterDetails.
[Required] Gets the unit_shape of this CreateDedicatedAiClusterDetails.
- __init__(**kwargs)¶
Initializes a new CreateDedicatedAiClusterDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
display_name (str) – The value to assign to the display_name property of this CreateDedicatedAiClusterDetails.
description (str) – The value to assign to the description property of this CreateDedicatedAiClusterDetails.
type (str) – The value to assign to the type property of this CreateDedicatedAiClusterDetails.
compartment_id (str) – The value to assign to the compartment_id property of this CreateDedicatedAiClusterDetails.
unit_count (int) – The value to assign to the unit_count property of this CreateDedicatedAiClusterDetails.
unit_shape (str) – The value to assign to the unit_shape property of this CreateDedicatedAiClusterDetails.
capacity_reservation_id (str) – The value to assign to the capacity_reservation_id property of this CreateDedicatedAiClusterDetails.
freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this CreateDedicatedAiClusterDetails.
defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this CreateDedicatedAiClusterDetails.
- property capacity_reservation_id¶
Gets the capacity_reservation_id of this CreateDedicatedAiClusterDetails. The OCID of the capacity reservation.
- Returns
The capacity_reservation_id of this CreateDedicatedAiClusterDetails.
- Return type
str
- property compartment_id¶
[Required] Gets the compartment_id of this CreateDedicatedAiClusterDetails. The compartment OCID to create the dedicated AI cluster in.
- Returns
The compartment_id of this CreateDedicatedAiClusterDetails.
- Return type
str
- property defined_tags¶
Gets the defined_tags of this CreateDedicatedAiClusterDetails. Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
Example: {“Operations”: {“CostCenter”: “42”}}
- Returns
The defined_tags of this CreateDedicatedAiClusterDetails.
- Return type
dict(str, dict(str, object))
- property description¶
Gets the description of this CreateDedicatedAiClusterDetails. An optional description of the dedicated AI cluster.
- Returns
The description of this CreateDedicatedAiClusterDetails.
- Return type
str
- property display_name¶
Gets the display_name of this CreateDedicatedAiClusterDetails. A user-friendly name. Does not have to be unique, and it’s changeable.
- Returns
The display_name of this CreateDedicatedAiClusterDetails.
- Return type
str
- property freeform_tags¶
Gets the freeform_tags of this CreateDedicatedAiClusterDetails. Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags.
Example: {“Department”: “Finance”}
- Returns
The freeform_tags of this CreateDedicatedAiClusterDetails.
- Return type
dict(str, str)
- property type¶
[Required] Gets the type of this CreateDedicatedAiClusterDetails. The dedicated AI cluster type indicating whether this is a fine-tuning/training processor or hosting/inference processor.
Allowed values are: - HOSTING - FINE_TUNING
- Returns
The type of this CreateDedicatedAiClusterDetails.
- Return type
str
- property unit_count¶
[Required] Gets the unit_count of this CreateDedicatedAiClusterDetails. The number of dedicated units in this AI cluster.
- Returns
The unit_count of this CreateDedicatedAiClusterDetails.
- Return type
int
- property unit_shape¶
[Required] Gets the unit_shape of this CreateDedicatedAiClusterDetails. The shape of dedicated unit in this AI cluster.
Allowed values are: - LARGE_COHERE - LARGE_COHERE_V2 - SMALL_COHERE - SMALL_COHERE_V2 - SMALL_COHERE_4 - EMBED_COHERE - LLAMA2_70 - LARGE_GENERIC - LARGE_COHERE_V2_2 - LARGE_GENERIC_4 - SMALL_GENERIC_V2 - LARGE_GENERIC_2 - LARGE_GENERIC_V3 - LARGE_COHERE_V3 - RERANK_COHERE - SMALL_GENERIC_V1 - MEDIUM_GENERIC_V1 - LARGE_GENERIC_V1 - A10_X1 - A10_X2 - A10_X4 - A100_40G_X1 - A100_40G_X2 - A100_40G_X4 - A100_40G_X8 - A100_80G_X1 - A100_80G_X2 - A100_80G_X4 - A100_80G_X8 - H100_X1 - H100_X2 - H100_X4 - H100_X8 - H100_X16 - H100_X32 - H200_X1 - H200_X2 - H200_X4 - H200_X8
The following shapes can only be used to deploy imported models: - A10_X1, A10_X2, A10_X4 - A100_40G_X1, A100_40G_X2, A100_40G_X4, A100_40G_X8 - A100_80G_X1, A100_80G_X2, A100_80G_X4, A100_80G_X8 - H100_X1, H100_X2, H100_X4, H100_X8 - H100_X16, H100_X32 - H200_X1, H200_X2, H200_X4, H200_X8 - B200_X16, B200_X32 - B300_X1, B300_X2, B300_X4, B300_X8, B300_X16, B300_X32 - L40S_X1, L40S_X2, L40S_X4, L40S_X8, L40S_X16, L40S_X32 - MI300X_X1, MI300X_X2, MI300X_X4, MI300X_X8, MI300X_X16, MI300X_X32 - OAI_H100_X4 - OAI_A10_X2 - OAI_H100_X1 - OAI_H100_X2 - OAI_H200_X1 - OAI_A100_80G_X1 - OAI_A100_80G_X2 - OAI_A100_40G_X1 - OAI_A100_40G_X4 - B200_X1 - B200_X2 - B200_X4 - B200_X8 - OAI_B200_X1 - OAI_B200_X2 - OAI_B200_X4 - OAI_B200_X8 - SB_B200_X1 - B200_X16 - B200_X32 - B300_X1 - B300_X2 - B300_X4 - B300_X8 - B300_X16 - B300_X32 - L40S_X1 - L40S_X2 - L40S_X4 - L40S_X8 - L40S_X16 - L40S_X32 - MI300X_X1 - MI300X_X2 - MI300X_X4 - MI300X_X8 - MI300X_X16 - MI300X_X32 - COHERE_B300_X1 - META_B300_X1 - OAI_B300_X1
- Returns
The unit_shape of this CreateDedicatedAiClusterDetails.
- Return type
str