Skip to content

feat: add flux kontext #11985

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

feat: add flux kontext #11985

wants to merge 3 commits into from

Conversation

jlonge4
Copy link

@jlonge4 jlonge4 commented Jul 24, 2025

What does this PR do?

This adds flux-kontext to the AUTO_TEXT2IMAGE_PIPELINES_MAPPING. This enables Flux Kontext to be used for text -> img when using optimum neuron. Ref: huggingface/optimum-neuron#815
Sister PR:
huggingface/optimum-neuron#916

Before submitting

Who can review?

@yiyixuxu and @asomoza

@HuggingFaceDocBuilderDev

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

@asomoza
Copy link
Member

asomoza commented Jul 25, 2025

thanks! primarily Kontext is for Image2Image so I think it makes more sense to add it there than to Text2Image though

@jlonge4
Copy link
Author

jlonge4 commented Jul 25, 2025

@asomoza thoughts on adding it to both, like vanilla flux?

@asomoza
Copy link
Member

asomoza commented Jul 25, 2025

yeah, it's also fine to add it to both since it can be used for both tasks

@asomoza
Copy link
Member

asomoza commented Jul 25, 2025

@bot /style

Copy link
Contributor

github-actions bot commented Jul 25, 2025

Style bot fixed some files and pushed the changes.

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.

3 participants