diff --git a/rugnux/RugnuxScaleMerge.cpp b/rugnux/RugnuxScaleMerge.cpp index 3197f3765..00dd32f2d 100644 --- a/rugnux/RugnuxScaleMerge.cpp +++ b/rugnux/RugnuxScaleMerge.cpp @@ -3259,6 +3259,11 @@ bool Rugnux::ScaleMergeAndSymmetry(PipelineLocals &p) { // The ledger's P1 merge (started above) is taken before anything below acts on what the // validation decides: relabelling the outcomes and the group is what it must not see happen. // Every such relabelling reaches the P1 merge afterwards, through merge_to_written. + // The merge is done with its engine - nothing below reads it but the finalist ledger's P1 merge, + // which runs on it beside the validation - so the device memory it holds goes back before the + // validation decides, from the card's total, whether its GPU path fits. + if (!ledger_ahead.valid()) + rsm.reset(); ModelValidationResult validation = validate(logger); take_ledger_p1(); // A model that was asked for and could not be used has to say so where anyone will see