xnn.dnn.fast.qrnn.AUTO_POLICY#

xnn.dnn.fast.qrnn.AUTO_POLICY = AutoPolicy(min_edges={}, min_edges_float64={}, default_min_edges=0, default_min_edges_float64=0, max_edges={'A100': 500000, 'H200': 500000, 'L40S': 500000, 'A30': 100000, 'T4': 100000, 'V100': 250000}, max_edges_float64={'A100': 300000, 'H200': 250000, 'L40S': 20000, 'A30': 50000, 'T4': 0, 'V100': 100000}, default_max_edges=500000, default_max_edges_float64=300000, cpu_min_edges=None, cpu_min_edges_float64=None)#

When use_fast="auto" takes the fast path in evaluation mode (energy and forces). It saves kernel launches, so it wins from the smallest molecules (0.63-0.75 of the reference’s time up to 1000 atoms on an A100, 0.66-0.74 on an H200, A30, V100, L40S or T4 in float32) until the padded products cost as much as they save: near 500k edges on an A100, H200 or L40S, 100k on an A30 or T4, 250k on a V100 in float32. GPUs with little float64 throughput tie earlier in float64 (an L40S near 20k edges) or never win (a T4). An unmeasured GPU takes the A100’s bounds.