Commit Graph

801 Commits

Author SHA1 Message Date
DenOfEquity
a5ede13277 update PhotoMaker2 Space revision (#2660)
newer version removes use of defunct resume_download parameter
2025-02-15 10:56:53 +00:00
DenOfEquity
a9e247eb2e birefnet Space: more models, video (#2648) 2025-02-12 18:50:49 +00:00
DenOfEquity
38fc48e7ee restore numpy import (#2646)
for Florence-2 space
2025-02-11 17:22:28 +00:00
Fuhze
de1670a4f7 Add prefix input option for batch captioning (Useful for models training) (#2640)
* Added a prefix input option for batch captioning
2025-02-10 21:27:18 +00:00
DenOfEquity
e21a6e15b6 birefnet update for HR model (#2629)
old model still available as an option
2025-02-07 21:30:05 +00:00
DenOfEquity
a2302538b0 Pag2025 (#2614)
bug fix + some useful options
2025-02-03 23:35:17 +00:00
DenOfEquity
f53307881b birefnet background removal - add batch (directory) processing (#2489)
main work by @nitinmukesh (https://github.com/lllyasviel/stable-diffusion-webui-forge/discussions/2458)
added options to always save as PNG and always save flat (apply mask instead of saving with mask channel)
fix for jpg/jpeg (no mask channel) (if not save flat, save as PNG)

Co-authored-by: nitinmukesh <nitinmukesh@users.noreply.github.com>
2024-12-22 21:22:21 +00:00
DenOfEquity
e073e4ec58 add batch captioning (directory based) (#2420)
optionally save captions to textfiles
optionally use -base model instead of -large
some smaller tweaks / spelling fixes
2024-12-10 11:19:20 +00:00
DenOfEquity
2e867aaf3a SAG - add check for hires CFG 1 (#2434) 2024-12-08 12:30:26 +00:00
DenOfEquity
85a7db3c0f SAG + Kohya HRFix: different method (#2304)
store shape after Kohya HRFix is applied, use it in SAG instead of trying to calculate. AFAICT, calculation can never be 100% correct due to rounding. Original method is tried first.
additional stored shape can be used by other extensions, e.g. Forge Couple, to enable compatibility with Kohya HRFix
2024-12-06 21:36:58 +00:00
DenOfEquity
b17d43f706 remove Florence-2 import patch (#2303)
no longer necessary after other updates,
and causes an error instead
2024-11-11 10:39:26 +00:00
DenOfEquity
a8de9ae70c SAG: try old mask reshape calculation first (#2294) 2024-11-09 13:28:49 +00:00
DenOfEquity
f10214e358 fix for SAG with Kohya HRFix (#2284)
rework blur map mask reshape: now works with arbitrary Kohya HRFix downscale factors
2024-11-08 15:48:18 +00:00
layerdiffusion
1b44ae22e3 revise space 2024-10-31 09:08:04 -07:00
DenOfEquity
ecd4d28e46 block some settings from extra_options for txt2img/img2img (#2218)
There are various negative effects if these settings are allowed in the extra options for txt2img or img2img. This PR removes them from the extra_options lists at load time.

'sd_model_checkpoint' and 'CLIP_stop_at_last_layers' will invisibly override main UI settings, leading to confusing behaviour
'sd_vae' doesn't seem harmful, but can create an empty block in the UI section
'forge_additional_modules' causes an error that prevents the UI from loading
2024-10-30 00:11:46 +00:00
licyk
b592142f3b fix multidiffusion integrated with controlnet (#2199) 2024-10-28 12:15:37 +00:00
DenOfEquity
a82d5d177c restore lora version filtering (#1885)
Added Flux to lora types in extra networks UI, so user can set.
Loras versioned first by user-set type, if any. Falls back to heuristics - these are much more reliable than the removed old A1111 tests and in case of no match default to Unknown (always displayed).
Filtering is done based on UI setting. 'all' setting does not filter. Filters lora lists on change.
Removed unused 'lora_hide_unknown_for_versions' setting.
2024-09-23 14:53:58 +01:00
DenOfEquity
bc0dece356 show neg prompt in lora tab (compact layout) (#1882) 2024-09-21 12:14:34 +01:00
Melyns
b20cb4bf0e temp fix for preprocessor_revision.py (#1860)
fix for #1420. Skip noise augmentation if model doesn't provide the method; allows Revision controlnet preprocessors to function.
2024-09-19 01:09:51 +01:00
DenOfEquity
c2c3decab2 SelfAttentionGuidance updates (#1725)
* SAG updates

* restore settings from infotext
* bypass if model is Flux (would error during generation)
* bypass if CFG == 1 (would error during generation)
* add control of blur mask threshold (previously hardcoded)
* change to InputAccordion

* forge_sag.py: update title
2024-09-08 21:09:55 +01:00
DenOfEquity
d1e403619d Add files via upload (#1689) 2024-09-05 19:20:21 +01:00
wcole3
05bdc3e44f Remove dtype field 2024-09-02 13:06:30 -04:00
wcole3
ef112ae8d2 Cleanup 2024-09-02 12:38:31 -04:00
wcole3
dee7a3c287 Use computation_dtype instead of storage_dtype 2024-09-02 12:23:17 -04:00
wcole3
350018eff5 Set controlllite module dtype to model dtype 2024-09-02 09:52:13 -04:00
DenOfEquity
2c907b24c9 fix for Batch Upload (gallery)
now needs to check for None
2024-08-31 21:52:10 +01:00
layerdiffusion
3b9b2f653e sapiens normal
- 100% reproduce all author results and demos
- 0.3b/0.6b/1b/2b models, all pass 2GB VRAM (powered by Forge backend memory system
- perfect memory management for quick shifting between other spaces or forge main UI
2024-08-30 17:34:30 -07:00
layerdiffusion
d1d0ec46aa Maintain patching related
1. fix several problems related to layerdiffuse not unloaded
2. fix several problems related to Fooocus inpaint
3. Slightly speed up on-the-fly LoRAs by precomputing them to computation dtype
2024-08-30 15:18:21 -07:00
layerdiffusion
c239200705 fix 2024-08-29 19:18:40 -07:00
DenOfEquity
ea6d03bde1 fix #258
fix longstanding bug with Dyn Cfg Augmentation and batch >= 2 (#258)
2024-08-29 00:45:52 +01:00
Lucas Freire Sangoi
d1121baf80 Adding Depth Anything v2 to ControlNet Integrated (#1519)
* Update install.py

adding install of depth anything v2

* Add files via upload

adding depth anything v2 preprocessor

* Update preprocessor_compiled.py

adding preprocessor

* Update preprocessor.py

adding preprocessor functions
2024-08-27 06:55:31 -07:00
Igor Aherne
4dc36268c2 bugfix: controlnet works in API - image no longer a dictionary (#1425)
Generating from browser works with controlnet.
Generating via API wasn't.
This is because from_dict() was making 'image' and 'mask_image' a dictionary.

In 'controlnet.py' function 'get_input_data' this would cause the following check to throw exception because used to be an incorrect type:

elif (unit_image < 5).all() and (unit_image_fg > 5).any():

Now, they are never a dictionary and check is fine
2024-08-22 21:50:33 -07:00
twarrendewit
f7ab23b1cb Variable-Strength StyleAlign (#1387)
* adding efficiency

* adding variable strength

* Revert "adding efficiency"

This reverts commit 6d0ad98c06.

* updating with 0 and 1 cases

---------

Co-authored-by: T. Warren de Wit <tww0007@uah.edu>
2024-08-22 12:52:41 -07:00
layerdiffusion
c1614e08c6 fix #1385 2024-08-21 22:08:07 -07:00
layerdiffusion
2b1e7366a7 Update requirements.txt 2024-08-21 03:31:24 -07:00
layerdiffusion
250ae27749 The First IDM-VTON that pass 4GB VRAM
100% reproduce official results
2024-08-20 21:30:47 -07:00
layerdiffusion
5452bc6ac3 All Forge Spaces Now Pass 4GB VRAM
and they all 100% reproduce author results
2024-08-20 08:01:10 -07:00
layerdiffusion
65ec461f8a revise space 2024-08-19 22:43:09 -07:00
layerdiffusion
95bc586547 geowizard 2024-08-19 00:27:21 -07:00
layerdiffusion
631a097d0b change Florence-2 default to base 2024-08-18 21:31:24 -07:00
layerdiffusion
ca2db770a9 ic light 2024-08-18 21:16:58 -07:00
layerdiffusion
4751d6646d Florence-2 2024-08-18 20:51:44 -07:00
layerdiffusion
1cbd13c85a Animagine XL 3.1 Official User Interface 2024-08-18 20:05:16 -07:00
layerdiffusion
da72cd6fab IllusionDiffusion 2024-08-18 03:27:44 -07:00
layerdiffusion
2292f9a100 Technically Correct PhotoMaker V2
that can actually reproduce author results, and be used in serious research and writing academic papers
2024-08-18 01:47:27 -07:00
layerdiffusion
72ab92f83e upload meta files 2024-08-18 00:12:53 -07:00
layerdiffusion
0ccbac5389 revise space logics 2024-08-18 00:04:02 -07:00
layerdiffusion
7df7ea3d6b fix birefnet commit 2024-08-17 08:38:31 -07:00
lllyasviel
93b40f355e Forge Space and BiRefNet 2024-08-17 08:29:08 -07:00
continue revolution
5fa8c6d414 remove basicsr (#1214) 2024-08-16 20:33:38 -07:00