Commit Graph

7462 Commits

Author SHA1 Message Date
Logan
1d74482817 Default device for sigma tensor to CPU
* Consistent with implementations in k-diffusion.
* Makes this compatible with https://github.com/AUTOMATIC1111/stable-diffusion-webui/pull/15823
2024-05-18 09:09:57 +10:00
huchenlei
b57a70f373 Proper fix of SD15 dtype 2024-05-17 13:34:04 -04:00
huchenlei
dca9007ac7 Fix SD15 dtype 2024-05-17 13:23:12 -04:00
drhead
cc9ca67664
Add transformer forward patch 2024-05-17 13:14:26 -04:00
drhead
53d67088ee
Patch timestep embedding to create tensor on-device 2024-05-17 12:12:57 -04:00
w-e-w
10f2407f48 xyz csv skipinitialspace 2024-05-18 01:00:48 +09:00
huchenlei
47f1d42a7e Fix for SD15 models 2024-05-16 20:06:04 -04:00
huchenlei
2a8a60c2c5 Add --precision half cmd option 2024-05-16 19:50:06 -04:00
huchenlei
58eec83a54 Fully prevent use_checkpoint 2024-05-16 16:39:02 -04:00
Andray
221ac0b9ab img2img batch upload method 2024-05-16 23:08:24 +04:00
huchenlei
b2ae4490b9 Fix LoRA bias error 2024-05-16 14:45:00 -04:00
huchenlei
51b13a8c54 Prevent uncessary bias backup 2024-05-16 11:39:01 -04:00
huchenlei
3e20b36e8f Fix attr access 2024-05-15 17:27:01 -04:00
huchenlei
6a48476502 Fix flag check for SD15 2024-05-15 16:54:26 -04:00
huchenlei
9eb2f78631 Precompute is_sdxl_inpaint flag 2024-05-15 16:32:29 -04:00
huchenlei
0e98529365 Replace einops.rearrange with torch native 2024-05-15 15:46:53 -04:00
huchenlei
022d835565 use_checkpoint = False 2024-05-15 15:20:40 -04:00
Logan
d6b4444069 Use shared.sd_model.is_sdxl to determine base AYS sigmas 2024-05-10 18:05:45 +10:00
Logan
73d1caf8f2 Add Align Your Steps to available schedulers
* Include both SDXL and SD 1.5 variants (https://research.nvidia.com/labs/toronto-ai/AlignYourSteps/howto.html)
2024-05-10 12:38:10 +10:00
w-e-w
5d5224b322 fix_p_invalid_sampler_and_scheduler 2024-05-02 02:25:16 +09:00
missionfloyd
c8336c45b9 Use existing function for old sampler names 2024-04-30 01:53:41 -06:00
missionfloyd
579f1ef278 Allow old sampler names in API 2024-04-28 22:36:43 -06:00
drhead
3a215deff2
vectorize kl-optimal sigma calculation
Co-authored-by: mamei16 <marcel.1710@live.de>
2024-04-28 00:15:58 -04:00
drhead
029adbe531
implement option to skip uncond on all steps below ngms 2024-04-23 03:15:56 -04:00
drhead
33cbbf9f8b
add s_min_uncond_all option 2024-04-23 03:15:00 -04:00
drhead
6e9b69a338
change skip_early_cond code to use float 2024-04-23 03:08:28 -04:00
drhead
83182d2799
change skip early cond option name and to float 2024-04-23 03:07:25 -04:00
drhead
83266205d0
Add KL Optimal scheduler 2024-04-23 00:09:43 -04:00
drhead
8016d78a4b
add option for early cfg skip 2024-04-22 23:42:24 -04:00
drhead
a1aa0af8a4
add code for skipping CFG on early steps 2024-04-22 23:38:44 -04:00
w-e-w
4bc39d234d Show LoRA if model is None 2024-04-23 02:39:45 +09:00
w-e-w
2b717bb195 fix initial corrupt model loop
if for some reason the initial loading model at loading phase of webui  is corrupted
after entering this state the user will not be able to load even a good model is selected, due the the unload_model_weights  > send_model_to_cpu > m.lowvram attribute check will fail becaules m is None
webui will be stuck in the loop unable to recover without manual intervention
2024-04-23 02:35:25 +09:00
AUTOMATIC1111
ddb28b33a3 Merge branch 'master' into dev 2024-04-22 18:01:16 +03:00
AUTOMATIC1111
1c0a0c4c26 Merge branch 'dev' 2024-04-22 18:00:36 +03:00
AUTOMATIC1111
7dfe959f4b update changelog 2024-04-22 18:00:23 +03:00
AUTOMATIC1111
8f64dad282
Merge pull request #15594 from AUTOMATIC1111/fix-get_crop_region_v2
fix get_crop_region_v2
2024-04-22 17:57:39 +03:00
w-e-w
821adc3041 fix get_crop_region_v2
Co-Authored-By: Dowon <ks2515@naver.com>
2024-04-22 23:10:19 +09:00
AUTOMATIC1111
e2b177c508 Merge branch 'dev' 2024-04-22 12:26:24 +03:00
AUTOMATIC1111
e837124f4b changelog 2024-04-22 12:26:05 +03:00
AUTOMATIC1111
3fdc3cfbbf
Merge pull request #15591 from AUTOMATIC1111/restore-1.8.0-style-naming-of-scripts
Restore 1.8.0 style naming of scripts
2024-04-22 12:24:06 +03:00
w-e-w
e9809de651 restore 1.8.0-style naming of scripts 2024-04-22 18:23:58 +09:00
AUTOMATIC1111
61f6479ea9 restore 1.8.0-style naming of scripts 2024-04-22 12:19:30 +03:00
AUTOMATIC1111
e84703b253 update changelog 2024-04-22 11:59:54 +03:00
AUTOMATIC1111
e4aa0c362e
Merge pull request #15587 from AUTOMATIC1111/fix-mistake-in-#15583
fix mistake in #15583
2024-04-22 11:50:34 +03:00
AUTOMATIC1111
a183ea4ba7 undo adding scripts to sys.modules 2024-04-22 11:49:55 +03:00
w-e-w
6c7c176dc9 fix mistake in #15583 2024-04-22 00:10:49 +09:00
AUTOMATIC1111
e6a8d0b4e6
Merge pull request #15583 from AUTOMATIC1111/get_crop_region_v2
get_crop_region_v2
2024-04-21 18:06:40 +03:00
w-e-w
db263df5d5 get_crop_region_v2 2024-04-21 19:34:11 +09:00
AUTOMATIC1111
d1998d747d
Merge pull request #15531 from thatfuckingbird/fix-mistyped-function-name
fix typo in function call (eror -> error)
2024-04-21 07:43:19 +03:00
AUTOMATIC1111
c0eaeb15af
Merge pull request #15532 from huchenlei/fix_module
Fix cls.__module__ value in extension script
2024-04-21 07:42:57 +03:00