1
0
Fork 0
Commit Graph

79 Commits

Author SHA1 Message Date
Sean Sube 92311281df
fix(api): switch pipeline ctor based on VAE presence, improve panorama logging 2023-12-03 13:03:38 -06:00
Sean Sube 572db45bcb
lint and type fixes 2023-12-03 12:13:45 -06:00
Sean Sube 10fab12cd0
dedupe new latent resizing code 2023-12-03 11:11:28 -06:00
Sean Sube c42ca9ca38
handle panorama margins for img2img and inpaint 2023-12-03 06:28:36 -06:00
Sean Sube 16911b5f87
consistenly unpack views 2023-12-03 06:19:17 -06:00
Sean Sube 5035761e66
build empty values correctly 2023-12-02 22:10:59 -06:00
Sean Sube 728f58f3e7
divide latents using latent scale 2023-12-02 22:09:11 -06:00
Sean Sube d4611e958c
complete SD panorama tiles 2023-12-02 20:40:36 -06:00
Sean Sube 4b491ec4d5
correct resize scale 2023-12-02 20:31:52 -06:00
Sean Sube b54a57b379
fix(api): complete panorama tiles for SD pipeline 2023-12-02 20:21:31 -06:00
Sean Sube 103d1a449a
fix(api): resize latents to complete panorama blocks 2023-12-02 20:06:27 -06:00
Sean Sube 828c9511a6
fix(api): restore single-tile code path 2023-11-27 18:53:39 -06:00
Sean Sube d3a4cc8fd2
fix(api): use upstream SD upscaling pipeline as base for in-tree one 2023-11-26 15:23:28 -06:00
Sean Sube 75f1a2cead
pass results object to chain pipeline from endpoint 2023-11-26 10:43:08 -06:00
Sean Sube 57fc183b15
Merge remote-tracking branch 'github/main' into feat/00-plugins 2023-11-25 22:27:22 -06:00
Sean Sube 8d4410305e
fix(api): convert latents to numpy before using 2023-11-24 10:36:53 -06:00
Sean Sube 3ffb30f121
fix(api): update deprecated import from diffusers 2023-11-23 11:34:18 -06:00
Sean Sube f00bfe9bd0
more tests, apply lint 2023-11-23 11:19:58 -06:00
Sean Sube b6aed0542c
fix(api): update deprecated imports from diffusers 2023-11-21 19:10:41 -06:00
Sean Sube e64e514e7f
fix(api): add out channels to upscaling config 2023-11-18 21:35:57 -06:00
Sean Sube 2a27c3ffd1
fix(api): adjust region strength threshold to support up to 90% UNet overlap 2023-11-12 21:41:19 -06:00
Sean Sube 95e2d6d710
feat(api): add denoise stage, use before highres 2023-11-12 21:13:52 -06:00
Sean Sube 4460625309
try replacing NaN and clipping large values to reduce noise 2023-11-12 18:24:30 -06:00
Sean Sube 1ee6761340
apply lint 2023-11-12 16:38:56 -06:00
Sean Sube 09f600ab54
feat(api): skip regions on last timestep 2023-11-11 22:43:41 -06:00
Sean Sube 1fae41ddcf
feat(api): add edge options to region feathering 2023-11-11 20:17:52 -06:00
Sean Sube 798fa5fc6d
fix(api): allow random seed in reseed regions 2023-11-11 14:37:23 -06:00
Sean Sube 3622ac4bfb
work on non-square regions 2023-11-09 22:42:45 -06:00
Sean Sube 2af584eabf
add missing feather var 2023-11-08 22:05:06 -06:00
Sean Sube 4a2498ad8d
apply lint 2023-11-08 22:04:15 -06:00
Sean Sube 59515193a1
feat(api): add edge feathering to region prompts 2023-11-08 22:00:32 -06:00
Sean Sube 633e078036
unpack mask to match latents 2023-11-08 19:07:41 -06:00
Sean Sube f564bb3f65
add regions to non-XL panorama, add feathering to SDXL regions 2023-11-08 18:51:31 -06:00
Sean Sube 7c67d595fb
add more misc logging 2023-11-06 08:48:35 -06:00
Sean Sube 408e3d725b
use regional noise sample, avoid very errors from large multipliers 2023-11-05 22:48:07 -06:00
Sean Sube 997891b255
fix coords and threshold 2023-11-05 22:19:55 -06:00
Sean Sube 2de4eb92b2
replace previous latents when region multiplier passes threshold 2023-11-05 21:41:40 -06:00
Sean Sube 05f63a32b7
flip and fix h/v coords for regions 2023-11-05 19:25:13 -06:00
Sean Sube 1af6a75723
replace region mode with multiplier 2023-11-05 17:28:07 -06:00
Sean Sube baecb38343
fix region parsing 2023-11-05 16:25:48 -06:00
Sean Sube 8ba9f3c0b7
basic region prompt parsing 2023-11-05 15:46:37 -06:00
Sean Sube 5cf7a39be0
feat(api): add experimental region prompts to SDXL panorama 2023-11-05 15:36:36 -06:00
Sean Sube 78f834a678
apply lint 2023-09-10 11:26:55 -05:00
Sean Sube 0fa03e77ad
feat: add panorama pipeline for SDXL 2023-09-10 11:26:18 -05:00
Sean Sube 944c92b824
fix(api): ensure panorama never generates a negative number of views 2023-09-04 21:19:39 -05:00
Sean Sube 4b84188f6e
fix(api): make panorama switch mode based on kwargs 2023-07-01 15:04:12 -05:00
Sean Sube dde1e2daad
fix(api): correctly pass noise level to SD upscaling 2023-05-09 20:25:00 -05:00
Sean Sube 3b02fc5768
feat: add UNet stride as its own parameter 2023-05-03 19:15:05 -05:00
Sean Sube 98386cb385
fix(api): update latent window size on VAE patches 2023-05-02 19:57:26 -05:00
Sean Sube 95725fff79
feat(api): add tile size and stride to image parameters 2023-05-01 23:21:25 -05:00