LSST Applications  22.0.1,22.0.1+01bcf6a671,22.0.1+046ee49490,22.0.1+05c7de27da,22.0.1+0c6914dbf6,22.0.1+1220d50b50,22.0.1+12fd109e95,22.0.1+1a1dd69893,22.0.1+1c910dc348,22.0.1+1ef34551f5,22.0.1+30170c3d08,22.0.1+39153823fd,22.0.1+611137eacc,22.0.1+771eb1e3e8,22.0.1+94e66cc9ed,22.0.1+9a075d06e2,22.0.1+a5ff6e246e,22.0.1+a7db719c1a,22.0.1+ba0d97e778,22.0.1+bfe1ee9056,22.0.1+c4e1e0358a,22.0.1+cc34b8281e,22.0.1+d640e2c0fa,22.0.1+d72a2e677a,22.0.1+d9a6b571bd,22.0.1+e485e9761b,22.0.1+ebe8d3385e
LSST Data Management Base Package
Static Public Attributes | List of all members
lsst.pipe.base.config.ResourceConfig Class Reference
Inheritance diagram for lsst.pipe.base.config.ResourceConfig:

Static Public Attributes

 minMemoryMB
 
 minNumCores
 

Detailed Description

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.

Definition at line 162 of file config.py.

Member Data Documentation

◆ minMemoryMB

lsst.pipe.base.config.ResourceConfig.minMemoryMB
static
Initial value:
= pexConfig.Field(dtype=int, default=None, optional=True,
doc="Minimal memory needed by task, can be None if estimate is unknown.")

Definition at line 176 of file config.py.

◆ minNumCores

lsst.pipe.base.config.ResourceConfig.minNumCores
static
Initial value:
= pexConfig.Field(dtype=int, default=1,
doc="Minimal number of cores needed by task.")

Definition at line 178 of file config.py.


The documentation for this class was generated from the following file: