-
Notifications
You must be signed in to change notification settings - Fork 0
Question about calculate_dimensions #2
Copy link
Copy link
Open
Description
Hello,
I'm trying to understand the codebase.
I see that you have changed the default behaviour of Qwen Image here
| calculated_width, calculated_height, _ = calculate_dimensions(max_area, width / height) |
In the diffusers implementation 1024 is enforce by default and here we are instead using the resolution we are training on.
I'm also implemented this change on the official flow-grpo codebase to see how it translate and it seems to drastically boost the sampling and training speed, as well as mitigating the common zoom/crop effect when training qwen on resolution that are not 1024.
I'm still waiting to see if the training will actually converge (with flow-grpo + this specific change only) but I'm quite curious to know if you have done abblation on this, and what motivated this change ...
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels