stable-diffusion-webui-forge/modules
layerdiffusion d38e560e42 Implement some rethinking about LoRA system
1. Add an option to allow users to use UNet in fp8/gguf but lora in fp16.
2. All FP16 loras do not need patch. Others will only patch again when lora weight change.
3. FP8 unet + fp16 lora are available (somewhat only available) in Forge now. This also solves some “LoRA too subtle” problems.
4. Significantly speed up all gguf models (in Async mode) by using independent thread (CUDA stream) to compute and dequant at the same time, even when low-bit weights are already on GPU.
5. View “online lora” as a module similar to ControlLoRA so that it is moved to GPU together with model when sampling, achieving significant speedup and perfect low VRAM management simultaneously.
2024-08-19 04:31:59 -07:00
..
api Fix validation error by updating SDModelItem config field to be optional. Changed config field in SDModelItem model to Optional[str] with default value None. (#1096) 2024-08-14 17:35:17 -07:00
hypernetworks remove everything related to training 2024-08-05 04:35:09 -07:00
models remove unused 2024-08-05 11:31:02 -07:00
processing_scripts cleanup codes 2024-08-11 22:07:54 -07:00
textual_inversion Finally removed model_hijack 2024-08-05 21:05:25 -07:00
cache.py Gradio 4 + WebUI 1.10 2024-07-26 12:02:46 -07:00
call_queue.py completely solve 'NoneType' object is not iterable 2024-08-13 15:36:18 -07:00
cmd_args.py move to new backend - part 1 2024-08-03 14:59:46 -07:00
codeformer_model.py Gradio 4 + WebUI 1.10 2024-07-26 12:02:46 -07:00
config_states.py Config states time ISO in system time zone 2023-09-16 09:11:54 +09:00
dat_model.py rename files 2024-08-03 15:54:39 -07:00
deepbooru_model.py Add option for float32 sampling with float16 UNet 2023-01-25 01:13:02 -05:00
deepbooru.py move to new backend - part 1 2024-08-03 14:59:46 -07:00
devices.py move to new backend - part 1 2024-08-03 14:59:46 -07:00
errors.py update version check 2024-08-11 15:48:47 -07:00
esrgan_model.py rename files 2024-08-03 15:54:39 -07:00
extensions.py Forge Space and BiRefNet 2024-08-17 08:29:08 -07: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 Gradio 4 + WebUI 1.10 2024-07-26 12:02:46 -07:00
extras.py add metadata to checkpoint merger 2023-08-01 08:27:54 +03:00
face_restoration_utils.py rename files 2024-08-03 15:54:39 -07:00
face_restoration.py
fifo_lock.py feat: replace threading.Lock() to FIFOLock 2023-08-21 17:49:58 +08:00
gfpgan_model.py Gradio 4 + WebUI 1.10 2024-07-26 12:02:46 -07:00
gitpython_hack.py Fix some deprecated types 2023-08-29 00:54:57 -06:00
gradio_extensions.py Forge Space and BiRefNet 2024-08-17 08:29:08 -07:00
hashes.py forge 2.0.0 2024-08-10 19:24:19 -07:00
hat_model.py rename files 2024-08-03 15:54:39 -07:00
images.py Gradio 4 + WebUI 1.10 2024-07-26 12:02:46 -07:00
img2img.py Load Model only when click Generate 2024-08-08 14:51:13 -07:00
import_hook.py remove old codes 2024-08-11 15:55:07 -07:00
infotext_utils.py Gradio 4 + WebUI 1.10 2024-07-26 12:02:46 -07:00
infotext_versions.py Gradio 4 + WebUI 1.10 2024-07-26 12:02:46 -07:00
initialize_util.py rework UI so that the toolbar is managed by Forge 2024-08-06 13:54:06 -07:00
initialize.py better model load logic 2024-08-06 14:34:57 -07:00
interrogate.py Fix type error in BLIP model generation by converting configuration values to integers. (#1113) 2024-08-14 17:37:12 -07:00
launch_utils.py add fp16_fix 2024-08-14 17:10:03 -07: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 Gradio 4 + WebUI 1.10 2024-07-26 12:02:46 -07:00
mac_specific.py remove files 2024-08-05 21:24:35 -07:00
masking.py Gradio 4 + WebUI 1.10 2024-07-26 12:02:46 -07:00
memmon.py attempt to fix memory monitor with multiple CUDA devices 2023-03-12 21:04:17 +03:00
modelloader.py Gradio 4 + WebUI 1.10 2024-07-26 12:02:46 -07:00
ngrok.py Merge branch 'dev' into ngrok-py 2023-05-18 10:12:17 +03:00
npu_specific.py remove files 2024-08-05 21:24:35 -07:00
options.py Gradio 4 + WebUI 1.10 2024-07-26 12:02:46 -07:00
patches.py store patches for Lora in a specialized module 2023-08-15 19:23:40 +03:00
paths_internal.py Gradio 4 + WebUI 1.10 2024-07-26 12:02:46 -07:00
paths.py fix 2024-08-15 01:56:21 -07:00
postprocessing.py Gradio 4 + WebUI 1.10 2024-07-26 12:02:46 -07:00
processing.py Implement some rethinking about LoRA system 2024-08-19 04:31:59 -07:00
profiling.py Gradio 4 + WebUI 1.10 2024-07-26 12:02:46 -07:00
progress.py Gradio 4 + WebUI 1.10 2024-07-26 12:02:46 -07:00
prompt_parser.py distilled cfg scale 2024-08-08 00:57:40 -07:00
realesrgan_model.py rename files 2024-08-03 15:54:39 -07: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 Add option to experiment with results from other impl 2024-08-11 17:02:50 -07: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 bring "safe" back 2024-08-05 11:07:08 -07:00
script_callbacks.py Gradio 4 + WebUI 1.10 2024-07-26 12:02:46 -07:00
script_loading.py Gradio 4 + WebUI 1.10 2024-07-26 12:02:46 -07:00
scripts_auto_postprocessing.py ruff auto fixes 2023-05-10 11:05:02 +03:00
scripts_postprocessing.py Gradio 4 + WebUI 1.10 2024-07-26 12:02:46 -07:00
scripts.py Gradio 4 + WebUI 1.10 2024-07-26 12:02:46 -07:00
sd_disable_initialization.py Free WebUI from its Prison 2024-08-05 04:21:35 -07:00
sd_emphasis.py Gradio 4 + WebUI 1.10 2024-07-26 12:02:46 -07:00
sd_hijack_checkpoint.py Free WebUI from its Prison 2024-08-05 04:21:35 -07:00
sd_hijack_clip_old.py remove unused 2024-08-05 12:14:43 -07:00
sd_hijack_clip.py remove unused 2024-08-05 12:14:43 -07:00
sd_hijack_ip2p.py remove unused 2024-08-05 12:14:43 -07:00
sd_hijack_open_clip.py remove unused 2024-08-05 12:14:43 -07:00
sd_hijack_optimizations.py Free WebUI from its Prison 2024-08-05 04:21:35 -07:00
sd_hijack_unet.py Free WebUI from its Prison 2024-08-05 04:21:35 -07:00
sd_hijack_utils.py Gradio 4 + WebUI 1.10 2024-07-26 12:02:46 -07:00
sd_hijack_xlmr.py remove unused 2024-08-05 12:14:43 -07:00
sd_hijack.py prompt-all-in-one now works 2024-08-08 13:46:42 -07:00
sd_models_config.py Free WebUI from its Prison 2024-08-05 04:21:35 -07:00
sd_models_types.py remove old stuff 2024-08-05 12:01:11 -07:00
sd_models_xl.py Free WebUI from its Prison 2024-08-05 04:21:35 -07:00
sd_models.py gguf preview 2024-08-15 00:03:32 -07:00
sd_samplers_cfg_denoiser.py cleanup codes 2024-08-11 22:07:54 -07:00
sd_samplers_common.py cleanup codes 2024-08-11 22:07:54 -07: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 flux img2img and highres.fix math 2024-08-11 18:07:50 -07:00
sd_samplers_lcm.py fix lcm 2024-08-18 19:23:12 -07:00
sd_samplers_timesteps_impl.py improve backward combability #936 2024-08-06 01:06:24 -07:00
sd_samplers_timesteps.py remove confusing codes that actually do nothing 2024-08-07 19:01:19 -07:00
sd_samplers.py rename file 2024-08-03 15:51:04 -07:00
sd_schedulers.py rework sd1.5 and sdxl from scratch 2024-08-05 03:08:17 -07:00
sd_unet.py Revert "Fix ruff linter (#137)" (#143) 2024-02-08 21:24:04 -05:00
sd_vae_approx.py revise preview logics 2024-08-07 18:00:58 -07:00
sd_vae_taesd.py revise preview logics 2024-08-07 18:00:58 -07:00
sd_vae.py do not raise 2024-08-11 16:21:52 -07:00
shared_cmd_options.py i 2024-01-27 09:44:44 -08:00
shared_gradio_themes.py Gradio 4 + WebUI 1.10 2024-07-26 12:02:46 -07:00
shared_init.py Revert "Fix ruff linter (#137)" (#143) 2024-02-08 21:24:04 -05:00
shared_items.py Free WebUI from its Prison 2024-08-05 04:21:35 -07:00
shared_options.py Add option to experiment with results from other impl 2024-08-11 17:02:50 -07:00
shared_state.py Gradio 4 + WebUI 1.10 2024-07-26 12:02:46 -07: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 show xformers on UI 2024-08-11 15:58:30 -07:00
styles.py Gradio 4 + WebUI 1.10 2024-07-26 12:02:46 -07:00
sysinfo.py Gradio 4 + WebUI 1.10 2024-07-26 12:02:46 -07:00
timer.py add --log-startup option to print detailed startup progress 2023-07-22 17:15:38 +03:00
torch_utils.py Gradio 4 + WebUI 1.10 2024-07-26 12:02:46 -07:00
txt2img.py Load Model only when click Generate 2024-08-08 14:51:13 -07:00
ui_checkpoint_merger.py gradio 3.39 2023-08-04 08:04:23 +03:00
ui_common.py Gradio 4 + WebUI 1.10 2024-07-26 12:02:46 -07:00
ui_components.py Gradio 4 + WebUI 1.10 2024-07-26 12:02:46 -07:00
ui_extensions.py Gradio 4 + WebUI 1.10 2024-07-26 12:02:46 -07: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 make Textual Inversion UI isolated 2024-08-03 21:21:41 -07:00
ui_extra_networks_user_metadata.py Gradio 4 + WebUI 1.10 2024-07-26 12:02:46 -07:00
ui_extra_networks.py Gradio 4 + WebUI 1.10 2024-07-26 12:02:46 -07:00
ui_gradio_extensions.py Gradio 4 + WebUI 1.10 2024-07-26 12:02:46 -07:00
ui_loadsave.py fix #880 2024-07-29 09:22:44 -06:00
ui_postprocessing.py Gradio 4 + WebUI 1.10 2024-07-26 12:02:46 -07:00
ui_prompt_styles.py Gradio 4 + WebUI 1.10 2024-07-26 12:02:46 -07:00
ui_settings.py Support LoRAs for Q8/Q5/Q4 GGUF Models 2024-08-15 05:34:46 -07:00
ui_tempdir.py Gradio 4 + WebUI 1.10 2024-07-26 12:02:46 -07:00
ui_toprow.py fix #880 2024-07-29 09:22:44 -06:00
ui.py invalidate cond cache if distilled CFG changed (#1240) 2024-08-17 19:34:11 -07:00
upscaler_utils.py 1.10.1 2024-07-27 06:39:58 -07:00
upscaler.py Gradio 4 + WebUI 1.10 2024-07-26 12:02:46 -07:00
util.py Gradio 4 + WebUI 1.10 2024-07-26 12:02:46 -07:00
xlmr_m18.py remove files 2024-08-05 21:24:35 -07:00
xlmr.py remove files 2024-08-05 21:24:35 -07:00
xpu_specific.py remove files 2024-08-05 21:24:35 -07:00