AUTOMATIC1111
d859cec696
infotext.py: rename usages in the codebase
2024-01-01 13:53:12 +03:00
AUTOMATIC1111
908fb4ea71
Merge pull request #14390 from wangqyqq/sdxl-inpaint
...
Supporting for SDXL-Inpaint Model
2023-12-30 14:49:52 +03:00
AUTOMATIC1111
a79890efd6
Merge pull request #14452 from AUTOMATIC1111/save-info-of-init-image
...
save info of init image
2023-12-30 14:41:39 +03:00
AUTOMATIC1111
bb07cb6a0d
a
2023-12-30 10:42:42 +03:00
w-e-w
dc57ec0296
save info of init image
2023-12-29 01:56:48 +09:00
wangqyqq
bfe418a58d
add some codes for robust
2023-12-27 10:20:56 +08:00
wangqyqq
9feb034e34
support for sdxl-inpaint model
2023-12-21 20:15:51 +08:00
Kohaku-Blueleaf
a978320334
Let fp8-related settings to invalidate cond_cache
2023-12-16 19:39:43 +08:00
AUTOMATIC1111
5b7d86d42b
Merge pull request #14314 from gayshub/master
...
Add allow specify the task id and get the location of task in the queue of pending task
2023-12-16 11:01:42 +03:00
Kohaku-Blueleaf
ea272152e0
Add FP8 settings into PNG info
2023-12-16 15:08:08 +08:00
gayshub
d859de37d9
fix the problem of ruff of github
2023-12-15 17:48:20 +08:00
gayshub
1242ba08e1
add allow specify the task id and get the location of task in the queue of pending task
2023-12-15 16:57:17 +08:00
CodeHatchling
0ef4a4cb23
Fixed error that occurs when using vanilla samplers (somehow).
2023-12-07 14:54:26 -07:00
CodeHatchling
2abc417834
Re-implemented soft inpainting via a script. Also fixed some mistakes with the previous hooks, removed unnecessary formatting changes, removed code that I had forgotten to.
2023-12-07 14:28:02 -07:00
CodeHatchling
ac45789123
Removed soft inpainting, added hooks for softpainting to work instead.
2023-12-06 21:16:27 -07:00
CodeHatchling
38864816fa
Merge remote-tracking branch 'origin2/dev' into soft-inpainting
...
# Conflicts:
# modules/processing.py
2023-12-04 20:38:13 -07:00
CodeHatchling
49bbf11407
Fixed unused import.
2023-12-04 19:47:40 -07:00
CodeHatchling
6fc12428e3
Fixed issue where batched inpainting (batch size > 1) wouldn't work because of mismatched tensor sizes. The 'already_decoded' decoded case should also be handled correctly (tested indirectly).
2023-12-04 19:42:59 -07:00
CodeHatchling
b32a334e3d
Applies a convert('RGBA') operation early to mimic previous behaviour.
2023-12-04 17:57:10 -07:00
CodeHatchling
60c602232f
Restored original formatting.
2023-12-04 17:55:14 -07:00
CodeHatchling
57f29bd61d
Re-introduce latent blending step from the vanilla inpainting procedure.
2023-12-04 17:41:18 -07:00
CodeHatchling
976c1053ef
Cleaned up code, moved main code contributions into soft_inpainting.py
2023-12-04 16:06:58 -07:00
CodeHatchling
259d33c3c8
Enables the original functionality to be toggled on and off.
2023-12-04 01:57:21 -07:00
CodeHatchling
aaacf48232
Organized the settings and UI of soft inpainting to allow for toggling the feature, and centralizes default values to reduce the amount of copy-pasta.
2023-12-04 01:27:22 -07:00
CodeHatchling
552f8bc832
"Uncrop" the original denoised image for the composite step, fixing a "ValueError: Images do not match" *shudder*
2023-12-03 14:49:41 -07:00
w-e-w
d3fdc4af61
rework mask and mask_composite logic
2023-12-03 18:22:41 +09:00
CodeHatchling
3bd3a09160
Merge remote-tracking branch 'origin/dev' into soft-inpainting
...
# Conflicts:
# modules/processing.py
2023-12-02 21:14:02 -07:00
CodeHatchling
73ab982d1b
Blend masks are now produced afterward, based on an estimate of the visual difference between the original and modified latent images. This should remove ghosting and clipping artifacts from masks, while preserving the details of largely unchanged content.
2023-12-02 21:07:02 -07:00
drhead
4a43334376
Revert 309a606c
2023-12-02 14:05:42 -05:00
catboxanon
83e8c32276
Fix `save_samples` being checked early when saving masked composite
2023-12-02 13:30:53 -05:00
drhead
81c4ddf6eb
fix linting
2023-12-02 13:11:00 -05:00
drhead
309a606c2f
ensure that original alpha bar always exists
2023-12-02 13:07:45 -05:00
AUTOMATIC1111
b58d061e41
infotext updates: add option to disregard certain infotext fields, add option to not include VAE in infotext, add explanation to infotext settings page, move some options to infotext settings page
2023-12-02 08:33:28 +03:00
drhead
668ae34e21
remove debug print
2023-11-29 22:48:31 -05:00
catboxanon
de79597ab9
Only apply ztSNR related code if alphas_cumprod exists
2023-11-29 18:33:32 -05:00
catboxanon
ffa7f8201d
Lint
2023-11-29 18:10:43 -05:00
drhead
6d0a8dcd89
Implement zero terminal SNR schedule option
2023-11-29 17:42:07 -05:00
CodeHatchling
c7a1ff8720
Tweaked default values.
2023-11-28 23:31:10 -07:00
CodeHatchling
c5c7fa06aa
Added slider for detail preservation strength, removed largely needless offset parameter, changed labels in UI and for saving to/pasting data from PNG files.
2023-11-28 22:35:07 -07:00
CodeHatchling
debf836fcc
Added UI elements to control blending parameters.
2023-11-28 16:15:36 -07:00
CodeHatchling
a6e5846453
Nerfs the aggressive post-processing step of overlaying the original image.
2023-11-28 16:13:42 -07:00
CodeHatchling
bbba133f05
Removed conflicting step that replaces the softly inpainted latents with a naive blend with the original latents.
2023-11-28 15:09:43 -07:00
CodeHatchling
dec791d35d
Removed code which forces the inpainting mask to be 0 or 1. Now fractional values (e.g. 0.5) are accepted.
2023-11-28 15:05:01 -07:00
AUTOMATIC1111
d2e0c1ca13
rework hypertile into a built-in extension
2023-11-26 11:17:38 +03:00
aria1th
97431f29fe
fix double gc and decoding with unet context
2023-11-17 10:05:28 +09:00
aria1th
c40be2252a
Fix critical issue - unet apply
2023-11-17 09:22:27 +09:00
AngelBottomless
bcfaf3979a
convert/add hypertile options
2023-11-16 18:43:16 +09:00
aria1th
b29fc6d4de
Implement Hypertile
...
Co-Authored-By: Kieran Hunt <kph@hotmail.ca>
2023-11-15 15:13:39 +09:00
aria1th
294f8a514f
add hyperTile
...
https://github.com/tfernd/HyperTile
2023-11-11 23:28:12 +09:00
AUTOMATIC1111
5e80d9ee99
fix pix2pix producing bad results
2023-11-07 11:33:33 +03:00
Won-Kyu Park
5121846d34
call state.jobnext() before postproces*()
2023-10-25 21:57:41 +09:00
Anthony Fu
8aa13d5dce
Interrupt after current generation
2023-10-16 14:12:18 +08:00
AUTOMATIC1111
eadef35512
Merge pull request #13567 from LeonZhao28/bugfix_key_error_in_processing
...
fix the key error exception when processing override_settings keys
2023-10-14 08:34:41 +03:00
AUTOMATIC1111
a109c7aeb8
more general case of adding an infotext when no images have been generated
2023-10-14 07:49:03 +03:00
Won-Kyu Park
fbc8d21354
fix IndexError: list index out of range error interrupted while postprocess
2023-10-14 02:45:09 +09:00
Leon
9821625a76
fix the key error exception when adding an overwriting key which is defined in the extensions
2023-10-09 18:36:48 +08:00
AUTOMATIC1111
dc2074c46d
Merge pull request #13466 from AUTOMATIC1111/denoising-none
...
Change denoising_strength default to None.
2023-10-02 13:05:27 +03:00
missionfloyd
3f763d41e8
Change denoising_strength default to None.
2023-10-01 22:38:27 -06:00
w-e-w
ab57417175
prevent accessing non-existing keys
2023-09-09 22:35:50 +09:00
ibrainventures
f11eec81e3
(feat) Include Program Version in info response. Update processing.py
...
This would help to organize / memorize the program version for the creation process. (as it is also unformated included inside the infotext).
2023-09-07 23:19:52 +02:00
AUTOMATIC1111
ae7291fb49
fix an issue where using hires fix with refiner on first pass with medvram would cause an exception when generating
2023-08-30 21:34:17 +03:00
AUTOMATIC1111
135b61bc0b
fix inpainting models in txt2img creating black pictures
2023-08-30 19:08:17 +03:00
AUTOMATIC1111
87cca029d7
add an option to choose how to combine hires fix and refiner
2023-08-30 18:24:21 +03:00
AUTOMATIC1111
c0f9821c35
always show NV as RNG source in infotext
2023-08-28 22:23:29 +03:00
AUTOMATIC1111
995ff5902f
add infotext for use_old_scheduling option
2023-08-24 10:07:54 +03:00
AUTOMATIC1111
0027ce1f6e
Merge pull request #12457 from rubberbaron/shared-hires-prompt-test
...
prompt editing timeline has separate range for first pass and hires-fix pass
2023-08-24 09:41:16 +03:00
AUTOMATIC1111
d02c4da483
also prevent changing API options via override_settings
2023-08-21 08:58:15 +03:00
AUTOMATIC1111
5590be7a8c
Merge pull request #12644 from AUTOMATIC1111/fix-model-override-logic
...
fix model override logic
2023-08-19 08:26:39 +03:00
AUTOMATIC1111
9182dd7e5d
Merge pull request #12634 from catboxanon/feat/live-preview-fast-interrupt
...
Improve interrupt speed
2023-08-19 08:05:36 +03:00
XDOneDude
61c1261e4e
more grammar fixes
2023-08-18 21:56:15 -04:00
catboxanon
9d1d63afca
Exit out of hires fix if interrupted earlier
2023-08-18 05:55:10 -04:00
w-e-w
640cb1bb8d
fix model override logic
...
do not need extra logic to unload refine model
2023-08-18 17:14:02 +09:00
catboxanon
0f77139253
Fix inpaint upload for alpha masks, create reusable function
2023-08-15 14:24:55 -04:00
AUTOMATIC1111
79d4e81984
fix processing error that happens if batch_size is not a multiple of how many prompts/negative prompts there are #12509
2023-08-15 08:46:17 +03:00
AUTOMATIC1111
7e77a38cbc
get XYZ plot to work with recent changes to refined specified in fields of p rather than in settings
2023-08-15 08:27:50 +03:00
AUTOMATIC1111
f23e5ce2da
revert changed inpainting mask conditioning calculation after #12311
2023-08-14 17:59:03 +03:00
Robert Barron
99ab3d43a7
hires prompt timeline: merge to latests, slightly simplify diff
2023-08-14 00:43:27 -07:00
AUTOMATIC1111
353c876172
fix API always using -1 as seed
2023-08-14 10:43:18 +03:00
Robert Barron
d61e31bae6
Merge remote-tracking branch 'auto1111/dev' into shared-hires-prompt-test
2023-08-14 00:35:17 -07:00
AUTOMATIC1111
abbecb3e73
further repair the /docs page to not break styles with the attempted fix
2023-08-14 10:15:10 +03:00
AUTOMATIC1111
c7c16f805c
repair /docs page
2023-08-14 09:49:51 +03:00
AUTOMATIC1111
f093c9d39d
fix broken XYZ plot seeds
...
add new callback for scripts to be used before processing
2023-08-13 17:31:10 +03:00
AUTOMATIC1111
d73db17ee3
Merge pull request #12515 from catboxanon/fix/gc1
...
Clear sampler and garbage collect before decoding images to reduce VRAM
2023-08-13 16:45:38 +03:00
AUTOMATIC1111
d8419762c1
Lora: output warnings in UI rather than fail for unfitting loras; switch to logging for error output in console
2023-08-13 15:07:37 +03:00
catboxanon
69f49c8d39
Clear sampler before decoding images
...
More significant VRAM reduction.
2023-08-13 04:40:34 -04:00
AUTOMATIC1111
599f61a1e0
use dataclass for StableDiffusionProcessing
2023-08-13 08:24:16 +03:00
AUTOMATIC1111
fa9370b741
add refiner to StableDiffusionProcessing class
...
write out correct model name in infotext, rather than the refiner model
2023-08-13 06:07:30 +03:00
AUTOMATIC1111
b293ed3061
make it possible to use hires fix together with refiner
2023-08-12 12:54:32 +03:00
AUTOMATIC1111
64311faa68
put refiner into main UI, into the new accordions section
...
add VAE from main model into infotext, not from refiner model
option to make scripts UI without gr.Group
fix inconsistencies with refiner when usings samplers that do more denoising than steps
2023-08-12 12:39:59 +03:00
catboxanon
af27b716e5
Fix color correction by converting image to RGB
2023-08-11 12:22:11 -04:00
AUTOMATIC1111
ae6b30907d
Merge pull request #12470 from Splendide-Imaginarius/mask-blur-property+kernel
...
Make `StableDiffusionProcessingImg2Img.mask_blur` a property, make more inline with PIL `GaussianBlur`
2023-08-11 15:03:18 +03:00
Robert Barron
863613293e
Merge branch 'shared-hires-prompt-raw' into shared-hires-prompt-test
2023-08-10 07:45:35 -07:00
AUTOMATIC1111
70a01cd444
Merge branch 'dev' into refiner
2023-08-10 17:04:38 +03:00
AUTOMATIC1111
9d78d317ae
add VAE to infotext
2023-08-10 16:22:10 +03:00
AUTOMATIC1111
1b3093fe3a
fix --use-textbox-seed
2023-08-10 15:58:53 +03:00
AUTOMATIC1111
33446acf47
face restoration and tiling moved to settings - use "Options in main UI" setting if you want them back
2023-08-10 12:41:41 +03:00
AUTOMATIC1111
9199b6b7eb
add a custom UI element that combines accordion and checkbox
...
rework hires fix UI to use accordion
prevent bogus progress output in console when calculating hires fix dimensions
2023-08-10 11:20:46 +03:00
catboxanon
259805947e
Add slerp import for extension backwards compat
2023-08-09 14:24:16 -04:00
Robert Barron
d1ba46b6e1
allow first pass and hires pass to use a single prompt to do different prompt editing, hires is 1.0..2.0:
...
relative time range is [1..2]
absolute time range is [steps+1..steps+hire_steps], e.g. with 30 steps and 20 hires steps, '20' is 2/3rds through first pass, and 40 is halfway through hires pass
2023-08-09 10:38:47 -07:00
AUTOMATIC1111
0d5dc9a6e7
rework RNG to use generators instead of generating noises beforehand
2023-08-09 08:43:31 +03:00