StepResources¶
StepResources
¶
    
              Bases: RuntimeParametersMixin, BaseModel
A class to define the resources assigned to a _Step.
Attributes:
| Name | Type | Description | 
|---|---|---|
| replicas | RuntimeParameter[PositiveInt] | The number of replicas for the step. | 
| cpus | Optional[RuntimeParameter[PositiveInt]] | The number of CPUs assigned to each step replica. | 
| gpus | Optional[RuntimeParameter[PositiveInt]] | The number of GPUs assigned to each step replica. | 
| memory | Optional[RuntimeParameter[PositiveInt]] | The memory in bytes required for each step replica. | 
| resources | Optional[RuntimeParameter[Dict[str, int]]] | A dictionary containing the number of custom resources required for each step replica. |