ExecutionResources¶
- class lsst.pipe.base.ExecutionResources(*, num_cores: int = 1, max_mem: Quantity | Real | str | None = None, default_mem_units: Unit = Unit('byte'))¶
- Bases: - object- A description of the resources available to a running quantum. - Parameters:
- num_coresint, optional
- The number of cores allocated to the task. 
- max_memQuantity,numbers.Real,str, orNone, optional
- The amount of memory allocated to the task. Can be specified as byte-compatible - Quantity, a plain number, a string with a plain number, or a string representing a quantity. If- Noneno limit is specified.
- default_mem_unitsastropy.units.Unit, optional
- The default unit to apply when the - max_memvalue is given as a plain number.
 
- num_cores
 - Attributes Summary - If defined, the amount of memory allocated to the task. - The maximum number of cores that the task can use. - Attributes Documentation