1
0
Fork 0
Commit Graph

96 Commits

Author SHA1 Message Date
Sean Sube eb8bd145c9
null checks 2023-12-26 08:07:05 -06:00
Sean Sube da6e813638
rename old converter 2023-12-24 06:24:45 -06:00
Sean Sube 9a077fae15
feat(api): replace legacy SD converter with optimum-based one by default 2023-12-23 22:55:52 -06:00
Sean Sube b6ef00e437
feat(api): add new optimum-based SD converter 2023-12-23 22:09:57 -06:00
Sean Sube 50d51a3921
fix(api): make argument for skipping base models work correctly 2023-12-23 14:21:39 -06:00
Sean Sube ccff9a3136
fix(api): silence controlnet registration warnings 2023-12-21 21:30:49 -06:00
Sean Sube ba9982af51
fix(api): various controlnet fixes 2023-12-19 19:19:48 -06:00
Sean Sube f3e1beaa71
feat(api): add converter to extract ZIP archives (#437) 2023-12-16 22:14:43 -06:00
Sean Sube 9c1fcd16fa
fix(api): only fetch diffusion models if they have not already been converted (#398) 2023-12-10 13:52:52 -06:00
Sean Sube 3b32cd4ac3
sonar lint 2023-12-10 11:45:52 -06:00
Sean Sube 35c973e55f
pass correct metadata to network converter 2023-12-09 23:07:56 -06:00
Sean Sube 52e78748c8
keep model field optional 2023-12-09 23:05:41 -06:00
Sean Sube 4c5bb906e8
pass conversion context to generic sources 2023-12-09 20:36:04 -06:00
Sean Sube 20b719fdff
special downloading for embeds 2023-12-09 19:15:28 -06:00
Sean Sube 7496613f4e
fix fetch calls 2023-12-09 18:46:47 -06:00
Sean Sube cc8e564d26
split up download clients, add to plugin exports 2023-12-09 18:04:34 -06:00
Sean Sube 293a1bb184
fix(api): include SD upscaling in diffusion prefixes 2023-12-08 22:26:19 -06:00
Sean Sube 46d9fc0dd4
fix(api): make sure diffusion models have a valid prefix 2023-12-08 18:49:18 -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 f2d0c2f765
apply lint 2023-09-10 11:53:36 -05:00
Sean Sube fe68670844
feat(api): add conversion for SDXL models 2023-09-10 11:52:46 -05:00
Sean Sube 6ec7777f77
lint(api): type fixes and hints throughout 2023-07-04 10:20:28 -05:00
Sean Sube 0d51d61728
feat(api): add env vars for controlnet conversion and opset 2023-05-14 20:04:43 -05:00
Sean Sube f1856cb0d2
reload models and extras after conversion 2023-05-08 21:59:27 -05:00
Sean Sube 6f38d35c73
default content type, use arg parser for override 2023-05-08 21:56:05 -05:00
Sean Sube c992c03584
write extras as string, override conversion args from endpoint 2023-05-08 21:49:36 -05:00
Sean Sube da6aa15afc
fix(api): fully qualify HF models (#371) 2023-05-05 18:33:54 -05:00
Sean Sube d66bf9e54f
fix(api): download pretrained models from HF correctly (#371) 2023-05-03 22:21:04 -05:00
Sean Sube b6692f068e
fix(api): parse config files as JSON or YAML depending on extension (#370) 2023-05-03 22:15:17 -05:00
Sean Sube e28bbe2c18
set safetensor and dtype when loading 2023-04-29 23:05:51 -05:00
Sean Sube 1c308e0bab
collect and summarize errors while converting models 2023-04-29 22:58:58 -05:00
Sean Sube 4c126153f5
fix(api): switch to diffusers ckpt loading, add more pipelines to conversion (#337, #356) 2023-04-29 12:00:43 -05:00
Sean Sube 9e9fe90f80
chore(api): remove SD v2.1 from base models 2023-04-23 18:23:05 -05:00
Sean Sube df0e7dc57e
feat: add admin endpoint to restart image workers (#207) 2023-04-20 07:36:31 -05:00
Sean Sube 161913bb7e
fix(api): add pre-converted ControlNets to base sources, add missing ControlNet strings 2023-04-15 16:55:53 -05:00
Sean Sube a3daaf0112
initial integration of controlnet pipeline 2023-04-11 19:29:25 -05:00
Sean Sube 7f6da8eeca
feat(api): add params for SwinIR large models 2023-04-10 19:13:49 -05:00
Sean Sube 6570d19fa3
feat(api): add SwinIR real x4 to base models 2023-04-10 19:04:52 -05:00
Sean Sube 2a7621c195
feat(api): add params for more SwinIR models 2023-04-10 19:02:12 -05:00
Sean Sube 62aa7e8473
feat(api): add initial support for BSRGAN and SwinIR upscaling (#153, #154) 2023-04-10 17:49:56 -05:00
Sean Sube b6bb246032
apply lint 2023-04-09 20:34:10 -05:00
Sean Sube 9698e29268
lint(api): name context params consistently (#278) 2023-04-09 20:33:03 -05:00
Sean Sube 25176fea4d
fix(api): correctly blend LoRAs into UNet during conversion 2023-04-06 23:34:06 -05:00
Sean Sube c8382dc689
feat(api): implement spiral tile order for non-square images 2023-04-04 20:02:13 -05:00
Sean Sube c2f8fb1d31
fix(api): combine names for ONNX fp16 optimization 2023-03-27 08:55:01 -05:00
Sean Sube afa8f5e706
feat(api): add optimization for internal fp16 conversion 2023-03-26 22:41:12 -05:00
Sean Sube 2c47904057
lint(api): use constant for model filename 2023-03-24 08:14:19 -05:00
Sean Sube 4f6574c88e
sonar lint fixes 2023-03-21 17:11:38 -05:00
Sean Sube f779fbd5cc
fix(api): remove prefix before downloading for HF hub 2023-03-19 23:30:31 -05:00
Sean Sube ae3bcf3b8b
fix(api): add HF hub download to fetch logic for Inversion concepts 2023-03-19 20:32:21 -05:00