计划执行与检查节点
executing-plans
按既定实施计划完成工作,保持过程检查和反馈。
svd_adaptation_layer【效率与协作】Implement AdaLoRA SVD-style low-rank linear updates with frozen base weights and active-rank scaling.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this skill when reconstructing or testing AdaLoRA-style parameter-efficient adaptation for a linear layer without depending on the original paper repository.
[out_features][in_features] and optional bias.A with shape [rank][in_features], E singular values, and B with shape [out_features][rank].[batch][in_features], scaling alpha, and active-rank denominator.B @ (diag(E) @ A) and add x @ update.T * alpha / active_rank.Run python scripts/svd_layer.py --self-test or validate the skill tree with validate_skill_tree.py --run-tests.
The bundled script uses standard-library arithmetic for deterministic recovery tests. Production model integrations should map this contract to tensor libraries while preserving the same parameter semantics.