Skip to content

[model] support FLUX.1-Kontext-dev#561

Open
RuixiangMa wants to merge 6 commits intovllm-project:mainfrom
RuixiangMa:flux1
Open

[model] support FLUX.1-Kontext-dev#561
RuixiangMa wants to merge 6 commits intovllm-project:mainfrom
RuixiangMa:flux1

Conversation

@RuixiangMa
Copy link
Contributor

@RuixiangMa RuixiangMa commented Dec 31, 2025

Purpose

FLUX.1-Kontext-dev model support

Test Plan

  • Model Loading Test
  • Inference Test

Test Result

4 * NVIDIA 4090(24G)

vllm serve black-forest-labs/FLUX.1-Kontext-dev --omni --port 8004 --enable_cpu_offload --tensor_parallel_size 4

curl -s -X POST "http://localhost:8004/v1/images/edits" -F "image=@test.jpg" -F "prompt=Change the sky to orange sunset." -F "guidance_scale=1.0" -F "num_inference_steps=50" -F "n=1" -F "size=1024x1024" -F "output_format=png" | jq -r '.data[0].b64_json' | base64 --decode > output.png

Target Image TP=2 TP=4
img img img
Time (s/img) 56.185 49.583

@RuixiangMa RuixiangMa marked this pull request as draft December 31, 2025 04:40
Copy link

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

@RuixiangMa RuixiangMa changed the title [model] support FLUX.1-Kontext-dev model [model] support FLUX.1-Kontext-dev Dec 31, 2025
Signed-off-by: Lancer <maruxiiang6688@gmail.com>
@hsliuustc0106
Copy link
Collaborator

@Bounty-hunter @wtomin PTAL

@david6666666 david6666666 mentioned this pull request Jan 16, 2026
51 tasks
@RuixiangMa RuixiangMa force-pushed the flux1 branch 2 times, most recently from 65f308f to b260332 Compare January 22, 2026 08:58
Signed-off-by: Lancer <maruixiang6688@gmail.com>
@RuixiangMa RuixiangMa force-pushed the flux1 branch 3 times, most recently from 503c037 to e9b6432 Compare January 25, 2026 15:08
@RuixiangMa RuixiangMa marked this pull request as ready for review January 25, 2026 15:08
Copy link

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: e9b6432d70

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Signed-off-by: Lancer <maruixiang6688@gmail.com>
Signed-off-by: Lancer <maruixiang6688@gmail.com>
@hsliuustc0106
Copy link
Collaborator

@david6666666 @ZJY0516

@hsliuustc0106
Copy link
Collaborator

if you use offloading, please also share your latency here with a table

Signed-off-by: Lancer <maruixiang6688@gmail.com>
@RuixiangMa
Copy link
Contributor Author

done

Signed-off-by: Lancer <maruixiang6688@gmail.com>
@RuixiangMa
Copy link
Contributor Author

RuixiangMa commented Feb 6, 2026

cc @hsliuustc0106

Refactored flux_kontext,move components into the flux folder

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.

2 participants