SIGN IN SIGN UP

fix(#1755): Fix PEFT adapter outputs for v5 support (#3284)

* Fix #1755: Fix PEFT adapter outputs for v5 support

Signed-off-by: Mr-Neutr0n <64578610+Mr-Neutr0n@users.noreply.github.com>

* address review: drop dead logger, de-duplicate mixin methods, cover v5 defaults

- Remove the unused logging import and module logger from state_dict_mixin.
- Delete the Qwen3 _convert_lora_to_paramwrapper / _convert_paramwrapper_to_native
  overrides now that the shared mixin owns them. They were AST-equivalent but
  carried better inline comments, so those comments moved into the mixin first
  rather than being dropped along with the copies.
- Add TestExtractTargetsV5Defaults: the existing MoE tests all pass
  v4_compatible=True, leaving the shipped v5 defaults unasserted. CPU-only.

Signed-off-by: Mr-Neutr0n <harikp2002@gmail.com>

* test: keep MoE merge helper on v4 format

Signed-off-by: Mr-Neutr0n <harikp2002@gmail.com>

* fix: scope PEFT v5 export to validated adapters

Signed-off-by: Mr-Neutr0n <harikp2002@gmail.com>

---------

Signed-off-by: Mr-Neutr0n <64578610+Mr-Neutr0n@users.noreply.github.com>
Signed-off-by: Mr-Neutr0n <harikp2002@gmail.com>
H
hari committed
14ef2e0a58255db1cc1fd942d7d1917e4b798cb6
Parent: 99dc665
Committed by GitHub <noreply@github.com> on 8/7/2026, 3:21:17 AM