Commit Graph

766 Commits

Author SHA1 Message Date
Manuel Schmid 92684132b5
clean up model download URL query parameters 2024-01-10 11:00:39 +01:00
Manuel Schmid 0299d04856
Merge branch 'hotfix/rename-preview-images'
# Conflicts:
#	css/style.css
#	javascript/script.js
#	modules/ui_gradio_extensions.py
2024-01-09 14:33:02 +01:00
Chris Rohrer f298ebca76
feat: adds preview overlay for styles (#1762)
* feat: adds preview overlay for styles

* fix: implement correct path resolution for all OS

solves issues for Windows

* fix: makes preview overlay also work with other languages

* feat: scale down images to 258x200, fix aspect ratio in css

reduces file size from 19,6MB to 3,4MB

* fix: adjust z-index to correctly overlay gradio border pulse when generating images

* update files

* version

---------

Co-authored-by: Manuel Schmid <9307310+mashb1t@users.noreply.github.com>
Co-authored-by: Manuel Schmid <manuel.schmid@odt.net>
Co-authored-by: lllyasviel <lyuminzhang@outlook.com>
2024-01-07 15:10:42 -08:00
Manuel Schmid 21bceb6d51
Merge branch 'feature/update-juggernaut-xl-to-v8' 2024-01-07 16:18:58 +01:00
Manuel Schmid 896fbc6185
feat: update JuggernautXL from v6 to v8 2024-01-07 15:47:07 +01:00
Manuel Schmid 80b4c5d615
Merge branch 'hotfix/fix-file-sort' 2024-01-07 14:41:09 +01:00
Manuel Schmid 74eec84a61
fix: correctly sort files, display deepest dir level first 2024-01-07 14:28:12 +01:00
Manuel Schmid 2e16b0faa4
Merge remote-tracking branch 'origin/hotfix/prevent-skipping-and-stopping-by-other-users'
# Conflicts:
#	modules/async_worker.py
2024-01-05 22:59:09 +01:00
Manuel Schmid 7a01c8a5b2
Merge branch 'crohrer_main' 2024-01-05 20:18:19 +01:00
Manuel Schmid 6d6b4dbd85
fix: implement correct path resolution for all OS
solves issues for Windows
2024-01-05 20:06:43 +01:00
Manuel Schmid acffc6427c
Merge branch 'crohrer_main' 2024-01-05 17:07:02 +01:00
Chris Rohrer a196a648ff feat: adds preview overlay for styles 2024-01-05 16:56:05 +01:00
Manuel Schmid e68c8aa0a7
Merge branch 'main_upstream' into hotfix/prevent-skipping-and-stopping-by-other-users
# Conflicts:
#	webui.py
2024-01-04 18:07:06 +01:00
Manuel Schmid ee3d70ab87
fix: replace fcbh with ldm_patched 2024-01-04 18:03:12 +01:00
Manuel Schmid 925ba509f7
Merge branch 'main_upstream'
# Conflicts:
#	modules/advanced_parameters.py
2024-01-02 18:00:26 +01:00
lllyasviel e5af760db8 mask upload 2024-01-02 08:21:50 -08:00
xhoxye b5163e057f
Fooocus mask enhance, mask upload and invert.蒙版增强功能,上传蒙版、反转手涂蒙版 (#1645)
* Update webui.py

Added a mask upload interface.添加蒙版上传界面。

* Add mask upload feature

Add mask upload feature.添加蒙版上传功能。

* Add mask upload feature

Add mask upload feature.添加蒙版上传功能。

* Try to fix the problem when drawing mates with external enrichment.

Swap the judgment criteria and try to fix the problem when drawing mates with external enrichment.
调换判断条件,尝试修复和外部扩充绘制配合时出现的问题

* 修改注释

* 修改注释

* Update readme.md

更新日志

* Add mask upload check box,

Add check box, default does not show mask upload box, check it and then show it.
添加复选框,默认不显示蒙版上传框,勾选后再显示。

* back to normal

还原

* Try adding a mask inversion feature

Try adding a mask inversion feature.
尝试添加蒙版反转功能。
增加一个复选框来决定是否将蒙版反转。

* Try adding a mask inversion feature

Try adding a mask inversion feature.
尝试添加蒙版反转功能。
增加一个复选框来决定是否将蒙版反转。

* Fixed word errors

* Fix the words of the description
2024-01-02 07:17:02 -08:00
Manuel Schmid 1c42ceadbb
Merge branch 'bugfix/fix-create-dir-if-not-existing'
# Conflicts:
#	modules/config.py
2023-12-31 00:10:38 +01:00
Manuel Schmid 917c422ec6
correctly create directory for outputs if not existing 2023-12-30 19:05:59 +01:00
lllyasviel 8e62a72a63
(requested) support AMD 8GB GPUs via Windows DirectML
this update is requested by users
2023-12-30 06:30:59 -08:00
Manuel Schmid c7a5638f54
Merge remote-tracking branch 'upstream/main'
# Conflicts:
#	webui.py
2023-12-30 14:40:49 +01:00
lllyasviel 2f6ebbf876 some fix for previous PRs 2023-12-28 08:07:43 -08:00
御坂IO ad158450e3
fix to_clipboard from non-localhost access (#1576)
tested on edge(windows&android)
2023-12-28 07:54:59 -08:00
Manuel Schmid 48b1324a26
add default_max_image_number to config, use as maximum in default_image_number (#1616) 2023-12-28 07:48:30 -08:00
Manuel Schmid 0ab7dd0ce0
Merge branch 'main_upstream' into hotfix/prevent-skipping-and-stopping-by-other-users 2023-12-27 18:43:59 +01:00
Manuel Schmid 8a2141c9fc
Merge branch 'main_upstream' into feature/add-nsfw-filter 2023-12-27 18:41:56 +01:00
Manuel Schmid 82f82e7941
remove restriction for maximum default_max_image_number value 2023-12-27 17:16:20 +01:00
Manuel Schmid 91be48c596
code cleanup 2023-12-25 00:07:14 +01:00
Manuel Schmid 3ba59df559
add default_overwrite_step handling for meta data and gradio
allows turbo preset switching to set default_overwrite_step correctly
2023-12-24 23:31:46 +01:00
Manuel Schmid 1e0f95c6cf
Merge branch 'feature/add-preset-selection' 2023-12-24 13:13:49 +01:00
Manuel Schmid e72850de70
download missing models from preset 2023-12-24 13:09:20 +01:00
Manuel Schmid 2e23e2b7b1
code cleanup 2023-12-24 11:53:06 +01:00
Manuel Schmid f1bee4b103
add special handling for default_styles and default_aspect_ratio 2023-12-24 11:25:07 +01:00
Manuel Schmid 2fe48ab293
Merge branch 'feature/add-preset-selection'
# Conflicts:
#	webui.py
2023-12-23 23:27:35 +01:00
Manuel Schmid ccfd4f5094
add preset refresh on "Refresh All Files" click 2023-12-23 22:17:46 +01:00
Manuel Schmid 2770a40dc1
use default config as fallback value 2023-12-23 21:38:22 +01:00
Manuel Schmid 891a1acb62
add LoRA handling 2023-12-23 19:57:56 +01:00
Manuel Schmid f56e3eb3b0
add preset selection
uses meta parsing to set presets in user session (UI elements only)
2023-12-23 19:30:49 +01:00
Manuel Schmid fc909a3a28
Merge branch 'main_upstream' 2023-12-23 16:40:20 +01:00
lllyasviel 7b5bced6c2
small url fix (#1551) 2023-12-22 00:20:09 -08:00
lllyasviel 81107298a8
minor fix (#1532) 2023-12-20 19:58:53 -08:00
lllyasviel f7bb578a14
2.1.854
* Add a button to copy parameters to clipboard in log.
* Allow users to load parameters directly by pasting parameters to prompt.
2023-12-20 19:52:38 -08:00
Manuel Schmid a5ed897e21
Merge branch 'main_upstream' 2023-12-20 18:11:07 +01:00
lllyasviel f308489440
Add Marc K3nt3L's styles
Thanks Marc K3nt3L !
2023-12-18 19:01:52 -08:00
Huy Nguyen 7a6b46f363
New Log System 2023-12-17 20:20:02 -08:00
lllyasviel 0e1aa8d084
better caster (#1480)
related to mps/rocm/cpu casting for fp16 and etc on clip
2023-12-17 17:09:15 -08:00
lllyasviel 1669370d2e
Refactor CLIP Vision 2023-12-17 00:13:51 -08:00
lllyasviel 67808d5ee5
fix all precision issues
We fixed number precision issues again. Now 2.1.849 will give 100% exactly same results as 2.1.824.
2023-12-16 19:54:05 -08:00
lllyasviel efb312d495
fix autocast (#1459) 2023-12-16 17:16:24 -08:00
lllyasviel 085bc3aeaa
revise caster 2023-12-16 16:58:46 -08:00
lllyasviel ec5dd950a2
Fix many precision problems
Many users reported that image quality is different from 2.1.824. We reviewed all codes and fixed several precision problems in 2.1.846.
2023-12-16 15:55:53 -08:00
Manuel Schmid f47c57a2e5
Merge branch 'feature/add-nsfw-filter'
# Conflicts:
#	modules/advanced_parameters.py
#	webui.py
2023-12-16 23:01:55 +01:00
Manuel Schmid e97008d4fb
add checkbox black_out_nsfw
makes both enabling via config and checkbox possible, where config overrides the checkbox value
2023-12-16 22:55:25 +01:00
Manuel Schmid cc9f3d6c71
Merge branch 'feature/add-nsfw-filter'
# Conflicts:
#	modules/async_worker.py
#	modules/censor.py
#	modules/config.py
2023-12-16 19:39:19 +01:00
Manuel Schmid cdaaec3e71
use config to set cache dir for safety checker 2023-12-16 19:25:02 +01:00
Manuel Schmid 6ea37bec93
Merge branch 'main_upstream' 2023-12-16 16:17:37 +01:00
lllyasviel 179bcb2c4e
Fix inpaint device problem in `--always-gpu` mode. (#1420)
2.1.841
2023-12-14 19:15:16 -08:00
Manuel Schmid 1f9d9999db
Merge remote-tracking branch 'upstream/main' 2023-12-14 23:01:49 +01:00
Manuel Schmid 5496ec41a8
Merge remote-tracking branch 'upstream/main' into hotfix/prevent-skipping-and-stopping-by-other-users
# Conflicts:
#	modules/async_worker.py
#	webui.py
2023-12-14 22:58:12 +01:00
lllyasviel 323af5667a
2.1.840
* Fix some potential frozen after model mismatch
* Fix crash when cfg=1 when using anime preset
* Added some guidelines for troubleshoot the "CUDA kernel errors asynchronously" problem
2023-12-14 13:55:49 -08:00
Manuel Schmid ea764855f8
Merge remote-tracking branch 'upstream/main' into feature/add-nsfw-filter
# Conflicts:
#	modules/async_worker.py
#	modules/config.py
2023-12-14 22:55:45 +01:00
Manuel Schmid 07fba58c99
Merge remote-tracking branch 'upstream/main'
# Conflicts:
#	modules/async_worker.py
#	requirements_versions.txt
#	webui.py
2023-12-14 22:49:29 +01:00
lllyasviel 5b99e3a1e4
2.1.839 2023-12-13 21:14:50 -08:00
lllyasviel df615d3781 fix some precision problems 2023-12-13 13:05:33 -08:00
lllyasviel f8e651a483 [2.1.831] Fooocus Describe 2023-12-12 19:34:18 -08:00
lllyasviel 9c3fb90df3 try fix cpu tree 2023-12-12 14:14:30 -08:00
lllyasviel 47441736ae maintain 2023-12-12 13:44:16 -08:00
AlexL 9cd3c06c6f
Make a simple table in html log output (#1286) 2023-12-12 13:33:28 -08:00
lllyasviel e8d88d3e25 2.1.826 2023-12-12 11:38:05 -08:00
Manuel Schmid 96523e9397
fix config mapping for default_performance 2023-12-05 23:57:50 +01:00
Manuel Schmid 92a54cff22
Merge branch 'feature/add-prompt-translate' 2023-11-26 11:23:38 +01:00
Manuel Schmid 8718e80dc2
move import as it checks for users ip and geolocation
Only metadata of users who specifically activated the prompt translate checkbox should be requested.
This also prevented users with adblockers on DNS level from being able to generate images, now fixed.
2023-11-26 11:23:02 +01:00
Manuel Schmid 298a807a1b Merge branch 'feature/add-prompt-translate'
# Conflicts:
#	requirements_versions.txt
#	webui.py
2023-11-26 00:14:12 +01:00
Manuel Schmid 25c3184ddc move prompt translation to async_worker 2023-11-25 23:26:29 +01:00
Manuel Schmid eeb1013638 use separate module for translator 2023-11-25 23:21:09 +01:00
Manuel Schmid 823939cd5a Merge remote-tracking branch 'upstream/main' 2023-11-25 22:20:05 +01:00
Manuel Schmid 81f1ddb6c4 deactivate global / file style sorter 2023-11-25 21:19:09 +01:00
oivasenk ec57c1fde0
Update private_logger.py (#1025)
Minor optimization of logs. Added lazy loading of images.
2023-11-24 01:31:20 -08:00
lllyasviel 3bc9ac88fd maintain 2023-11-23 13:46:50 -08:00
Manuel Schmid 44c6ddb731 disable intermediate results on LCM sampler
prevents image result clogging due to LCM being so fast
2023-11-23 00:34:08 +01:00
Manuel Schmid 99f7b6e6d4
Merge branch 'feature/add-advanced-parameter-disable-intermediate-images' 2023-11-22 23:44:18 +01:00
Manuel Schmid 87e312e683
add advanced parameter for disable_intermediate_results
prevents gradio frontend process from clogging image output and updates in high throughput scenarios such as LCM with image number >= 4
2023-11-22 23:42:25 +01:00
Manuel Schmid b1f79a4b44 move nsfw filter to core module, make preview hiding more effective 2023-11-22 23:22:55 +01:00
Manuel Schmid 87fc830981 add steps info to performance selection radio buttons 2023-11-22 22:17:24 +01:00
Manuel Schmid 0e7c42f6e8 Merge remote-tracking branch 'origin/hotfix/prevent-skipping-and-stopping-by-other-users' 2023-11-21 22:32:27 +01:00
Manuel Schmid d2e25400f7
Merge branch 'lllyasviel:main' into hotfix/prevent-skipping-and-stopping-by-other-users 2023-11-21 22:31:13 +01:00
lllyasviel bd4d40203c ling 2023-11-21 10:16:45 -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
Manuel Schmid a5f3e4af9b
Merge branch 'hotfix/prevent-skipping-and-stopping-by-other-users'
# Conflicts:
#	modules/config.py
2023-11-20 22:01:40 +01:00
Manuel Schmid 8acb2d7537
Merge branch 'main_upstream' into hotfix/prevent-skipping-and-stopping-by-other-users
# Conflicts:
#	webui.py
2023-11-20 22:00:08 +01:00
lllyasviel dececbd060
[2.1.822] New Inpaint System
See related documents for more details.
2023-11-19 17:37:22 -08:00
Manuel Schmid d7f9fe9732 Merge branch 'hotfix/prevent-skipping-and-stopping-by-other-users' 2023-11-19 23:30:29 +01:00
Manuel Schmid d2cc9a4fc8 reset last_stop when skipping for further processing 2023-11-19 23:30:18 +01:00
Manuel Schmid 9b680c51a8
Merge branch 'hotfix/prevent-skipping-and-stopping-by-other-users'
# Conflicts:
#	webui.py
2023-11-19 22:57:58 +01:00
Manuel Schmid ebad9ea976
introduce state for task skipping/stopping 2023-11-18 20:51:54 +01:00
Manuel Schmid 617255d040
use AsyncTask for last_stop handling instead of shared 2023-11-18 17:20:41 +01:00
Manuel Schmid 2e1e82941d
rebase changes of main for easier handling 2023-11-18 12:58:05 +01:00
Manuel Schmid 3dc69a5293
fix progressbar call for nsfw output 2023-11-18 12:17:06 +01:00
Manuel Schmid 6893c8dd48
Merge commit '8f9f020e8f90efb3787f0feb0e544539110e40ce' into feature/add-nsfw-filter
# Conflicts:
#	modules/async_worker.py
2023-11-18 12:03:09 +01:00
lllyasviel 675805960a
2.1.821
* New UI for LoRAs.
* Improved preset system: normalized preset keys and file names.
* Improved session system: now multiple users can use one Fooocus at the same time without seeing others' results.
* Improved some computation related to model precision.
* Improved config loading system with user-friendly prints.
2023-11-17 11:25:39 -08:00
lllyasviel 3b97e49dd8 --disable-image-log 2023-11-15 13:23:27 -08:00
Manuel Schmid 52ae346c9d
add nsfw image censoring
activatable via config, uses CompVis/stable-diffusion-safety-checker
2023-11-15 22:00:45 +01:00
lllyasviel 943098f8da Allow disabling preview in dev tools. 2023-11-15 11:23:43 -08:00
lllyasviel cf2c89c288 Fix bug when the weight is exactly one. 2023-11-15 10:07:15 -08:00
lllyasviel 166bb98333 add some unused presets 2023-11-15 08:40:06 -08:00
lllyasviel ab528b78cf --theme 2023-11-15 08:22:24 -08:00
lllyasviel eae0b71ff9 Update config.py 2023-11-15 02:45:56 -08:00
lllyasviel 3a9c3c07d1 multiple loras in preset 2023-11-15 02:41:49 -08:00
lllyasviel a662567f6c fix #936 2023-11-15 02:25:49 -08:00
lllyasviel 8c49bb1cba Add previously removed preset 2023-11-15 02:19:20 -08:00
lllyasviel 8f23e2e969 Allow preset to set default inpaint engine. 2023-11-15 01:55:02 -08:00
lllyasviel cbe66fd5e0 2.1.812 2023-11-15 01:49:01 -08:00
lllyasviel a9bd188555 github bot update + heunpp2 2023-11-15 01:36:14 -08:00
lllyasviel 861c8d38df 810 2023-11-15 01:22:37 -08:00
lllyasviel 6769ab0f9b js 2023-11-14 23:52:35 -08:00
lllyasviel 97a6e87d18 fix some sorting problem 2023-11-14 23:36:58 -08:00
lllyasviel cec0c2a8df
2.1.808
* Aspect ratios now show aspect ratios.
* Added style search.
* Added style sorting/ordering/favorites.
2023-11-14 14:06:12 -08:00
lllyasviel 5158463216 js 2023-11-13 23:44:15 -08:00
lllyasviel 305c39d49c alter number 2023-11-13 23:06:31 -08:00
lllyasviel c9a5e729d9 fix #938 2023-11-13 22:57:35 -08:00
lllyasviel 6c812b68db add preprocessor skip 2023-11-13 14:35:23 -08:00
lllyasviel d3d63d5bf6 2.1.802
Default inpaint engine changed to v2.6. You can still use inpaint engine v1 in dev tools.
Fix some VRAM problems.
2023-11-13 04:37:25 -08:00
lllyasviel 7e222cf3e1 Fooocus GitHub Bot Commit
This commit is generated by a GitHub bot of Fooocus
2023-11-12 13:12:03 -08:00
lllyasviel ac8002d2a4 speed up lcm again 2023-11-12 09:12:09 -08:00
lllyasviel 649f45a6df 'Extreme Speed' performance mode 2023-11-12 07:55:44 -08:00
lllyasviel 54f4b265e0 lcm scheduler 2023-11-12 06:44:44 -08:00
lllyasviel e6aeefd2b4 only load libs when necessary 2023-11-12 02:16:11 -08:00
lllyasviel e7fe1d443a only load libs when necessary 2023-11-12 02:10:48 -08:00
lllyasviel 7e0c6d3421 add some javascripts
add some javascripts
2023-11-12 01:52:37 -08:00
lllyasviel 2bef62c545
2.1.790
2.1.790
2023-11-11 22:13:13 -08:00
lllyasviel 3d180e9eb6 inpaint engine v2.6 2023-11-11 09:47:54 -08:00
lllyasviel 09f70de40e fix math 2023-11-11 09:03:03 -08:00
lllyasviel 316ac6fafa new config 2023-11-11 07:45:07 -08:00
lllyasviel e17bbdbf5f less verbose 2023-11-11 02:39:34 -08:00
lllyasviel c35321013a better html log 2023-11-11 02:28:09 -08:00
lllyasviel 4fe08161a5 2.1.782
2.1.782
2023-11-11 01:43:01 -08:00
lllyasviel a9bb1079cf disable refiner when same as base 2023-11-08 23:39:57 -08:00
lllyasviel 2165114876 disable image grid
disable image grid by default because many users reports performance issues. like #829 and so on.
2023-11-05 19:09:20 -08:00
lllyasviel 87de9edb1a Support Ctrl+Up/Down Arrow 2023-11-05 04:51:46 -08:00
lllyasviel 49f47a6f5e try fix #849 2023-11-05 03:44:18 -08:00
lllyasviel 51d87ce00b license 2023-11-01 22:43:43 -07:00
lllyasviel c62fc6e1bc speedup 2023-11-01 15:55:59 -07:00
lllyasviel 7d532b0285 add words to tokenizer
thank you, GPT-4
2023-11-01 15:43:49 -07:00
lllyasviel 01bfa11fd1 minor revision
Now the GPT will try to (1) use more aligned formatting of commas, (2) a bit more dynamic in word choice, (3) avoid duplication like “detail, detail, detail, detail”
2023-11-01 12:58:34 -07:00
lllyasviel 5dc1221c65 maintain gpt 2023-10-31 14:41:18 -07:00
lllyasviel f07e64b357 remove unused codes 2023-10-31 13:20:34 -07:00
lllyasviel f30e71ad64 maintain gpt
maintain gpt
2023-10-31 12:32:02 -07:00
lllyasviel 1b96d3ba0b
Solve all GPT problems forever 2023-10-30 21:17:38 -07:00
lllyasviel 34bcfa79c0
improve gpt2
improve gpt2
2023-10-30 16:40:50 -07:00
lllyasviel d8616fe8dc
edit gpt list
edit gpt list
2023-10-30 13:50:46 -07:00
lllyasviel c697826f9f Update expansion.py 2023-10-30 12:38:13 -07:00
lllyasviel efcd4837ce Update expansion.py 2023-10-30 12:34:14 -07:00
lllyasviel 1d16b942b3 gpt minor fix 2023-10-30 12:26:35 -07:00
lllyasviel 867402e3df try fix #815 2023-10-29 22:03:59 -07:00
lllyasviel 759bfadefa fix async load order + image wall 2023-10-28 23:03:35 -07:00
lllyasviel 76120e045e update model list
Note that this only influence new users with new downloads
Previous users will not be forced to download new files, because this is not friendly and should be avoided.
delete user_path_config.txt to receive this new list
2023-10-28 16:20:11 -07:00
lllyasviel f07f7693d3 fix refiner 2023-10-26 19:42:50 -07:00
lllyasviel 4607316c2f get each image during generating
get each image during generating
2023-10-26 17:17:05 -07:00
lllyasviel 9982d34b6c safer deep copy 2023-10-26 10:29:30 -07:00
lllyasviel a16b451fd7
adjust context length (#795)
* adjust context length

* Update sdxl_styles_fooocus.json
2023-10-26 09:51:10 -07:00
lllyasviel 823fa924d3 disable expansion when empty since it is not meaningful and influences image prompt
disable expansion when empty since it is not meaningful and influences image prompt
2023-10-26 08:59:49 -07:00
lllyasviel d7ee814579 disable expansion when empty since it is not meaningful and influences image prompt 2023-10-26 08:51:53 -07:00
lllyasviel 175f3e3040 update backend + revise styles
update backend + revise styles
2023-10-26 08:24:45 -07:00
lllyasviel 214c2ba04c fix resize 2023-10-25 21:02:55 -07:00
lllyasviel 959f965b77 improve gpt2
improve gpt2
2023-10-25 17:03:49 -07:00
lllyasviel 01b1e98d37 Update Styles
Update Styles
2023-10-25 14:29:46 -07: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
MoonRide303 19a03f1d0a Blocked remote access to auth.json 2023-10-24 21:55:29 +02:00
lllyasviel 5d32c208b2 remove unused codes 2023-10-24 11:38:03 -07:00
MoonRide303 fbbaf86232 Added support for authentication in --share mode (via auth.json) 2023-10-24 18:29:37 +02:00
MoonRide303 523aa190db Refactored handling max random seed 2023-10-24 12:15:43 +02:00
lllyasviel 10a9f0fc9d try fix some mps problems 2023-10-23 20:19:24 -07:00
lllyasviel 60cb91c406 allow ar config 2023-10-23 19:42:23 -07:00
lllyasviel 504e5478b0 remove unused/unstable codes 2023-10-23 15:09:24 -07:00
lllyasviel 0b90fd9e8e Revert "fix autocast in less aggressive way"
This reverts commit 7a6775acdc.
2023-10-23 14:22:35 -07:00
lllyasviel 7a6775acdc fix autocast in less aggressive way 2023-10-23 14:15:20 -07:00
lllyasviel 47281e52c4 Fixed many autocast problems. 2023-10-23 13:07:55 -07:00
lllyasviel 1272d50d35 fix math 2023-10-23 06:40:18 -07:00
MoonRide303 81650a4305 Increased allowed random seed range 2023-10-23 12:27:12 +02:00
lllyasviel 43bc2df328 revise math 2023-10-22 12:09:24 -07:00
lllyasviel 6f3fa4b670 remove unused codes 2023-10-22 09:00:16 -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 adf134d446 100% cover all texts
100% cover all texts
2023-10-20 17:28:33 -07:00
lllyasviel 65190b4a68 fix 2023-10-20 16:28:51 -07:00
lllyasviel 650f32b920 more keys 2023-10-20 16:24:42 -07:00
lllyasviel 4479fbaaef Added language/en.json to make translation easier.
Added language/en.json to make translation easier.
2023-10-20 16:19:48 -07:00
lllyasviel df93f738de finally solve wide image inpaint UI problem, curse gradio 2023-10-20 10:44:02 -07:00
lllyasviel 9183cc0c71 I18N
I18N
2023-10-20 07:33:11 -07:00
MoonRide303 02282ab57a Corrected handling dash in wildcard names, more wildcards (extended-color) 2023-10-20 15:56:09 +02:00
lllyasviel 849dafb95b fix 2023-10-20 05:20:42 -07:00
lllyasviel d4a9b116e4 fix log for multiple-line prompts 2023-10-20 05:15:49 -07:00
lllyasviel ff8d649cac bfs for wildcard 2023-10-20 05:05:29 -07:00
lllyasviel 04066124c2 fix many resolution problems 2023-10-20 02:41:04 -07:00
MoonRide303 37da4ac13a Cleaned up Private Log (most users won't need information about raw prompts) 2023-10-20 11:07:23 +02:00
MoonRide303 48d2fb85f9 Added more information about prompts in Private Log, made wildcards in negative prompt use different seed 2023-10-20 10:08:14 +02:00
MoonRide303 6d76c55964 Added information about wildcards usage in console log 2023-10-20 09:28:23 +02:00
MoonRide303 59b32e9dec Allowed changing default values of advanced checkbox and image number 2023-10-19 23:04:10 +02:00
lllyasviel f553d0fb18 Fooocus GitHub Bot Commit
This commit is generated by a GitHub bot of Fooocus
2023-10-19 06:32:38 -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
MoonRide303 c0b4e766fb Corrected reading empty negative prompt from config (it shouldn't turn into None) 2023-10-18 12:23:12 +02:00
MoonRide303 9532d167f8 Updated FreeU node to v2 (gives less overcooked results) 2023-10-18 09:53:43 +02:00
lllyasviel c751758016 Fooocus GitHub Bot Commit
This commit is generated by a GitHub bot of Fooocus
2023-10-18 00:30:39 -07:00
lllyasviel e5f614c14e disable memory 2023-10-17 23:56:20 -07:00
MoonRide303 02eadff97a Added support for loading model files from subfolders 2023-10-18 08:47:39 +02:00
lllyasviel 1374481b59 ling 2023-10-17 23:23:38 -07:00
MoonRide303 4dc3bd8b67 Improved wildcards implementation (using same wildcard multiple times will now return different values) 2023-10-18 08:12:52 +02:00
lllyasviel 99435762e6 emergency vram fix of control-lora
emergency vram fix of control-lora
2023-10-17 22:51:51 -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
lllyasviel 5e3728c839 put user styles on top + wild card seed 2023-10-17 01:42:51 -07:00
lllyasviel 9ec2f66fbe ling 2023-10-17 00:37:02 -07:00
lllyasviel e3ac360396 ling 2023-10-17 00:10:32 -07:00
lllyasviel ef4e120d0a ling 2023-10-16 23:57:58 -07:00
lllyasviel 32ff981075 fix 2023-10-16 23:50:23 -07:00
MoonRide303 eb72b16da0 Added support for wildcards 2023-10-17 07:54:04 +02:00
lllyasviel 64163cf174 change style order
mre styles seem more useful
2023-10-16 21:31:11 -07:00
MoonRide303 635b6fc1bc Added support for loading custom styles from JSON files 2023-10-16 18:54:47 +02:00
MoonRide303 20b13b6a8b Merged some MRE features (generate hotkey, generate forever, notification sound) 2023-10-16 11:10:02 +02:00
lvmin 050a3bc23a remove unused files 2023-10-15 17:59:32 -07:00
lvmin 9ee64514c8 file corruption checking system 2023-10-15 17:51:42 -07:00
lvmin a27ca7eabb file corruption checking system 2023-10-15 17:49:10 -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 a60615de61 remove unused codes 2023-10-14 06:10:20 -07:00
lvmin b3d662054f using global sigmas for better results 2023-10-14 06:06:34 -07:00
lvmin e27383c07f finally remove torchsde warning 2023-10-14 04:50:13 -07:00
lvmin 79b1a605a7 fix vae 2023-10-14 04:39:56 -07:00
lllyasviel f010dc6994
preset system (beta)
preset system
2023-10-13 17:37:49 -07:00
lvmin 9efa4ecd27 allow embeddings download 2023-10-13 14:21:43 -07:00
lllyasviel 2f6843da95
support embeddings (#675) 2023-10-13 14:16:13 -07:00
lvmin e4113d3231 ini preset 2023-10-13 06:43:12 -07:00
lvmin 7d4b635460 ini preset 2023-10-13 06:42:08 -07:00
lvmin 739a8a592a avoid vae denoise problem 2023-10-13 06:31:38 -07:00
lvmin 63820ff362 config 2023-10-13 05:28:42 -07:00
lvmin 80d80c5962 fix 2023-10-13 05:09:35 -07:00
lvmin 1d4c42842d fix 2023-10-13 05:06:07 -07:00
lvmin a252f75549 log 2023-10-13 05:02:20 -07:00
lvmin 10e2db67d6 log 2023-10-13 04:53:02 -07:00
lllyasviel c4118d2418
i (#664) 2023-10-12 18:55:33 -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 cac8af0928
sync (#656) 2023-10-12 02:56:19 -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 db945c8a27
history (#634)
* history

* history
2023-10-10 16:22:29 -07:00
lllyasviel ec3d211ab5
hq fix (#633) 2023-10-10 16:10:08 -07:00
lllyasviel 07a564b779
inpaint log (#632) 2023-10-10 15:28:29 -07:00
lllyasviel c24be3f886
inpaint 2.5 (#631) 2023-10-10 14:44:02 -07:00
lllyasviel a960d24825
better memory management (#629)
* better memory management

* better memory management
2023-10-10 13:44:01 -07:00
lllyasviel 1601af43be
better memory management (#628) 2023-10-10 13:27:31 -07:00
lllyasviel 53573fa073
fix auto_cast (#622) 2023-10-10 02:36:19 -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 c275434c59
add skip button (#616) 2023-10-09 20:02:03 -07:00
lllyasviel 0723c2fa52
add new Fooocus Inpaint Model V2 (#614) 2023-10-09 18:42:10 -07:00
lllyasviel 53967f23d0
change default to 0.5 (#605) 2023-10-09 13:20:57 -07:00
lllyasviel 1f8944b974
faster speed (#604) 2023-10-09 12:18:25 -07:00
lllyasviel 05d92ca50b
add more developer debug tools (#603)
* add more developer debug tools

* add more developer debug tools
2023-10-09 12:09:51 -07:00
lvmin 51b9bf5e7d fix lowvram 2023-10-08 16:39:55 -07:00
lvmin 8f370762cd fix log 2023-10-08 16:01:35 -07:00
lllyasviel d631cfe491
minor (#582) 2023-10-08 15:11:46 -07:00
lllyasviel e00b647eee
improve result quality of control (#581) 2023-10-08 14:33:16 -07:00
lllyasviel 9506714985
Update async_worker.py (#561) 2023-10-08 00:35:19 -07:00
lllyasviel f170e1c08e
some fix (#560)
* download upscaler only when user use it

* use better method
2023-10-08 00:28:03 -07:00
lllyasviel 6faaac333b
i (#559) 2023-10-07 22:54:04 -07:00
lllyasviel 927462e107
fix (#548) 2023-10-05 11:53:12 -07:00
lllyasviel 0f62757eff
fix (#547) 2023-10-05 11:30:32 -07:00
lllyasviel 6189e482bd
improve human eyes again by using crop adm rather than interpolate adm (#544)
and add an debug slider
2023-10-04 21:42:43 -07:00
lllyasviel aebfc56641
fix (#543)
* fix

* fix

* fix
2023-10-04 15:43:41 -07:00
lllyasviel 8bfc90202d
making debug easier (#542)
* making debug easier

* making debug easier
2023-10-04 15:15:41 -07:00
lllyasviel 00be37e2b8
use more recent way to write code (#541) 2023-10-04 14:53:10 -07:00
lllyasviel 4c0a16d9bc
fix pygit2 (#536) 2023-10-04 13:09:34 -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 480a7222c5
Improved the scheduling of ADM guidance and CFG mimicking for better visual quality in high frequency domain and small objects.
Improved the scheduling of ADM guidance and CFG mimicking for better visual quality in high frequency domain and small objects.
2023-10-03 14:05:14 -07:00
lllyasviel 2f31d9e5a7
fix (#521)
* fix

* fix
2023-10-03 10:59:53 -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 da40b0b461
better fomulation (#466) 2023-09-21 03:48:09 -07:00
lllyasviel 93ee4eabe3
fix loop (#465) 2023-09-21 03:04:27 -07:00
MoonRide303 726f684ff2 Added information about diffusion and total execution time (#463) 2023-09-21 10:54:09 +02:00
lllyasviel cdf642437c
bfloat16 vae (#456)
* bfloat16 vae

* bfloat16 vae

* bfloat16 vae
2023-09-20 08:16:20 -07:00
lllyasviel 6597b3df64
fix bugradio (#455) 2023-09-20 06:00:52 -07:00
lllyasviel 5456a5784b
related judgement (#454) 2023-09-20 04:28:22 -07:00
lllyasviel 65b9364170
fix gradio again again again (#453) 2023-09-20 04:12:19 -07:00
lllyasviel c9ec6e22ad
use correct masks (#452) 2023-09-20 03:25:29 -07:00
lllyasviel b89192162d
allow users to choose path of models (#446)
* allow users to choose path of models

* allow users to choose path of models

* allow users to choose path of models

* allow users to choose path of models

* allow users to choose path of models
2023-09-19 19:02:02 -07:00
lllyasviel 098d08cd22
fix gradio (#444) 2023-09-19 18:30:57 -07:00
lllyasviel b6752c74e3
minor fix (#443)
* minor fix

* minor fix
2023-09-19 18:04:36 -07:00
lllyasviel 969a54e85b
fix some unknown clip problem (#439) 2023-09-19 13:14:25 -07:00
lllyasviel e485f7b242
i (#438) 2023-09-19 12:24:07 -07:00
lllyasviel 32719e3ad1
fix vram problems (#437) 2023-09-19 12:11:41 -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 7b73152fe3
use a1111 emphasizing (#399) 2023-09-16 15:01:34 -07:00
lllyasviel ceee6dfd73
improve resolution handling (#396)
* improve resolution handling

* improve resolution handling

* improve resolution handling

* improve resolution handling
2023-09-16 13:21:35 -07:00
lllyasviel 6adc771888
fix fast upscale log (#395) 2023-09-16 04:49:02 -07:00
lllyasviel 8ef31d33af
[Fooocus 2.0.50] Variation/Upscale (Midjourney Toolbar) (#389) 2023-09-16 03:29:41 -07:00
lllyasviel 58c29aed00
minor cache (#387) 2023-09-15 15:46:44 -07:00
lllyasviel 8ef00d87b4
minor revise (#382)
* minor revise

* minor revise
2023-09-15 03:40:06 -07:00
lllyasviel d1b4389098
try fix mps (#381) 2023-09-15 01:52:12 -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
lvmin 917f284db1 set beam to 1 for balanced distrubution 2023-09-13 19:26:34 -07:00
lvmin db8748a34d fix do_sample bug 2023-09-13 18:56:28 -07:00
lvmin 0f58038d85 fix do_sample bug 2023-09-13 18:55:51 -07:00
lvmin 1964aec7f8 use SOTA sampling for GPT2 2023-09-13 18:33:14 -07:00
lvmin 1a088db0eb simplify 2023-09-13 18:11:21 -07:00
lvmin f7f548ff35 use SOTA sampling for GPT2 2023-09-13 18:10:17 -07:00
lvmin 0f09b61ce5 remove attention log 2023-09-13 17:28:25 -07:00
lllyasviel 2e543fb93f
try improve colab (#366)
* try improve colab

* try improve colab

* try improve colab

* try improve colab

* try improve colab

* try improve colab
2023-09-13 13:30:12 -07:00
lllyasviel e32f04da34
move expansion to managed device (#364)
* move expansion to managed device

* move expansion to managed device

* move expansion to managed device

* move expansion to managed device

* move expansion to managed device

* move expansion to managed device
2023-09-13 12:48:27 -07:00
lllyasviel 53beede21d
Revert "Revert "move text encoder to GPU (#360)" (#361)" (#363)
This reverts commit 28ce927586.
2023-09-13 11:33:31 -07:00
lllyasviel 28ce927586
Revert "move text encoder to GPU (#360)" (#361)
This reverts commit 7700276b50.
2023-09-13 04:55:22 -07:00
lllyasviel 7700276b50
move text encoder to GPU (#360) 2023-09-13 03:43:15 -07:00
lllyasviel e0f97b6fef
just no grad everything to prevent mistakes (#359)
* just no grad everything to prevent mistakes

* just no grad everything to prevent mistakes
2023-09-13 03:07:47 -07:00
lllyasviel 07ea52542e
try fix lora vram again (#358) 2023-09-13 02:39:12 -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 25fed6a4fe weight 2023-09-11 03:21:43 -07:00
lvmin 0f658a97f7 prompt expansion v2 2023-09-11 02:48:36 -07:00
lvmin e6557a4ded Temporarily disable some options 2023-09-11 02:17:23 -07:00
lvmin 9337ad5f5e Temporarily disable some options 2023-09-11 02:13:48 -07:00
lvmin fe766115a8 Temporarily disable some options 2023-09-11 02:06:40 -07:00
lvmin 14713eb95e fix oom 2023-09-10 22:08:55 -07:00
lvmin da03ec1e25 remove some unstable splits 2023-09-10 18:37:33 -07:00
lvmin d50714b261 suffix mode 2023-09-10 17:48:03 -07:00
lvmin a19c9ac132 remove some unstable splits 2023-09-10 12:48:04 -07:00
lvmin c4125c3b6b tune style and prompt balance 2023-09-10 12:45:54 -07:00
lvmin c585ef23c4 remove some unstable splits 2023-09-10 12:35:35 -07:00
lvmin 0d0456e492 remove some unstable splits 2023-09-10 12:24:50 -07:00
lvmin b5be8f3918 add more magic split 2023-09-10 12:19:02 -07:00
lvmin 6b444611ea add more magic split 2023-09-10 12:16:35 -07:00
lvmin 1d6d25e836 add more magic split 2023-09-10 12:07:09 -07:00
lvmin 5b111f09cc add logo 2023-09-10 12:03:25 -07:00
lvmin 7fd6fff123 add magic split 2023-09-10 11:49:52 -07:00
lvmin 7c1f0bd52d 1.0.56 magic split 2023-09-10 11:45:55 -07:00
lvmin 13f9daabe0 1.0.55 2023-09-10 11:45:21 -07:00
lvmin afc3407a44 typo 2023-09-10 11:23:08 -07:00
lvmin 74ae79fa2b comma is not better 2023-09-10 11:18:01 -07:00