ashen-sensored / sd_webui_SAG

MIT License
236 stars 28 forks source link

does not apply patch after installation, on the right commit #3

Closed DoguCatto closed 1 year ago

DoguCatto commented 1 year ago

E:\SD2\new web-ui\stable-diffusion-webui\stable-diffusion-webui\stable-diffusion-webui>git apply --ignore-whitespace extensions/sd_webui_SAG/automatic1111-CFGDenoiser-and-script_callbacks-mod-for-SAG.patch error: patch failed: modules/script_callbacks.py:53 error: modules/script_callbacks.py: patch does not apply error: patch failed: modules/sd_samplers_kdiffusion.py:9 error: modules/sd_samplers_kdiffusion.py: patch does not apply

E:\SD2\new web-ui\stable-diffusion-webui\stable-diffusion-webui\stable-diffusion-webui>

ptrprkr commented 1 year ago

same issue here

Centurion-Rome commented 1 year ago

same (Vlad fork): error: patch failed: modules/script_callbacks.py:50 error: modules/script_callbacks.py: patch does not apply error: patch failed: modules/sd_samplers_kdiffusion.py:8 error: modules/sd_samplers_kdiffusion.py: patch does not apply

crypticnull commented 1 year ago

Also experiencing this.

ashen-sensored commented 1 year ago

Vlad fork no longer requires patching since the change has already been merged to upstream in commit cb465b1, I'll update README to reflect the changes.

sdbds commented 1 year ago

it works well even show errors for patch.

ashen-sensored commented 1 year ago

it works well even show errors for patch.

It will show error if you apply the patch again. You only need to run the command once.

DoguCatto commented 1 year ago

@ashen-sensored can you add a message "patch already applied"? this will help with the confusion