gw#627 live fix 2: reject legacy attn-processor converter output in adapter normalization (0.52.2)#384
Merged
Conversation
…e_dict normalization diffusers' non-diffusers converter turns kohya-flat sdxl attention keys into legacy …attn1.processor.to_q_lora.down.weight names that match no real module — the whole curated adapter failed typed (1680 unresolved keys, live request 88604466). Fall back to the raw keys, which resolve directly against module paths. gw627 test now runs the REAL SDXL converter in the loop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Second live find from the gw#627 sdxl deploy (request 88604466, release
0adbc2d7): diffusers' non-diffusers converter turns the curated kohya-flat
sdxl adapters' attention keys into legacy
…attn1.processor.to_q_lora.down.weightnames that match no real module —map_adapter failed the whole adapter typed (1680 unresolved keys).
normalize_adapter_state_dictnow falls back to the raw keys (which resolvedirectly against module paths) whenever the converted dict carries
.processor.names. The gw627 overlay test now runs the REALStableDiffusionXLPipeline.lora_state_dict converter in the loop.
🤖 Generated with Claude Code