Closed rhyswynn closed 3 months ago
I was able to get this to work by adding a Scheduler control and updating these 5 files: args.py, defaults.py, generate.py, ui_elements.py, and webui_sd_pipeline.py. The underlying breaking change is that the StableDiffusionProcessingImg2Img in modules.processing has been updated to include a separate scheduler property.
Same here with "DPM++ 2M Karras" since last A1111 version 1.9. Sampler and scheduler are now separated
This seems a blocking issue. Would love to see a bypass in the meantime
I was able to get this to work by adding a Scheduler control and updating these 5 files: args.py, defaults.py, generate.py, ui_elements.py, and webui_sd_pipeline.py. The underlying breaking change is that the StableDiffusionProcessingImg2Img in modules.processing has been updated to include a separate scheduler property.
Any chance to get these files ?
https://github.com/deforum-art/sd-webui-deforum/pull/968 submitted from my fork at https://github.com/rhyswynn/sd-webui-deforum. The updated files are located under scripts/deforum_helpers args.py defaults.py generate.py settings.py ui_elements.py webui_sd_pipeline.py
968 submitted from my fork at https://github.com/rhyswynn/sd-webui-deforum. The updated files are located under scripts/deforum_helpers args.py defaults.py generate.py settings.py ui_elements.py webui_sd_pipeline.py
Works like a charm, thanks. I hope it will be merged 😊
This is now merged. Thanks @rhyswynn !
Have you read the latest version of the FAQ?
Is there an existing issue for this?
Are you using the latest version of the Deforum extension?
What happened?
Installed Automatic1111 new yesterday. Selecting samplers with 'karas' extension and trying to generate gives an error Error: 'bad sampler name: DPM++ 2M SDE Karras'.
Steps to reproduce the problem
What should have happened/how would you fix it?
I expect generation to begin and complete. Looking at the new A1111 architecture, txt2img has separate drop downs for sampler and scheduler. sd_sample.py includes all of the different sampler/scheduler combinations in the older version, the new version has separate sd_sample.py and sd_schedule.py for combining the selections, which doesn't work with the current version of Deforum.
Torch version
2.1.2+cu121
On which platform are you launching the webui with the extension?
No response
Deforum settings
Default settings on a new install and newly loaded UI
Webui core settings
https://1drv.ms/f/s!AsWJ6d6qrrw5gpxSHNtP1KgU1yzQSA?e=NS2PkP
Console logs
Additional information
No response