xnn.gnn.models.tensornet.RECOMPUTE_MIN_PAIRS#

xnn.gnn.models.tensornet.RECOMPUTE_MIN_PAIRS = 1000000#

Pairs (self pairs included) from which an interaction layer in evaluation mode recomputes its filter network in the backward pass instead of keeping its activations (recompute="auto", see set_recompute_radial()). Recomputing lowers the peak of the fused layers by about a quarter and costs 13-35 % of the time of an evaluation, so it is left to graphs where memory binds (with the defaults about 18 GB at a million pairs in float32); True takes it at any size.