Skip to content

Add suport for the fixed resolution target resolution when Aspect Bucketing is disabled#46

Open
maedtb wants to merge 2 commits intoNerogar:masterfrom
maedtb:single-aspect-fixed-resolution
Open

Add suport for the fixed resolution target resolution when Aspect Bucketing is disabled#46
maedtb wants to merge 2 commits intoNerogar:masterfrom
maedtb:single-aspect-fixed-resolution

Conversation

@maedtb
Copy link
Copy Markdown
Contributor

@maedtb maedtb commented Feb 21, 2026

User-Facing Features/Changes

  • Added support for the fixed resolution target resolution format (i.e. 1024x768) when Aspect Bucketing is disabled.

  • Modified whitespace handling for the fixed resolution target resolution format, allowing for whitespace in more places. (i.e. 1024 x 768).

  • Added support for rounding an image's target resolution to the model's preferred resolution multiple when Aspect Bucketing is disabled (matching what happens when AspectBucketing is enabled.)

  • Added warning message when an image's target resolution is rounded.

Internal Change

  • Concept resolution overrides are no longer included in the possible resolution list if that concept's override is disabled.

Testing

Tested by creating multiple concepts with varying resolution targets, some needing rounding, some not, and then training a SDXL model for a few dozen steps with Aspect Bucketing enabled, and once again with Aspect Bucketing disabled.

- Add support for fixed resolutions when aspect bucketing is disabled.
- Adds optional support for quantizing the target image resolution to a model's required multiple.
- Added calls to `.strip()` to fixed resolution inner values.
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.

1 participant