ResourceConfig

class lsst.pipe.base.ResourceConfig

Bases: lsst.pex.config.config.Config

Configuration for resource requirements.

This configuration class will be used by some activators to estimate resource use by pipeline. Additionally some tasks could use it to adjust their resource use (e.g. reduce the number of threads).

For some resources their limit can be estimated by corresponding task, in that case task could set the field value. For many fields defined in this class their associated resource used by a task will depend on the size of the data and is not known in advance. For these resources their value will be configured through overrides based on some external estimates.

Attributes Summary

minMemoryMB Minimal memory needed by task, can be None if estimate is unknown.
minNumCores Minimal number of cores needed by task.

Attributes Documentation

minMemoryMB

Minimal memory needed by task, can be None if estimate is unknown. (int, default None)

minNumCores

Minimal number of cores needed by task. (int, default 1)