Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

add flux2 support#1016

Merged
leejet merged 4 commits intomasterleejet/stable-diffusion.cpp:masterfrom
flux2leejet/stable-diffusion.cpp:flux2Copy head branch name to clipboard
Nov 30, 2025
Merged

add flux2 support#1016
leejet merged 4 commits intomasterleejet/stable-diffusion.cpp:masterfrom
flux2leejet/stable-diffusion.cpp:flux2Copy head branch name to clipboard

Conversation

@leejet
Copy link
Copy Markdown
Owner

@leejet leejet commented Nov 28, 2025

.\bin\Release\sd.exe --diffusion-model  ..\..\ComfyUI\models\diffusion_models\flux2-dev-Q4_K_S.gguf --vae ..\..\ComfyUI\models\vae\flux2_ae.safetensors  --llm ..\..\ComfyUI\models\text_encoders\Mistral-Small-3.2-24B-Instruct-2506-Q4_K_M.gguf -r .\kontext_input.png -p "change 'flux.cpp' to 'flux2-dev.cpp'" --cfg-scale 1.0 --sampling-method euler -v --diffusion-fa --offload-to-cpu
output

TODO:

  • Flux2FlowDenoiser

@stduhpf
Copy link
Copy Markdown
Contributor

stduhpf commented Nov 29, 2025

It runs surprisingly not too slow with a Q2_K quant. Quality is pretty bad though with that quant. If someone has enough memory and disk space to make an iq3_xxs quant of this model, that would probably be a lot better quality than the Q2 while fitting in 16 GB of VRAM.

@leejet leejet merged commit 52b67c5 into master Nov 30, 2025
10 checks passed
@dsignarius
Copy link
Copy Markdown

dsignarius commented Dec 2, 2025

ggml_vulkan: 0 = AMD RADV RENOIR (ACO) (radv) | uma: 1 | fp16: 1 | bf16: 0 | warp size: 64 | shared memory: 32768 | int dot: 0 | matrix cores: none

sd --diffusion-model flux2-dev-Q4_K_M.gguf --vae flux2-vae.safetensors --llm mistral-small-3.2-24b-instruct-2506-q4_k_m.gguf --cfg-scale 1.0 --sampling-method euler --steps 8 --offload-to-cpu --vae-on-cpu --diffusion-fa -W 512 -H 1024 -p 'a red apple on a wooden table. Text across the bottom of image reads : sdcpp Flux2 DEV ' --seed 10

keeper_229

@leejet leejet deleted the flux2 branch December 16, 2025 17:05
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

Morty Proxy This is a proxified and sanitized view of the page, visit original site.