Skip to content

Add dype area option#8844

Merged
blessedcoolant merged 3 commits intoinvoke-ai:mainfrom
JPPhoto:add-dype-area-option
Feb 5, 2026
Merged

Add dype area option#8844
blessedcoolant merged 3 commits intoinvoke-ai:mainfrom
JPPhoto:add-dype-area-option

Conversation

@JPPhoto
Copy link
Copy Markdown
Collaborator

@JPPhoto JPPhoto commented Feb 5, 2026

Summary

This PR introduces a new DyPE preset mode (area) for FLUX that determines activation/scaling from image area rather than max dimension, while preserving neutral baseline behavior at the model's native training size.

Related Issues / Discussions

QA Instructions

Added tests in tests/backend/flux/dype/test_dype.py covering area mode behavior.

The best way to test actual functionality is to generate images with DyPE off and using the new area setting for both the base model size and larger than model size. Base model images should be identical while larger ones diverge and DyPE ones should be more coherent.

Merge Plan

Checklist

  • The PR has a short but descriptive title, suitable for a changelog
  • Tests added / updated (if applicable)
  • ❗Changes to a redux slice have a corresponding migration
  • Documentation added / updated (if applicable)
  • Updated What's New copy (if doing a release after this PR)

@github-actions github-actions bot added python PRs that change python files invocations PRs that change invocations backend PRs that change backend files frontend PRs that change frontend files python-tests PRs that change python tests labels Feb 5, 2026
Copy link
Copy Markdown
Collaborator

@blessedcoolant blessedcoolant left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Rest of it seems fine. Pretty straightforward.

@blessedcoolant blessedcoolant merged commit bacdfec into invoke-ai:main Feb 5, 2026
13 checks passed
@JPPhoto JPPhoto deleted the add-dype-area-option branch February 5, 2026 19:30
lstein pushed a commit that referenced this pull request Feb 6, 2026
* Add DyPE area option

* Added tests and fixed frontend build

* Made more pythonic
@lstein lstein added the 6.11.1 label Feb 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

6.11.1 backend PRs that change backend files frontend PRs that change frontend files invocations PRs that change invocations python PRs that change python files python-tests PRs that change python tests

Projects

Status: 6.11.1

Development

Successfully merging this pull request may close these issues.

3 participants