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
Since ab835f7 , img2img generations need higher strength values to apply changes to the input images.
This is an SDXL test on Vulkan, with the prompt ./sd -m ./cyberrealisticPony_semiRealV35a.safetensors -s 1 -p 'silver car' -i ./base.png , leaving the strength at the default (0.75) for the first gens:
Yeah that just disables the most common padding case.
The problem with PAD is that it add zeros, and if a zero is not the neutral value, calculations will go off.
Activity
Green-Sky commentedon Aug 6, 2025
Hmm, interesting. Maybe we should really just remove the padding changes again.
#736
wbruna commentedon Aug 9, 2025
The same test on 5900ef6 with:
Green-Sky commentedon Aug 9, 2025
Yeah that just disables the most common padding case.
The problem with
PADis that it add zeros, and if a zero is not the neutral value, calculations will go off.wbruna commentedon Aug 9, 2025
Ah, I see. So that's essentially equivalent to switching the
#if 0right above.WIP: update stable-diffusion.cpp to 5900ef6605c6 (new API) (#1669)
revert the L_k padding, introduced as part of leejet#736
fix: adjust flash attention scale for kv padding
wbruna commentedon Aug 29, 2025
For completeness sake, with the change I've mentioned on #774 (4c8b774), I get:
Green-Sky commentedon Sep 9, 2025
@wbruna is this still an issue?
wbruna commentedon Sep 9, 2025
Oh, thanks for reminding me of this one. It was fixed by #778 .