cd /news/machine-learning/two-more-measured-notes-for-peft-wit… · home › topics › machine-learning › article
[ARTICLE · art-177099] src=discuss.huggingface.co ↗ pub= topic=machine-learning verified=true sentiment=· neutral

Two more measured notes for peft, with runnable checks

A follow-up set of runnable checks reproduced two PEFT defects at the stated evidence levels, including a new symptom in which disabling a LoRA adapter after temporary parametrizations accumulated failed to recover the original parametrized-base output, with a max absolute difference of 6.22295094 in the released PEFT 0.22.0 package. The author confirmed the 3-D parameter-targeting issue in the actual PEFT runtime and four docstring mismatches in the source trees of both 0.21.3 and 0.22.0, noting that PEFT 0.22.0 shipped on November 19, 2026, while both relevant PRs (#4214 and #4162) merged on November 25, after that release. The author recommends a compatible release or pinned revision containing #4214, and treats a growing residual proxy list as pointing directly to #4162.

recommendation

Pin a PEFT revision containing #4214 rather than 0.22.0, and test on a fresh model that parametrization counts stay at 1 across repeated forwards and that disabling the adapter restores the original parametrized base.

more in playbook: Fine-tuning and data
read2 min views8 publishedNov 27, 2026

Both fixes seem to have landed on main, so here are a few additional checks I ran:

I confirmed the 3-D parameter-targeting issue in the actual PEFT runtime and the documentation issue in two release source trees. One additional symptom: after temporary LoRA parametrizations accumulated, disabling the adapter did not recover the original parametrized-base output.

For anyone coming across this thread later, there is a distinction between the released package and main. PEFT 0.22.0 was released on November 19, 2026. Both relevant PRs were merged on November 25, after that release: The release listing and PyPI still showed 0.22.0 when I checked on November 27. Here are the CPU results from that released package. The right column uses a local diagnostic change to the cleanup predicate, not the exact merged PR commit.

Check in the small PEFT 0.22.0 model Unmodified Local cleanup change
Parametrization counts after three successive forwards 2, 3, 4 1, 1, 1
Max absolute difference, first vs third output 3.11147547 0
Count after a subsequent intentional forward exception 5 1
Max absolute difference, adapter disabled after exception vs original parametrized base 6.22295094 0
Original parametrization object retained after ordinary forwards Yes Yes
Cleanup warnings 4 0
For the second finding, all four reported docstring mismatches were visible in the source trees of both 0.21.3 and 0.22.0. The agreement with the original measurements is in the failure mechanism and the observed contracts, not necessarily in the numerical magnitude of the output drift in different fixtures.

For the first issue, start with a fixed-input test on a fresh model: a named 3-D parameter, an existing PyTorch parametrization, and the temporary factors-proxy path. Compare the **original parametrized base**, enabled outputs, and the disabled output; inspect the chain immediately outside each call.

My default would be a compatible release or pinned revision containing #4214 and a clean reconstruction. A growing residual proxy list points directly to #4162; a stable list with varying outputs calls for other checks. Preventing accumulation and recovering an affected instance are separate. For the documentation issue, inspect the actual signature and matching source version.

An intentional exception is a useful extra check on a disposable fixture, not a live model.

  1. Additional runtime observations on an already-parametrized 3-D weight In short, both notes were reproduced at the stated evidence levels. The failed-call and disabled-reference checks add a useful lifetime test, while the four documentation findings can be verified without model execution. The merged changes are the natural reference for future installations.
── more in #machine-learning 4 stories · sorted by recency
── more on @peft 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
→ Live at https://your-agent.zahid.host ✓
Get free account → Pricing
from €0/mo · no card required
LIVE [news/two-more-measured-no…] indexed:0 read:2min 2026-11-27 · —