Skip to content

Fix hotswapping adapters with shared name prefixes - #3796

Closed
tweekli wants to merge 1 commit into
huggingface:mainfrom
tweekli:split/peft-3787
Closed

tweekli wants to merge 1 commit into
huggingface:mainfrom
tweekli:split/peft-3787

Conversation

@tweekli

@tweekli tweekli commented Sep 23, 2026

Copy link
Copy Markdown

Fixes #3780.

Match adapter names as exact state-dict path segments during hotswap so a shared prefix no longer zeroes unrelated adapters.

  • Tests added or updated for the changed behavior

@BenjaminBossan

Copy link
Copy Markdown
Member

Thanks for the PR but the issue was not assigned to you and there is already a PR by the original poster. Please don't create PRs if you're not assigned.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Hotswapping an adapter can zero another adapter with a shared name prefix

2 participants