Skip to content

Fix flux image_generation_test. Change input dim to match encoder - #1726

Merged
tianyu-l merged 1 commit into
pytorch:mainfrom
yosoyjay:flux-fix-image-test
Sep 23, 2025
Merged

tianyu-l merged 1 commit into
pytorch:mainfrom
yosoyjay:flux-fix-image-test

Conversation

@yosoyjay

Copy link
Copy Markdown
Contributor

Quick fix to address issue a failing test for experiments/flux that I encountered and opened and described in #1725.

Fix is to match context_in_dim to the corresponding text embedding size of the encoder model t5-v1_1-base.

@meta-cla

meta-cla Bot commented Sep 19, 2025

Copy link
Copy Markdown

Hi @yosoyjay!

Thank you for your pull request and welcome to our community.

Action Required

In order to merge any pull request (code, docs, etc.), we require contributors to sign our Contributor License Agreement, and we don't seem to have one on file for you.

Process

In order for us to review and merge your suggested changes, please sign at https://code.facebook.com/cla. If you are contributing on behalf of someone else (eg your employer), the individual CLA may not be sufficient and your employer may need to sign the corporate CLA.

Once the CLA is signed, our tooling will perform checks and validations. Afterwards, the pull request will be tagged with CLA signed. The tagging process may take up to 1 hour after signing. Please give it that time before contacting us about it.

If you have received this in error or have any questions, please contact us at [email protected]. Thanks!

@meta-cla

meta-cla Bot commented Sep 19, 2025

Copy link
Copy Markdown

Thank you for signing our Contributor License Agreement. We can now accept your code for this (and any) Meta Open Source project. Thanks!

@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Meta Open Source bot. label Sep 19, 2025
@fegin

fegin commented Sep 19, 2025

Copy link
Copy Markdown
Contributor

@wwwjn Do we know why the test failure was not captured by the CI?

@wwwjn

wwwjn commented Sep 19, 2025

Copy link
Copy Markdown
Contributor

@wwwjn Do we know why the test failure was not captured by the CI?

This is not a unittest, and this is a separate test script to testing real inference / generating image with FLUX model. This tests haven't been added to FLUX CI test yet. I will followup later

@tianyu-l

Copy link
Copy Markdown
Contributor

@wwwjn Sounds good.
Now that we have inference in Flux. It's a time to consolidate tests and remove out-dated ones.

@tianyu-l
tianyu-l merged commit 22d2d44 into pytorch:main Sep 23, 2025
wwwjn added a commit that referenced this pull request Sep 24, 2025
xrsrke pushed a commit to NousResearch/torchtitan that referenced this pull request Feb 13, 2026
…torch#1726)

Quick fix to address issue a failing test for `experiments/flux` that I
encountered and opened and described in pytorch#1725.

Fix is to match `context_in_dim` to the corresponding text embedding
size of the encoder model `t5-v1_1-base`.
xrsrke pushed a commit to NousResearch/torchtitan that referenced this pull request Feb 13, 2026
xrsrke pushed a commit to NousResearch/torchtitan that referenced this pull request Feb 25, 2026
…torch#1726)

Quick fix to address issue a failing test for `experiments/flux` that I
encountered and opened and described in pytorch#1725.

Fix is to match `context_in_dim` to the corresponding text embedding
size of the encoder model `t5-v1_1-base`.
xrsrke pushed a commit to NousResearch/torchtitan that referenced this pull request Feb 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Meta Open Source bot.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants