my-sd/modules
lllyasviel f06ba8e60b Significantly reduce thread abuse for faster model moving
This will move all major gradio calls into the main thread rather than random gradio threads.
This ensures that all torch.module.to() are performed in main thread to completely possible avoid GPU fragments.
In my test now model moving is 0.7 ~ 1.2 seconds faster, which means all 6GB/8GB VRAM users will get 0.7 ~ 1.2 seconds faster per image on SDXL.
2024-02-08 10:13:59 -08:00
..
api Merge pull request #14715 from stefanbenten/sb/embedding-refresh 2024-01-23 22:35:41 +03:00
hypernetworks fix whitespace for #13084 2023-09-09 09:15:09 +03:00
models/diffusion make webui not crash when running with --disable-all-extensions option 2023-12-04 09:15:19 +03:00
processing_scripts parse_generation_parameters with no skip_fields 2024-01-18 02:36:19 +09:00
textual_inversion Update 2024-01-31 12:29:58 +08:00
cache.py Avoid unnecessary isfile/exists calls 2024-01-04 00:26:30 +02:00
call_queue.py fix borked merge, rename fields to better match what they do, change setting default to true for #13653 2024-01-01 16:50:59 +03:00
cmd_args.py i 2024-01-27 09:44:44 -08:00
codeformer_model.py Verify architecture for loaded Spandrel models 2023-12-30 16:37:03 +02:00
config_states.py Config states time ISO in system time zone 2023-09-16 09:11:54 +09:00
dat_model.py i 2024-01-25 13:20:43 -08:00
deepbooru_model.py
deepbooru.py Update deepbooru.py 2024-01-25 13:01:21 -08:00
devices.py Update devices.py 2024-01-31 13:22:40 -08:00
errors.py torch 2.1.2 2023-12-16 10:15:08 +03:00
esrgan_model.py i 2024-01-25 13:20:43 -08:00
extensions.py i 2024-01-31 15:18:02 -08: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 mass file lister as an attempt to tackle #14507 2024-01-04 02:28:05 +03: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 Be more clear about Spandrel model nomenclature 2023-12-31 00:22:58 +02: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 cache git extension repo information 2023-07-15 09:20:43 +03:00
hat_model.py i 2024-01-25 13:20:43 -08:00
images.py Add # to the invalid_filename_chars list 2024-01-13 02:31:26 -08:00
img2img.py Significantly reduce thread abuse for faster model moving 2024-02-08 10:13:59 -08:00
import_hook.py Add import_hook hack to work around basicsr incompatibility 2023-12-03 16:55:38 +02:00
infotext_utils.py 🐛 Fix SVD tab (#63) 2024-02-06 11:10:47 -05:00
infotext_versions.py Add Pad conds v0 option 2024-01-27 22:30:47 +03:00
initialize_util.py Significantly reduce thread abuse for faster model moving 2024-02-08 10:13:59 -08:00
initialize.py Significantly reduce thread abuse for faster model moving 2024-02-08 10:13:59 -08:00
interrogate.py Merge pull request #17 from lllyasviel/dev 2024-01-27 09:47:52 -08:00
launch_utils.py Significantly reduce thread abuse for faster model moving 2024-02-08 10:13:59 -08: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 Update lowvram.py 2024-01-24 10:53:42 -08:00
mac_specific.py Fix the Ruff error about unused import 2023-11-29 04:59:35 +09:00
masking.py improve get_crop_region 2024-01-21 09:02:18 +09:00
memmon.py
modelloader.py load_spandrel_model: make half prefer_half 2024-01-02 10:44:38 +02: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 minor fix to #14525 2024-01-26 17:16:53 +09:00
patches.py store patches for Lora in a specialized module 2023-08-15 19:23:40 +03:00
paths_internal.py base default image output on data_path 2023-12-28 06:52:33 +09:00
paths.py move codes 2024-01-31 12:21:50 -08:00
postprocessing.py fix extras big batch crashes 2024-01-20 00:40:03 +04:00
processing.py use better context manager to fix potential problems 2024-02-08 01:51:18 -08: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 i 2024-01-27 18:53:24 -08:00
realesrgan_model.py i 2024-01-25 13:20:43 -08: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 ddpm 2024-02-05 20:12:17 -08:00
Roboto-Regular.ttf
safe.py Update safe.py 2024-02-02 22:43:27 -08:00
script_callbacks.py make denoiser None by default 2024-01-07 20:17:42 -06:00
script_loading.py add backwards compatibility --lyco-dir-backcompat option, use that for LyCORIS directory instead of hardcoded value 2023-07-18 20:11:30 +03:00
scripts_auto_postprocessing.py
scripts_postprocessing.py remove Train/Preprocessing tab and put all its functionality into extras batch images mode 2023-12-02 18:01:11 +03:00
scripts.py Update scripts.py 2024-01-29 20:51:35 -08:00
sd_disable_initialization.py Merge pull request #14216 from wfjsw/state-dict-ref-comparison 2023-12-14 10:15:22 +03:00
sd_hijack_checkpoint.py
sd_hijack_clip_old.py Simplify a bunch of len(x) > 0/len(x) == 0 style expressions 2023-06-02 15:07:10 +03:00
sd_hijack_clip.py Update sd_hijack_clip.py 2024-01-25 06:11:51 -08:00
sd_hijack_ip2p.py
sd_hijack_open_clip.py Update sd_hijack_open_clip.py 2024-01-25 06:09:01 -08:00
sd_hijack_optimizations.py Make sub-quadratic the default for MPS 2023-08-13 10:06:25 -04:00
sd_hijack_unet.py Add support for --upcast-sampling with SD XL 2023-07-18 00:39:50 -04:00
sd_hijack_utils.py Handle CondFunc exception when resolving attributes 2024-01-06 17:18:38 +08:00
sd_hijack_xlmr.py
sd_hijack.py photomaker 2024-02-01 22:57:49 -08:00
sd_models_config.py support for sdxl-inpaint model 2023-12-21 20:15:51 +08:00
sd_models_types.py linter 2023-11-05 19:32:21 +03:00
sd_models_xl.py i 2024-01-25 20:22:04 -08:00
sd_models.py reduce prints 2024-02-06 07:56:15 -08:00
sd_samplers_cfg_denoiser.py fix inpaint batch dim align #94 2024-02-06 22:57:53 -08:00
sd_samplers_common.py sampler 2024-01-27 22:11:14 -08: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 rework sigma device mapping 2024-02-07 00:44:12 -08:00
sd_samplers_lcm.py rework sigma device mapping 2024-02-07 00:44:12 -08:00
sd_samplers_timesteps_impl.py Fix fp64 2023-12-02 15:54:25 +08:00
sd_samplers_timesteps.py rework sigma device mapping 2024-02-07 00:44:12 -08:00
sd_samplers.py new samplers 2024-02-05 03:58:06 -08:00
sd_unet.py Update sd_unet.py 2024-01-31 13:51:36 -08:00
sd_vae_approx.py Revert "Add FP32 fallback support on sd_vae_approx" 2023-11-29 04:07:48 +09:00
sd_vae_taesd.py add TAESD for i2i and t2i 2023-08-04 13:38:52 +08:00
sd_vae.py Update sd_vae.py 2024-01-16 02:57:53 -08:00
shared_cmd_options.py i 2024-01-27 09:44:44 -08:00
shared_gradio_themes.py make modal toolbar and icon opacity adjustable 2023-12-15 17:11:59 +09:00
shared_init.py Update shared_init.py 2024-01-24 11:20:34 -08:00
shared_items.py Add support for DAT upscaler models 2024-01-19 00:10:02 +01:00
shared_options.py Merge branch 'main' into dev 2024-01-27 15:48:30 -08:00
shared_state.py Significantly reduce thread abuse for faster model moving 2024-02-08 10:13:59 -08: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 fix 2024-01-31 14:57:17 -08:00
styles.py catch load style.csv error 2024-02-01 15:40:15 +09:00
sub_quadratic_attention.py Fix some deprecated types 2023-08-29 00:54:57 -06:00
sysinfo.py add assets repo; serve fonts locally rather than from google's servers 2024-01-07 09:21:21 +03:00
timer.py add --log-startup option to print detailed startup progress 2023-07-22 17:15:38 +03:00
torch_utils.py Add utility to inspect a model's parameters (to get dtype/device) 2023-12-31 13:22:43 +02:00
txt2img.py Significantly reduce thread abuse for faster model moving 2024-02-08 10:13:59 -08:00
ui_checkpoint_merger.py gradio 3.39 2023-08-04 08:04:23 +03:00
ui_common.py Add button to send generated image to svd tab (#38) 2024-02-04 18:22:56 -05:00
ui_components.py make resize handle available to extensions 2023-08-21 08:48:46 +03:00
ui_extensions.py Merge pull request #14063 from wfjsw/use-ext-name-for-installed 2023-12-02 09:58:44 +03: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 Finish cleanup. 2024-01-16 13:35:01 -05:00
ui_extra_networks.py fix extra networks metadata failing to work properly when you create the .json file with metadata for the first time. 2024-02-02 22:47:51 +03:00
ui_gradio_extensions.py Avoid unnecessary isfile/exists calls 2024-01-04 00:26:30 +02:00
ui_loadsave.py Avoid unnecessary isfile/exists calls 2024-01-04 00:26:30 +02:00
ui_postprocessing.py make extras tab collumns resizable 2024-01-23 21:56:49 +04:00
ui_prompt_styles.py re-work multi --styles-file 2024-01-21 03:53:58 +09:00
ui_settings.py Update ui_settings.py 2024-01-25 07:12:43 -08:00
ui_tempdir.py Make Gradio temp directory if it doesn't exist 2023-08-21 17:36:17 -04:00
ui_toprow.py Add "Interrupting..." placeholder. 2024-02-01 22:34:29 +03:00
ui.py i 2024-01-25 08:47:34 -08:00
upscaler_utils.py Fix potential autocast NaNs in image upscale 2024-01-30 22:32:31 -08:00
upscaler.py fix ldsr 2024-02-04 14:30:58 -08:00
util.py Merge branch 'dev' into avoid-isfiles 2024-01-04 11:15:50 +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