Commit Graph

76 Commits

Author SHA1 Message Date
Manuel Schmid
5b7ddf8b22
feat: advanced params refactoring + prevent users from skipping/stopping other users tasks in queue (#981)
* only make stop_button and skip_button interactive when rendering process starts

fix inconsistency in behaviour of stop_button and skip_button as it was possible to skip or stop other users processes while still being in queue

* use AsyncTask for last_stop handling instead of shared

* Revert "only make stop_button and skip_button interactive when rendering process starts"

This reverts commit d3f9156854.

* introduce state for task skipping/stopping

* fix return parameters of stop_clicked

* code cleanup, do not disable skip/stop on stop_clicked

* reset last_stop when skipping for further processing

* fix: replace fcbh with ldm_patched

* fix: use currentTask instead of ctrls after merging upstream

* feat: extract attribute disable_preview

* feat: extract attribute adm_scaler_positive

* feat: extract attribute adm_scaler_negative

* feat: extract attribute adm_scaler_end

* feat: extract attribute adaptive_cfg

* feat: extract attribute sampler_name

* feat: extract attribute scheduler_name

* feat: extract attribute generate_image_grid

* feat: extract attribute overwrite_step

* feat: extract attribute overwrite_switch

* feat: extract attribute overwrite_width

* feat: extract attribute overwrite_height

* feat: extract attribute overwrite_vary_strength

* feat: extract attribute overwrite_upscale_strength

* feat: extract attribute mixing_image_prompt_and_vary_upscale

* feat: extract attribute mixing_image_prompt_and_inpaint

* feat: extract attribute debugging_cn_preprocessor

* feat: extract attribute skipping_cn_preprocessor

* feat: extract attribute canny_low_threshold

* feat: extract attribute canny_high_threshold

* feat: extract attribute refiner_swap_method

* feat: extract freeu_ctrls attributes

freeu_enabled, freeu_b1, freeu_b2, freeu_s1, freeu_s2

* feat: extract inpaint_ctrls attributes

debugging_inpaint_preprocessor, inpaint_disable_initial_latent, inpaint_engine, inpaint_strength, inpaint_respective_field, inpaint_mask_upload_checkbox, invert_mask_checkbox, inpaint_erode_or_dilate

* wip: add TODOs

* chore: cleanup code

* feat: extract attribute controlnet_softness

* feat: extract remaining attributes, do not use globals in patch

* fix: resolve circular import, patch_all now in async_worker

* chore: cleanup pid code
2024-02-24 19:01:06 +01:00
lllyasviel
5b99e3a1e4
2.1.839 2023-12-13 21:14:50 -08:00
lllyasviel
e8d88d3e25 2.1.826 2023-12-12 11:38:05 -08:00
lllyasviel
8f98e96d73 maintain
Fix some potential problem when LoRAs has clip keys and user want to load those LoRAs to refiners.
2023-11-21 10:04:53 -08:00
lllyasviel
dececbd060
[2.1.822] New Inpaint System
See related documents for more details.
2023-11-19 17:37:22 -08:00
lllyasviel
3a9c3c07d1 multiple loras in preset 2023-11-15 02:41:49 -08:00
lllyasviel
ac8002d2a4 speed up lcm again 2023-11-12 09:12:09 -08:00
lllyasviel
4fe08161a5 2.1.782
2.1.782
2023-11-11 01:43:01 -08:00
lllyasviel
a6ac4604cd remove unused codes 2023-10-25 11:18:16 -07:00
lllyasviel
38e70cebcc Update Backend
Update Backend
2023-10-25 09:40:13 -07:00
lllyasviel
43bc2df328 revise math 2023-10-22 12:09:24 -07:00
lllyasviel
576aa9283f ling 2023-10-22 08:28:25 -07:00
lllyasviel
4c94f0f590 reproduce previous results 2023-10-22 08:08:36 -07:00
lllyasviel
4cf0c778da fix potential numerical problems 2023-10-22 07:30:30 -07:00
lllyasviel
566cf08750 fix 2023-10-22 06:32:02 -07:00
lllyasviel
7d81eeed7e revise noise formulation
revise noise formulation
2023-10-22 06:02:35 -07:00
lllyasviel
cb950bd247 additive noise
additive noise
2023-10-22 04:04:23 -07:00
lllyasviel
dde311639e Avoid artifacts 2023-10-21 17:39:53 -07:00
lllyasviel
736a5aa3ac improve anime
Improve Fooocus Anime a bit by using better SD1.5 refining formulation.
2023-10-21 17:11:55 -07:00
lllyasviel
296b1da278 ling 2023-10-19 00:17:17 -07:00
lllyasviel
906dfa1331 ling
ling
2023-10-18 23:54:40 -07:00
lllyasviel
9660daff94
fix many inpaint bugs (#731)
fix many inpaint bugs
2023-10-18 06:22:08 -07:00
lllyasviel
c79d653e49 Fooocus GitHub Bot Commit
This commit is generated by a GitHub bot of Fooocus
2023-10-17 21:18:50 -07:00
lvmin
4b6082bca9 correct noise sigmas 2023-10-14 20:05:32 -07:00
lvmin
138d461982 revise code 2023-10-14 06:24:41 -07:00
lvmin
cdf22b8ccc revise code 2023-10-14 06:23:29 -07:00
lvmin
b3d662054f using global sigmas for better results 2023-10-14 06:06:34 -07:00
lvmin
79b1a605a7 fix vae 2023-10-14 04:39:56 -07:00
lvmin
739a8a592a avoid vae denoise problem 2023-10-13 06:31:38 -07:00
lllyasviel
3b9266e848
better sigmas for sd1.5 as refiner 2023-10-12 18:31:42 -07:00
lllyasviel
e61aac34ca
sync (#658) 2023-10-12 04:23:10 -07:00
lllyasviel
132afcc2a2
rework refiner
rework refiner
2023-10-11 23:44:40 -07:00
lllyasviel
5e6b27a680
fix
fix
2023-10-11 03:33:28 -07:00
lllyasviel
bbdf4bd120
rework refiner for some potential new features (#642)
* sync

* sync

* sync

* sync

* sync

* sync

* sync

* sync

* sync

* sync

* sync

* sync

* sync

* sync

* sync

* sync

* sync

* sync

* sync

* sync

* sync

* sync

* sync

* sync
2023-10-11 03:07:43 -07:00
lllyasviel
f92b8038b4
add config (#619)
* add config

* add config

* add config

* add config

* add config

* add config

* add config

* add config
2023-10-10 00:23:39 -07:00
lllyasviel
6faaac333b
i (#559) 2023-10-07 22:54:04 -07:00
lllyasviel
ba58dbc8bc
speed up again (#527) 2023-10-03 17:14:38 -07:00
lllyasviel
6c56b580d7
dev tool (#526) 2023-10-03 16:08:06 -07:00
lllyasviel
80632d5eb3
Update default_pipeline.py (#525) 2023-10-03 15:30:49 -07:00
lllyasviel
bbae307ef2
2.0.80 (#520)
* Rework many patches and some UI details.
* Speed up processing.
* Move Colab to independent branch.
* Implemented CFG Scale and TSNR correction when CFG is bigger than 10.
* Implemented Developer Mode with more options to debug.
2023-10-03 10:36:42 -07:00
lllyasviel
e485f7b242
i (#438) 2023-09-19 12:24:07 -07:00
lllyasviel
0927445492
use fooocus inpaint control model (#429)
use fooocus inpaint control model (#429)
2023-09-19 04:52:22 -07:00
lllyasviel
b61642ecba
[Fooocus 2.0.60] Fooocus Inpaint or Outpaint (Midjourney Left/Right/Top/Bottom) (#402)
[Fooocus 2.0.60] Fooocus Inpaint or Outpaint (Midjourney Left/Right/Top/Bottom) (#402)
2023-09-18 01:16:07 -07:00
lllyasviel
8ef31d33af
[Fooocus 2.0.50] Variation/Upscale (Midjourney Toolbar) (#389) 2023-09-16 03:29:41 -07:00
lllyasviel
cf7cde08b1
try fix colab with virtual ram (#378)
try fix colab with virtual ram (#378)
2023-09-15 01:24:07 -07:00
lllyasviel
b5b4fd27f1
try fix colab (#377) 2023-09-14 21:37:29 -07:00
lllyasviel
a9b7219604
try fix lora vram (#357)
* try fix lora vram

* try fix lora vram
2023-09-13 02:29:43 -07:00
lllyasviel
47876aaf99
[Major Update] Fooocus 2.0.0 (#346)
[Major Update] Fooocus 2.0.0 (#346)
2023-09-11 23:10:45 -07:00
lvmin
d50714b261 suffix mode 2023-09-10 17:48:03 -07:00
lllyasviel
496766edd7
Fooocus Prompt Expansion (#329)
* add vae approx download

* files

* files

* files

* i

* i

* i

* i

* i

* i

* i

* i

* i

* i
2023-09-09 17:22:32 -07:00