You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug] Hidream-dev produces broken images on Vulkan with quantized models #1496
changed the title [-][Bug] Hidream-dev produces broken images on Vulkan[/-][+][Bug] Hidream-dev produces broken images on Vulkan with quantized models[/+]on May 15, 2026
For existing quantized models, generating with: --tensor-type-rules "^model\.language_model\.layers\.[0-9]+\.mlp\.down_proj\.weight=bf16"
seems to work too.
Activity
wbruna commentedon May 15, 2026
Vulkan seems to be sensitive to the
mlp.down_projlayer quantization: keeping it as-is avoids this issue.From
HiDream-O1-Image-Dev-BF16.safetensors:--tensor-type-rules "^model\.language_model\.layers\.[0-9]+\.mlp\.(gate|up)_proj\.weight=q8_0"works (~12.4G),^model\.language_model\.layers\.[0-9]+\.self_attn\.[kqvo]_proj\.weight=q8_0works too (~11.1G)[-][Bug] Hidream-dev produces broken images on Vulkan[/-][+][Bug] Hidream-dev produces broken images on Vulkan with quantized models[/+]wbruna commentedon May 15, 2026
For existing quantized models, generating with:
--tensor-type-rules "^model\.language_model\.layers\.[0-9]+\.mlp\.down_proj\.weight=bf16"seems to work too.
LostRuins commentedon May 17, 2026
I have the same issue, except I don't even get areas of coherence
LostRuins commentedon May 19, 2026
@leejet what do you think of wbruna's suggestion?
leejet commentedon Nov 28, 2026
This may be related to numerical overflow in the quantized matrix multiplication path.
Please try the latest build with:
--linear-scale 0.0078125 --attn-scale 0.0078125Also, see the updated HiDream-O1-Image generation settings in #2407.
https://github.com/leejet/stable-diffusion.cpp/blob/master/docs/troubleshooting.md
Closing this for now. Feel free to reopen if the issue persists.