1
0
Fork 0
Commit Graph

145 Commits

Author SHA1 Message Date
Sean Sube 00db9a2787
fix(api): make sure ControlNet constructor is used for same pipeline (#449) 2023-12-31 13:00:34 -06:00
Sean Sube 1035915d36
apply lint 2023-12-29 08:19:58 -06:00
Sean Sube 973677967d
fix(api): turn off SDXL's very visible watermarking (#438) 2023-12-28 22:54:53 -06:00
Sean Sube ba9982af51
fix(api): various controlnet fixes 2023-12-19 19:19:48 -06:00
Sean Sube a716f6db1f
fix(api): add loading path for controlnet 2023-12-18 22:21:33 -06:00
Sean Sube 695eeaf303
feat(api): remove deprecated Karras Ve scheduler (#189) 2023-12-14 22:36:52 -06:00
Sean Sube 2fc5ec930c
feat(api): add support for DPM SDE scheduler 2023-12-09 23:51:09 -06:00
Sean Sube 7c3e9c22d0
improve some logs, update test refs for panorama 2023-12-03 15:34:34 -06:00
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 9b4ae0916b
lint and test fixes 2023-12-03 12:53:50 -06:00
Sean Sube 10fab12cd0
dedupe new latent resizing code 2023-12-03 11:11:28 -06:00
Sean Sube 828c9511a6
fix(api): restore single-tile code path 2023-11-27 18:53:39 -06:00
Sean Sube fa38b474f0
fix(api): abandon pretrained loader entirely to fix SD upscaling 2023-11-26 14:13:45 -06:00
Sean Sube 93e3125e28
fix(api): be more careful with VAE patch flags, add margin to latents if needed 2023-11-25 23:18:57 -06:00
Sean Sube 02447f5fd6
fix(api): provide some necessary SDXL config 2023-11-25 12:29:17 -06:00
Sean Sube 192bd08156
apply sonar lint 2023-11-25 07:50:36 -06:00
Sean Sube 44a23a6366
apply lint 2023-11-24 22:40:01 -06:00
Sean Sube 3f3811e16a
fix(api): build SDXL pipeline to avoid optimum patches 2023-11-24 17:02:21 -06:00
Sean Sube a90a963765
fix(api): ensure pipeline is using selected scheduler 2023-11-23 23:22:05 -06:00
Sean Sube 66dfa7206a
add LCM to available scheduler list 2023-11-21 23:23:46 -06:00
Sean Sube fd97eebfa2
feat(api): add LCM scheduler 2023-11-21 23:14:15 -06:00
Sean Sube 7e6749e0d7
apply lint, add missing file 2023-11-18 18:13:13 -06:00
Sean Sube 535b685a57
feat(api): add basic plugin system 2023-11-18 17:20:13 -06:00
Sean Sube eb3f1479f2
fix(api): only use optimum's fp16 mode for SDXL export when torch fp16 is enabled 2023-11-16 21:45:50 -06:00
Sean Sube 798fa5fc6d
fix(api): allow random seed in reseed regions 2023-11-11 14:37:23 -06:00
Sean Sube 7c67d595fb
add more misc logging 2023-11-06 08:48:35 -06:00
Sean Sube 2de4eb92b2
replace previous latents when region multiplier passes threshold 2023-11-05 21:41:40 -06:00
Sean Sube 8ba9f3c0b7
basic region prompt parsing 2023-11-05 15:46:37 -06:00
Sean Sube e8d7d9a881
feat: split up UNet and VAE tile size and overlap/stride params 2023-11-04 20:41:58 -05:00
Sean Sube 23aa00d696
start testing pipeline loading 2023-09-25 21:57:25 -05:00
Sean Sube fc02fa6be1
fix(api): blend embeddings into second tokenizer/text encoder for SDXL 2023-09-25 18:24:16 -05:00
Sean Sube e338fcd0e0
lint(api): start renaming inversions to embeddings in code 2023-09-24 18:15:58 -05:00
Sean Sube cdb09d2b44
fix variable name 2023-09-24 18:05:48 -05:00
Sean Sube e1c2ae5b1b
serialize models before loading 2023-09-24 18:04:23 -05:00
Sean Sube a3a04fd1f4
clean up text encoder loading logic, deduplicate sessions 2023-09-24 18:01:56 -05:00
Sean Sube 85b4245cef
fix text encoder loading 2023-09-24 15:02:39 -05:00
Sean Sube 539140909b
fix XL text encoder loading 2023-09-24 10:04:44 -05:00
Sean Sube 56f19256b5
fix(api): correctly load text encoder 2 and VAE without LoRAs 2023-09-24 09:49:16 -05:00
Sean Sube d11b37f0b2
move text encoder 2 loading 2023-09-23 22:59:41 -05:00
Sean Sube 6b6f63564e
lint(api): start breaking down model loading 2023-09-23 20:11:05 -05:00
Sean Sube d48dbf7d6e
fix(api): enable Unet patch for SDXL 2023-09-20 19:28:34 -05:00
Sean Sube af6cb1f295
more lint 2023-09-15 19:22:53 -05:00
Sean Sube bbff1913ef
fix(api): do not apply prompt expansion patch to SDXL 2023-09-13 22:09:41 -05:00
Sean Sube e034ebfc13
add a bunch of tests 2023-09-13 22:03:39 -05:00
Sean Sube 0a5f725efa
apply lint 2023-09-12 19:17:03 -05:00
Sean Sube 55ddb9fdac
feat(api): attempt to calculate total steps for chain pipelines 2023-09-12 18:16:16 -05:00
Sean Sube 4ccdedba89
set model path for VAE sessions 2023-09-12 07:32:29 -05:00
Sean Sube d4b013068d
fix(api): ensure VAE is loaded on correct device 2023-09-12 07:21:35 -05:00
Sean Sube 0fa03e77ad
feat: add panorama pipeline for SDXL 2023-09-10 11:26:18 -05:00
Sean Sube 761ee05134
apply lint 2023-09-05 17:36:17 -05:00