xnn.common.models.ops.FUSED_SLOPE_MIN_ELEMENTS#

xnn.common.models.ops.FUSED_SLOPE_MIN_ELEMENTS = 1048576#

From this many elements a training activation (SiLU, GELU) keeps its fused derivative under autograd; below it torch’s own function, whose fewer Python calls win where the step is bound by launches.