stable-diffusion-webui/modules
Logan 57aaa068bb Add fast prescale option to upscaler settings (off by default)
* By default, upscaling will loop up to 3 times to upscale the incoming image to the target dimensions. This is necessary, as upscaling models work in fixed increments (x4 is common).
* For very small images, such as those generated by ADetailer for inpainting, this can result in additional upscaling steps, which can be expensive. Usually the incoming image is only off by a small amount, so it can be preferable to do a minor upscale via Lanczos before the main upscaling step.
* We introduce an optional value to the upscaler settings to allow this minor upscale, should the incoming image fall below a certain threshold compared to the fixed scaling value of the upscaler model. By default, this setting is set to 1.0, effectively disabling it.
2024-08-08 15:20:48 +10:00
..
api fix OSError: cannot write mode P as JPEG 2024-07-11 23:54:25 +04:00
hypernetworks rename logging from textual inversion to not confuse it with global logging module 2024-04-21 07:41:28 +03:00
models SD3 lora support 2024-07-15 08:31:55 +03:00
processing_scripts support scheduler selection in hires fix 2024-03-24 11:00:16 +03:00
textual_inversion Better error handling when unable to extract contents of embedding/TI file 2024-04-26 06:57:32 -04:00
cache.py Tweak diskcache limits 2024-03-17 20:25:25 +00:00
call_queue.py do not break progressbar on non-job actions 2024-07-12 16:08:36 +04:00
cmd_args.py defunct --max-batch-count 2024-06-30 21:19:25 +09:00
codeformer_model.py fix CodeFormer weight 2024-03-31 14:41:06 +02:00
config_states.py Config states time ISO in system time zone 2023-09-16 09:11:54 +09:00
dat_model.py Minor cleanup 2024-01-19 00:39:14 +01:00
deepbooru_model.py
deepbooru.py get deepbooru to run with --precision-half 2024-06-28 07:51:30 +03:00
devices.py Merge pull request #16060 from xiaoxianBoy/fix-typos 2024-07-06 10:06:35 +03:00
errors.py torch 2.1.2 2023-12-16 10:15:08 +03:00
esrgan_model.py Verify architecture for loaded Spandrel models 2023-12-30 16:37:03 +02:00
extensions.py fix extention update when not on main branch 2024-05-15 17:27:05 +09:00
extra_networks_hypernet.py Simplify a bunch of len(x) > 0/len(x) == 0 style expressions 2023-06-02 15:07:10 +03:00
extra_networks.py Fix various typos with crate-ci/typos 2024-03-04 08:42:07 +02:00
extras.py add metadata to checkpoint merger 2023-08-01 08:27:54 +03:00
face_restoration_utils.py Drop dependency on basicsr 2023-12-30 17:53:19 +02:00
face_restoration.py
fifo_lock.py feat: replace threading.Lock() to FIFOLock 2023-08-21 17:49:58 +08:00
gfpgan_model.py Bump Spandrel to 0.3.4; add spandrel-extra-arches for CodeFormer 2024-07-04 09:14:04 +03:00
gitpython_hack.py Fix some deprecated types 2023-08-29 00:54:57 -06:00
gradio_extensons.py add Block component creation callback 2023-11-27 13:15:17 +09:00
hashes.py Gracefully handle mtime read exception from cache 2024-02-15 13:31:44 -05:00
hat_model.py Verify architecture for loaded Spandrel models 2023-12-30 16:37:03 +02:00
images.py multi size grid 2024-06-10 20:47:12 +09:00
img2img.py img2img batch upload method 2024-05-16 23:08:24 +04:00
import_hook.py Add import_hook hack to work around basicsr incompatibility 2023-12-03 16:55:38 +02:00
infotext_utils.py do not send image size on paste inpaint 2024-07-09 16:12:39 +04:00
infotext_versions.py v180_hr_styles actual version number 2024-03-16 17:19:38 +09:00
initialize_util.py linter 2024-03-21 07:09:40 +03:00
initialize.py Merge pull request #15310 from Dalton-Murray/update-pytorch-lightning-utilities 2024-03-21 07:08:43 +03:00
interrogate.py fix CLIP Interrogator topN regex 2024-01-27 19:35:07 +09:00
launch_utils.py Merge pull request #16173 from AUTOMATIC1111/robust-sysinfo 2024-07-20 11:46:45 +03:00
localization.py Update localization.py 2023-09-11 09:22:27 +08:00
logging_config.py Logging: set formatter correctly for fallback logger too 2024-01-11 08:29:42 +02:00
lowvram.py fix mdevram for SD1/SDXL 2024-06-27 07:35:53 +03:00
mac_specific.py Fix various typos with crate-ci/typos 2024-03-04 08:42:07 +02:00
masking.py fix get_crop_region_v2 2024-04-22 23:10:19 +09:00
memmon.py attempt to fix memory monitor with multiple CUDA devices 2023-03-12 21:04:17 +03:00
modelloader.py Bump Spandrel to 0.3.4; add spandrel-extra-arches for CodeFormer 2024-07-04 09:14:04 +03:00
ngrok.py Merge branch 'dev' into ngrok-py 2023-05-18 10:12:17 +03:00
npu_specific.py Update 2024-01-31 12:29:58 +08:00
options.py restore the lost Uncategorized options section 2024-03-10 22:40:35 +03:00
patches.py store patches for Lora in a specialized module 2023-08-15 19:23:40 +03:00
paths_internal.py remove extra local variable 2024-06-08 11:35:45 +03:00
paths.py Use Spandrel for upscaling and face restoration architectures (aside from GFPGAN and LDSR) 2023-12-30 16:24:01 +02:00
postprocessing.py stoping generation extras 2024-06-25 05:33:07 +04:00
processing.py allow generation to be started with any dimensions specified 2024-06-28 18:06:49 +03:00
profiling.py added tool for profiling code 2024-06-09 21:18:36 +03:00
progress.py rename pending tasks api endpoint to be more in line with others 2023-12-16 11:04:59 +03:00
prompt_parser.py support for SD3: infinite prompt length, token counting 2024-06-26 23:22:00 +03:00
realesrgan_model.py load_spandrel_model: make half prefer_half 2024-01-02 10:44:38 +02:00
restart.py alternative solution to #13434 2023-09-30 08:23:12 +03:00
rng_philox.py minor performance improvements for philox 2023-08-03 07:53:03 +03:00
rng.py Fix various typos with crate-ci/typos 2024-03-04 08:42:07 +02:00
Roboto-Regular.ttf Drop fonts + font-roboto deps since we only use the single regular cut of Roboto 2023-05-11 10:07:28 +03:00
safe.py update pickle safe filenames 2024-06-08 11:26:41 +03:00
script_callbacks.py fix: remove callbacks properly in remove_callbacks_for_function() 2024-04-15 21:10:11 -07:00
script_loading.py restore 1.8.0-style naming of scripts 2024-04-22 12:19:30 +03:00
scripts_auto_postprocessing.py ruff auto fixes 2023-05-10 11:05:02 +03:00
scripts_postprocessing.py add an option to hide postprocessing options in Extras tab 2024-03-31 08:30:00 +03:00
scripts.py Add process_before_every_sampling hook 2024-06-09 23:06:28 -04:00
sd_disable_initialization.py Merge pull request #14216 from wfjsw/state-dict-ref-comparison 2023-12-14 10:15:22 +03:00
sd_emphasis.py Fix various typos with crate-ci/typos 2024-03-04 08:42:07 +02:00
sd_hijack_checkpoint.py as per wfjsw's suggestion, revert changes for sd_hijack_checkpoint.py 2024-06-08 10:54:41 +03:00
sd_hijack_clip_old.py add infotext entry for emphasis; put emphasis into a separate file, add an option to parse but still ignore emphasis 2024-02-11 09:39:51 +03:00
sd_hijack_clip.py support for SD3: infinite prompt length, token counting 2024-06-26 23:22:00 +03:00
sd_hijack_ip2p.py imports cleanup for ruff 2023-05-10 08:43:42 +03:00
sd_hijack_open_clip.py repair --medvram for SD2.x too after SDXL update 2023-07-24 11:57:59 +03:00
sd_hijack_optimizations.py integrated edits as recommended in the PR #15804 2024-06-08 09:05:35 +03:00
sd_hijack_unet.py Revert "Merge pull request #16078 from huchenlei/fix_sd2" 2024-07-06 10:40:48 +03:00
sd_hijack_utils.py Add --precision half cmd option 2024-05-16 19:50:06 -04:00
sd_hijack_xlmr.py imports cleanup for ruff 2023-05-10 08:43:42 +03:00
sd_hijack.py sd3 TI support 2024-07-07 16:36:53 +03:00
sd_models_config.py SD2 v autodetection fix 2024-07-06 11:00:22 +03:00
sd_models_types.py initial SD3 support 2024-06-16 08:04:31 +03:00
sd_models_xl.py Fix attr access 2024-05-15 17:27:01 -04:00
sd_models.py support loading clip/t5 from the main model checkpoint 2024-06-29 00:38:52 +03:00
sd_samplers_cfg_denoiser.py remove mentions of specific samplers from CFG denoiser code 2024-07-06 10:31:08 +03:00
sd_samplers_common.py medvram support for SD3 2024-06-24 10:15:46 +03:00
sd_samplers_compvis.py Merge branch 'dev' into refiner 2023-08-08 21:49:47 +03:00
sd_samplers_extra.py Simplify restart_sampler (suggested by ruff) 2023-11-22 18:05:12 +02:00
sd_samplers_kdiffusion.py fix lint 2024-07-19 15:33:07 -07:00
sd_samplers_lcm.py lcm sampler 2024-01-08 06:43:39 -06:00
sd_samplers_timesteps_impl.py remove mentions of specific samplers from CFG denoiser code 2024-07-06 10:31:08 +03:00
sd_samplers_timesteps.py add new sampler DDIM CFG++ 2024-06-16 17:47:21 -07:00
sd_samplers.py fix Sampler Scheduler autocorrection warning 2024-06-21 12:14:33 +09:00
sd_schedulers.py use configured alpha/beta values in Beta scheduling 2024-07-19 14:08:44 -07:00
sd_unet.py alternate implementation for unet forward replacement that does not depend on hijack being applied 2023-12-02 19:35:47 +03:00
sd_vae_approx.py initial SD3 support 2024-06-16 08:04:31 +03:00
sd_vae_taesd.py initial SD3 support 2024-06-16 08:04:31 +03:00
sd_vae.py Execute model_loaded_callback after moving to target device 2024-01-06 20:03:33 +08:00
shared_cmd_options.py consolidate local check 2023-08-28 03:43:27 +09:00
shared_gradio_themes.py background-color: background_fill_primary 2024-07-07 00:22:27 +09:00
shared_init.py Add --precision half cmd option 2024-05-16 19:50:06 -04:00
shared_items.py add UI for reordering callbacks 2024-03-10 14:09:48 +03:00
shared_options.py Add fast prescale option to upscaler settings (off by default) 2024-08-08 15:20:48 +10:00
shared_state.py fix OSError: cannot write mode P as JPEG 2024-07-11 23:54:25 +04:00
shared_total_tqdm.py split shared.py into multiple files; should resolve all circular reference import errors related to shared.py 2023-08-09 10:25:35 +03:00
shared.py chore: fix typos 2024-06-21 09:52:02 +08:00
styles.py PEP 604 annotations 2024-03-15 08:22:36 +09:00
sub_quadratic_attention.py Fix some deprecated types 2023-08-29 00:54:57 -06:00
sysinfo.py move git_status to sysinfo 2024-07-09 02:27:22 +09:00
timer.py add --log-startup option to print detailed startup progress 2023-07-22 17:15:38 +03:00
torch_utils.py Maintaining Project Compatibility for Python 3.9 Users Without Upgrade Requirements. 2024-06-25 15:24:46 +08:00
txt2img.py support scheduler selection in hires fix 2024-03-24 11:00:16 +03:00
ui_checkpoint_merger.py gradio 3.39 2023-08-04 08:04:23 +03:00
ui_common.py Merge pull request #16202 from light-and-ray/do_not_break_progressbar_on_non-job_actions 2024-07-20 11:45:57 +03:00
ui_components.py Fix various typos with crate-ci/typos 2024-03-04 08:42:07 +02:00
ui_extensions.py do not break progressbar on non-job actions 2024-07-12 16:08:36 +04:00
ui_extra_networks_checkpoints_user_metadata.py SD VAE rework 2 2023-08-07 08:07:20 +03:00
ui_extra_networks_checkpoints.py fix checkpoint selection not working for #14588 2024-02-02 19:41:07 +03:00
ui_extra_networks_hypernets.py Finish base layout. Fix bugs. Need to test for stability and clean up. 2024-01-11 15:06:57 -05:00
ui_extra_networks_textual_inversion.py Finish base layout. Fix bugs. Need to test for stability and clean up. 2024-01-11 15:06:57 -05:00
ui_extra_networks_user_metadata.py fix Replace preview 2024-06-30 20:20:29 +09:00
ui_extra_networks.py Merge pull request #15319 from catboxanon/feat/ssmd_cover_images 2024-03-24 13:43:37 +03:00
ui_gradio_extensions.py background-color: background_fill_primary 2024-07-07 00:22:27 +09:00
ui_loadsave.py fix ui-config for InputAccordion 2024-03-16 12:32:39 +04:00
ui_postprocessing.py FIX: Allow PNG-RGBA for Extras Tab 2024-03-20 13:28:32 +07:00
ui_prompt_styles.py Fix various typos with crate-ci/typos 2024-03-04 08:42:07 +02:00
ui_settings.py do not break progressbar on non-job actions 2024-07-12 16:08:36 +04:00
ui_tempdir.py Merge pull request #15012 from light-and-ray/register_tmp_file-also-with-mtime 2024-03-02 06:54:46 +03:00
ui_toprow.py Disable prompt token counters option actually disables token counting rather than just hiding results. 2024-02-17 10:31:16 +03:00
ui.py Merge pull request #16202 from light-and-ray/do_not_break_progressbar_on_non-job_actions 2024-07-20 11:45:57 +03:00
upscaler_utils.py fix image upscale on cpu 2024-07-27 21:28:10 +09:00
upscaler.py Add fast prescale option to upscaler settings (off by default) 2024-08-08 15:20:48 +10:00
util.py Merge pull request #16060 from xiaoxianBoy/fix-typos 2024-07-06 10:06:35 +03:00
xlmr_m18.py change import statements for #14478 2023-12-31 22:38:30 +03:00
xlmr.py change import statements for #14478 2023-12-31 22:38:30 +03:00
xpu_specific.py Fix format 2024-01-06 19:14:06 +08:00