xnn.dnn.fast.physnet.AUTO_POLICY#
- xnn.dnn.fast.physnet.AUTO_POLICY = AutoPolicy(min_edges={'A100': 300000, 'A30': 50000, 'T4': 50000, 'V100': 200000, 'L40S': 120000}, min_edges_float64={'A100': 200000, 'A30': 50000, 'T4': 0, 'V100': 100000, 'L40S': 20000}, default_min_edges=150000, default_min_edges_float64=150000, 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). Below them the fused sums and the reference tie within a few percent; above them the kernels take 0.63-0.83 of the reference’s time. A T4 wins at every size in float64; an unmeasured GPU takes 150k.