Archived
The single-threaded loops stay beside LAPACK; RAD_LQ_LAPACK=0 takes them and gptq_through_lapack_matches_the_loops compares the two (output error equal to rounding). A factor whose diagonal is not finite and positive is refused, as the loops refused a NaN pivot that dpotrf lets through. The cache keeps the 4 most recent layer factors: a MoE layer's experts alternate between two stems. The size in the comment is the f32 factor's, 1.85 GB. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>