xnn.gnn.fast.allegro.AUTO_POLICY#
- xnn.gnn.fast.allegro.AUTO_POLICY = AutoPolicy(min_edges={'A100': 20000, 'L40S': 15000, 'V100': 6000, 'A30': 4000, 'T4': 4000}, min_edges_float64={'A100': 4000, 'L40S': 4000, 'V100': 4000, 'A30': 4000, 'T4': 0}, default_min_edges=20000, default_min_edges_float64=4000, max_edges={}, max_edges_float64={}, default_max_edges=None, default_max_edges_float64=None, cpu_min_edges=None, cpu_min_edges_float64=None)#
Edge counts above which
use_fast="auto"takes the kernels in evaluation mode (energy and forces). On an A100 the kernels were faster than the reference from these sizes on for both a 32-channel two-layer and a 64-channel three-layer model (the wider model gains from smaller graphs); below them the extra calls cost more than the products save. The A30, T4, V100 and L40S were measured the same way (the T4 wins at every size in float64); a GPU in neither table takes the A100’s thresholds.