mirror of
https://github.com/wassname/lora-lite.git
synced 2026-06-27 17:48:59 +08:00
f91c7b23f2
Weight-SVD init (PiSSA-style) kept as fallback; when calibration_data is provided, group_init() collects pre-hook activations, SVDs the pooled inputs per layer, and re-decomposes W_orig through the top-r input-PCA directions. Vhr_final = Vh_A @ Vhr_new keeps rows orthonormal while preserving the input-aligned span. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>