75 Commits

Author SHA1 Message Date
cmdr2
3f03432580 Get the Controlnet filters from the backend, instead of hardcoding to sdkit 2024-10-17 11:23:52 +05:30
cmdr2
d8c3d7cf92
Merge pull request #1847 from easydiffusion/forge
ED 3.5 - Forge as a new backend
2024-10-12 12:52:16 +05:30
cmdr2
05cf4be89b Check for context attr 2024-10-11 12:05:29 +05:30
cmdr2
8bd5eb5ce4 Remove unnecessary patch for sdkit's model downloader. ED now handles both kinds of model folder names 2024-10-09 18:19:21 +05:30
cmdr2
78dcc7cb03 Bring back the earlier model scanning logic 2024-10-09 18:16:15 +05:30
cmdr2
b6ba782c35 Support both WebUI and ED folder names for models 2024-10-07 12:48:27 +05:30
cmdr2
754a5f5e52 Case-insensitive model directories 2024-10-01 13:55:35 +05:30
cmdr2
9a12a8618c First working version of dynamic backends, with Forge and ed_diffusers (v3) and ed_classic (v2). Does not auto-install Forge yet 2024-10-01 10:54:58 +05:30
cmdr2
5fe3acd44b
Use 1.4 by default, instead of 1.5 2024-09-09 18:34:32 +05:30
cmdr2
89f5e07619
Log the exception while trying to create an extension info file 2024-07-24 09:47:35 +05:30
d8ahazard
45f350239e
Don't break if we can't write a file 2024-07-23 17:56:35 -05:00
JeLuF
ea07483465 Error handling for models_dir 2023-09-01 22:54:03 +02:00
cmdr2
ab5450bb27 Don't download codeformer and controlnet if not being used 2023-08-30 14:39:43 +05:30
cmdr2
3792a1bc0d sdkit 2.0.4 - use sd 1.5 fp16 by default, if no model is present 2023-08-29 20:06:54 +05:30
cmdr2
f9f9aba92d f 2023-08-24 17:39:39 +05:30
cmdr2
3f278cf2ad Pick the right embedding even if it has an underscore 2023-08-24 17:36:49 +05:30
JeLuF
cb7ba96dad
Fix handling of embeddings with space in their name (#1402)
* Fix handling of files with space in their name

* Handle embeddings in save files

* Moved get_embedding_token

* Moved get_embedding_token

* Update save_utils.py
2023-08-24 16:32:17 +05:30
JeLuF
31edce4a60
Add ".pt" to the Lora extensions (#1518)
https://discord.com/channels/1014774730907209781/1014774732018683926/1144179143873929288

There seem to be ".pt" LORA files in the wild.
2023-08-24 16:09:42 +05:30
cmdr2
f2b441d9fc typo 2023-08-21 19:20:23 +05:30
cmdr2
41d4ad2096 sdkit 1.0.179 - tile controlnet 2023-08-21 14:29:54 +05:30
cmdr2
ac1c65fba1 Move the extraction logic for embeddings-from-prompt, from sdkit to ED's UI 2023-08-17 10:54:47 +05:30
cmdr2
9a528496a3 Reload the model if the path exists in the request but the model has been unloaded 2023-08-03 15:13:41 +05:30
cmdr2
ae34c9e84b Download known controlnet models if selected; Auto-pick the recommended controlnet model when a filter is selected 2023-08-01 17:39:04 +05:30
cmdr2
eba7bab15e Allow named models in the dropdown 2023-08-01 16:16:38 +05:30
cmdr2
ee6db85768 Initial support for Controlnet 2023-08-01 15:39:15 +05:30
cmdr2
e61549e0cd Mega refactor of the task processing and rendering logic; Split filter into a separate task, and add support for running filter tasks individually; Change the format for sending model and filter data from the API, but maintain backwards compatibility for now with the old API 2023-07-28 18:57:28 +05:30
cmdr2
959c1a196e Allow the UI to send (and resolve) multiple model paths 2023-07-15 12:09:20 +05:30
cmdr2
09f747a68e
Merge pull request #1362 from JeLuF/textualinv
Basic embeddings support
2023-07-09 22:03:22 +05:30
cmdr2
37e8158175 Improve responsiveness of UI startup by not waiting for render threads to start up before showing the UI. Errors while starting the render thread will be logged anyway, so there's no need to block the main thread for this 2023-07-08 23:28:47 +05:30
JeLuF
3dc62a8857 Basic embeddings support 2023-06-22 23:48:55 +02:00
cmdr2
9486c03a89 Don't use the default SD model (if the desired model was not found), unless the UI is starting up 2023-06-06 17:10:38 +05:30
cmdr2
c09512bf12 dead code 2023-06-06 16:57:25 +05:30
cmdr2
05c2de9450 Fail with an error if the desired model (non-Stable Diffusion) wasn't found 2023-06-06 16:56:37 +05:30
cmdr2
c72b287c82 Show a more helpful error message in the logs when the system runs out of RAM 2023-06-05 15:22:37 +05:30
cmdr2
a10aa92634 Fix a bug where the realesrgan model would get unloaded after the first request in a batch while using Codeformer with upscaling of faces 2023-06-05 15:08:57 +05:30
cmdr2
dd95df8f02 Refactor the default model download code, remove check_models.py, don't check in legacy paths since that's already migrated during initialization; Download CodeFormer's model only when it's used for the first time 2023-06-02 16:34:29 +05:30
cmdr2
0860e35d17 sdkit 1.0.101 - CodeFormer as an option to improve faces 2023-06-01 16:50:01 +05:30
cmdr2
3e90eafafb
Merge branch 'cf' into beta 2023-06-01 15:27:37 +05:30
cmdr2
8554b0eab2 Better reporting of model load errors - sends the report to the browser UI during the next image rendering task 2023-05-24 16:02:53 +05:30
cmdr2
2bab4341a3 Add 'Latent Upscaler' as an option in the upscaling dropdown 2023-05-23 16:53:53 +05:30
patriceac
a5a1d33589
Fix face restoration model selection 2023-05-21 18:32:48 -07:00
JeLuF
00603ce124 Add Clip Skip support 2023-05-18 13:55:45 +02:00
patriceac
a25364732b Support for CodeFormer
Depends on https://github.com/easydiffusion/sdkit/pull/34.
2023-05-17 02:04:20 -07:00
cmdr2
d18cefc519 Formatting 2023-04-28 16:38:55 +05:30
cmdr2
7fc2ed28b1
Merge pull request #1166 from JeLuF/not_yet
Don't save model_path if initial load fails
2023-04-18 16:34:12 +05:30
JeLuF
893b6d985c
Add "Start scanning..." to getModels()
Provide a hint to users what ED is currently using. 
Use case: User has built an infinite loop using symlinks, ED model scan will never finish.

https://discord.com/channels/1014774730907209781/1097764777553580092
2023-04-18 09:12:26 +02:00
JeLuF
1ba3a139d9 Don't save model_path if initial load fails
Fixes #882

If the load of the model fails during the initialization, an attempt to render an
image using the same model fails because ED doesn't notice that the model has to
be loaded. This PR ensures that the model is being reloaded if the initial load
fails. If the second load attempt fails as well, the user will get a more helpful
error message than 'model not loaded yet'.
2023-04-16 21:59:29 +02:00
JeLuF
4192f87d6b
Don't scan safetensors files in load_default_models() (#1155)
* Don't scan safetensors when loading them

* Don't scan safetensors files

* Update model_manager.py

---------

Co-authored-by: cmdr2 <shashank.shekhar.global@gmail.com>
2023-04-14 17:11:35 +05:30
cmdr2
8ba0b34853 Log the stack trace when the model fails to load 2023-04-11 15:13:41 +05:30
cmdr2
f8bc50871a sdkit 1.0.49; Use a test_diffusers flag to gate access to the new renderer and LoRA model selection 2023-03-21 17:59:20 +05:30