pytc.df.thc.exact_df_panelled¶
- pytc.df.thc.exact_df_panelled(b, t2, aux_panel)[source]¶
Exact current-DF sandwich, panelled over the auxiliary axis.
The
(nocc^2, nvir, nvir, q)intermediate inside_exact_accumulate()costsnocc^2 * nvir^2 * q * 8bytes – ~4.9 GiB per aux column at large systems, so the caller’saux_panel=32would demand ~157 GiB. The panel step is therefore clamped so the intermediate stays underPYTC_EXACT_PANEL_CAP_GB(default 8 GiB, read at call time); at q=1 the GEMM shapes are unchanged (the batch is the occupied-pair axis, not q), so the clamp costs no efficiency. Small cases are unaffected.- Parameters:
aux_panel (int)