ModelDeploymentInstanceShapeConfigDetails

class oci.data_science.models.ModelDeploymentInstanceShapeConfigDetails(**kwargs)

Bases: object

Details for the model-deployment instance shape configuration.

Attributes

CPU_BASELINE_BASELINE_1_1 A constant which can be used with the cpu_baseline property of a ModelDeploymentInstanceShapeConfigDetails.
CPU_BASELINE_BASELINE_1_2 A constant which can be used with the cpu_baseline property of a ModelDeploymentInstanceShapeConfigDetails.
CPU_BASELINE_BASELINE_1_8 A constant which can be used with the cpu_baseline property of a ModelDeploymentInstanceShapeConfigDetails.
cpu_baseline Gets the cpu_baseline of this ModelDeploymentInstanceShapeConfigDetails.
memory_in_gbs Gets the memory_in_gbs of this ModelDeploymentInstanceShapeConfigDetails.
ocpus Gets the ocpus of this ModelDeploymentInstanceShapeConfigDetails.

Methods

__init__(**kwargs) Initializes a new ModelDeploymentInstanceShapeConfigDetails object with values from keyword arguments.
CPU_BASELINE_BASELINE_1_1 = 'BASELINE_1_1'

A constant which can be used with the cpu_baseline property of a ModelDeploymentInstanceShapeConfigDetails. This constant has a value of “BASELINE_1_1”

CPU_BASELINE_BASELINE_1_2 = 'BASELINE_1_2'

A constant which can be used with the cpu_baseline property of a ModelDeploymentInstanceShapeConfigDetails. This constant has a value of “BASELINE_1_2”

CPU_BASELINE_BASELINE_1_8 = 'BASELINE_1_8'

A constant which can be used with the cpu_baseline property of a ModelDeploymentInstanceShapeConfigDetails. This constant has a value of “BASELINE_1_8”

__init__(**kwargs)

Initializes a new ModelDeploymentInstanceShapeConfigDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • ocpus (float) – The value to assign to the ocpus property of this ModelDeploymentInstanceShapeConfigDetails.
  • memory_in_gbs (float) – The value to assign to the memory_in_gbs property of this ModelDeploymentInstanceShapeConfigDetails.
  • cpu_baseline (str) – The value to assign to the cpu_baseline property of this ModelDeploymentInstanceShapeConfigDetails. Allowed values for this property are: “BASELINE_1_8”, “BASELINE_1_2”, “BASELINE_1_1”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
cpu_baseline

Gets the cpu_baseline of this ModelDeploymentInstanceShapeConfigDetails. The baseline OCPU utilization for a subcore burstable VM instance. If this attribute is left blank, it will default to BASELINE_1_1. The following values are supported:

BASELINE_1_8 - baseline usage is 1/8 of an OCPU. BASELINE_1_2 - baseline usage is 1/2 of an OCPU. BASELINE_1_1 - baseline usage is an entire OCPU. This represents a non-burstable instance.

Allowed values for this property are: “BASELINE_1_8”, “BASELINE_1_2”, “BASELINE_1_1”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The cpu_baseline of this ModelDeploymentInstanceShapeConfigDetails.
Return type:str
memory_in_gbs

Gets the memory_in_gbs of this ModelDeploymentInstanceShapeConfigDetails. A model-deployment instance of type VM.Standard.E3.Flex or VM.Standard.E4.Flex allows the memory to be specified with in the range of 6 to 1024 GB. VM.Standard3.Flex memory range is between 6 to 512 GB and VM.Optimized3.Flex memory range is between 6 to 256 GB.

Returns:The memory_in_gbs of this ModelDeploymentInstanceShapeConfigDetails.
Return type:float
ocpus

Gets the ocpus of this ModelDeploymentInstanceShapeConfigDetails. A model-deployment instance of type VM.Standard.E3.Flex or VM.Standard.E4.Flex allows the ocpu count to be specified with in the range of 1 to 64 ocpu. VM.Standard3.Flex OCPU range is between 1 to 32 ocpu and for VM.Optimized3.Flex OCPU range is 1 to 18 ocpu.

Returns:The ocpus of this ModelDeploymentInstanceShapeConfigDetails.
Return type:float