Skip to content

[Bug] Vulkan img2img returns white image #1665

@StudenteChamp2

Description

@StudenteChamp2

Tested with master-707-5a34bc7 build.

Test image:
Image

CPU output:
Image

Vulkan output:
Image

I downloaded the models on the internet:
https://huggingface.co/unsloth/Qwen3-4B-GGUF/blob/main/Qwen3-4B-UD-Q4_K_XL.gguf
https://huggingface.co/unsloth/FLUX.2-klein-4B-GGUF/blob/main/flux-2-klein-4b-Q8_0.gguf
https://huggingface.co/black-forest-labs/FLUX.2-small-decoder/blob/main/full_encoder_small_decoder.safetensors

Operating System & Version

Windows 11

GGML backends

Vulkan

Command-line arguments used

sd-cli.exe --backend vulkan0 --diffusion-model flux-2-klein-4b-Q8_0.gguf --llm Qwen3-4B-UD-Q4_K_XL.gguf --vae flux2.full_encoder_small_decoder.safetensors --vae-conv-direct -p "turn the image into a high quality photograph" -r Albedo.png -o output_photo.png --cfg-scale 1 --steps 4 --fa

Steps to reproduce

Simply run the command with the attached "Albedo.png" image as reference input.

What you expected to happen

A realistic output like mentioned in the prompt.

What actually happened

White render!

Logs / error messages / stack trace

No response

Additional context / environment details

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions