Skip to content
module

Bone

4 members
lucid.peft.tuners.bone

lucid.peft.tuners.bone — Bone, the method MiSS replaced: its config, tuner and layer types.

Bone (Kang, 2024, arXiv:2409.15371 — Block Affine) learns one block per run of output rows and applies it to the weight itself, W′=W(I+S)+SW' = W(I + S) + S blockwise, so it is non-linear in the blocks. The paper was revised as MiSS, and the reference library no longer ships Bone. It is kept here because adapter files written under the name exist: a Bone adapter is a MiSS adapter of the default or "bat" variant with the block stored as bone_block. New work uses lucid.peft.tuners.miss.

One layer type for the one module the method adapts, nn.Linear: Linear, on BoneLayer. BoneConfig and BoneModel are here and exported from lucid.peft. Importing the package registers the method (its config under PeftType.BONE, its tuner and layer), which is what makes get_peft_model and PeftModel.from_pretrained know it.

Paper

Kang, Jiale. [arXiv:2409.15371](https://arxiv.org/abs/2409.15371), 2024 (the paper that introduced Bone; MiSS is its successor).

Overview

Bone (Kang, 2024 — Block Affine) is the method MiSS (lucid.peft.MissConfig) renamed and extended; the reference library no longer ships it. It is kept here because adapter files written under the name still exist: a Bone adapter is a MiSS adapter of the balance (init_weights=True) or "bat" variant with the block stored as bone_block. New work should use MiSS.

Classes