ResourceRequestConfiguration

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

Bases: object

Resource request configuration to run workload on managed compute cluster type compute target compute target.

Methods:

__init__(**kwargs)

Initializes a new ResourceRequestConfiguration object with values from keyword arguments.

Attributes:

gpus

Gets the gpus of this ResourceRequestConfiguration.

memory_in_gbs

[Required] Gets the memory_in_gbs of this ResourceRequestConfiguration.

ocpus

[Required] Gets the ocpus of this ResourceRequestConfiguration.

__init__(**kwargs)

Initializes a new ResourceRequestConfiguration 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 ResourceRequestConfiguration.

  • memory_in_gbs (float) – The value to assign to the memory_in_gbs property of this ResourceRequestConfiguration.

  • gpus (int) – The value to assign to the gpus property of this ResourceRequestConfiguration.

property gpus

Gets the gpus of this ResourceRequestConfiguration. The total number of gpus required to be allocated to the workload.

Returns

The gpus of this ResourceRequestConfiguration.

Return type

int

property memory_in_gbs

[Required] Gets the memory_in_gbs of this ResourceRequestConfiguration. The memory in Gbs required to be allocated to run the workload.

Returns

The memory_in_gbs of this ResourceRequestConfiguration.

Return type

float

property ocpus

[Required] Gets the ocpus of this ResourceRequestConfiguration. The ocpus required to be allocated to run the workload.

Returns

The ocpus of this ResourceRequestConfiguration.

Return type

float