From 27df5df20bee3c9e2c5e30f59334462bf741a8af Mon Sep 17 00:00:00 2001 From: Manuel Schmid Date: Tue, 30 Apr 2024 15:06:33 +0200 Subject: [PATCH] feat: use LoRA weight 0.8, sampler dpmpp_sde_gpu and scheduler_name karras suggested in https://github.com/lllyasviel/Fooocus/discussions/2813#discussioncomment-9245251 results see https://github.com/lllyasviel/Fooocus/discussions/2813#discussioncomment-9275251 --- modules/async_worker.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/async_worker.py b/modules/async_worker.py index a8f857b0..a549a5a3 100644 --- a/modules/async_worker.py +++ b/modules/async_worker.py @@ -266,14 +266,14 @@ def worker(): elif performance_selection == Performance.HYPER_SD: print('Enter Hyper-SD mode.') progressbar(async_task, 1, 'Downloading Hyper-SD components ...') - loras += [(modules.config.downloading_sdxl_hyper_sd_lora(), 1.0)] + loras += [(modules.config.downloading_sdxl_hyper_sd_lora(), 0.8)] if refiner_model_name != 'None': print(f'Refiner disabled in Hyper-SD mode.') refiner_model_name = 'None' - sampler_name = 'ddim' - scheduler_name = 'sgm_uniform' + sampler_name = 'dpmpp_sde_gpu' + scheduler_name = 'karras' sharpness = 0.0 guidance_scale = 1.0 adaptive_cfg = 1.0