Commit Graph

7471 Commits

Author SHA1 Message Date
w-e-w
969a462ac9 xyz util confirm_range 2024-05-18 18:38:24 +09:00
w-e-w
501ac016da Reformat 2024-05-18 18:38:24 +09:00
drhead
feeb6802aa
fix case where first step skilled if skip early cond is 0 2024-05-18 01:22:31 -04:00
Andray
281e0a007b scroll extensions table on overflow 2024-05-18 09:13:16 +04:00
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
w-e-w
f015b94176 use torch_utils.float64 2024-05-16 23:19:06 +09:00
w-e-w
41f66849c7 mps, xpu compatibility 2024-05-16 23:18:20 +09:00
w-e-w
9c8075ba8e torch_utils.float64
return torch.float64 if device is not mps or xpu, else return torch.float32
2024-05-16 23:16:50 +09: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
w-e-w
5ab7d08a0a fix extention update when not on main branch 2024-05-15 17:27:05 +09:00
elf-mouse
ef7713fbb2 chore: sync v1.8.0 packages according to changelog, fix warning 2024-05-14 15:39:05 +08: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