ExecutionResources¶
- class lsst.pipe.base.ExecutionResources(*, num_cores: int = 1, max_mem: Quantity | Real | str | None = None, default_mem_units: Unit = Unit('byte'))¶
Bases:
objectA description of the resources available to a running quantum.
- Parameters:
- num_cores
int, optional The number of cores allocated to the task.
- max_mem
Quantity,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. IfNoneno limit is specified.- default_mem_units
astropy.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