计划执行与检查节点
executing-plans
按既定实施计划完成工作,保持过程检查和反馈。
fisher_mask_search【效率与协作】Select Transformer heads and filters to prune using diagonal Fisher scores under a FLOPs budget.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this skill when implementing post-training structured pruning for Transformers and you need the paper's first stage: a fast binary mask search from diagonal Fisher importance. Do not use it for unstructured weight pruning or when unit costs differ per individual head/filter without adapting the cost model.
head_scores: nonnegative diagonal Fisher importance values for attention heads.filter_scores: nonnegative diagonal Fisher importance values for feed-forward filters.head_cost, filter_cost: positive per-unit costs.budget: maximum remaining cost.1 is kept and 0 is pruned.Run python tests/test_fisher_mask_search.py or validate the skill tree with validate_skill_tree.py --run-tests.