Skip to content

Fix validation adapter state restore - #3182

Merged
bghira merged 1 commit into
mainfrom
bugfix/3175
Aug 31, 2026
Merged

Fix validation adapter state restore#3182
bghira merged 1 commit into
mainfrom
bugfix/3175

Conversation

@bghira

@bghira bghira commented Aug 31, 2026

Copy link
Copy Markdown
Owner

Summary

  • snapshot validation adapter target state before temporary LoRA loading
  • prevent teardown from restoring validation adapters that were deleted after generation
  • add regression coverage for child-target active adapter state and existing adapter restoration

Tests

  • .venv/bin/python -m unittest tests.test_validation_adapters -v
  • .venv/bin/python -m unittest tests.test_krea2_model -v
  • .venv/bin/python -m unittest -v -f

Fixes #3175

@bghira
bghira merged commit cc5b690 into main Aug 31, 2026
2 checks passed
@bghira
bghira deleted the bugfix/3175 branch August 31, 2026 15:58
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.

validation adapter not working

1 participant