From aa19b877ed03cb1c3e645e54b635ce5df7153746 Mon Sep 17 00:00:00 2001 From: Ian Sullivan Date: Thu, 13 Feb 2025 13:21:31 -0800 Subject: [PATCH] Defer quantum graph constraint on coadds for getTemplate. This greatly speeds up the quantum graph generation time for the AP pipeline, by restricting the initial constraints to be only based on raws and not the possible coadds used to make templates. --- python/lsst/ip/diffim/getTemplate.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/python/lsst/ip/diffim/getTemplate.py b/python/lsst/ip/diffim/getTemplate.py index a36619e22..24120bdde 100644 --- a/python/lsst/ip/diffim/getTemplate.py +++ b/python/lsst/ip/diffim/getTemplate.py @@ -68,7 +68,8 @@ class GetTemplateConnections(pipeBase.PipelineTaskConnections, storageClass="ExposureF", name="{fakesType}{coaddName}Coadd{warpTypeSuffix}", multiple=True, - deferLoad=True + deferLoad=True, + deferGraphConstraint=True ) template = pipeBase.connectionTypes.Output(