Sean Sube
|
5b308d5fc1
|
lint(api): improve logging for inversion tokens
|
2023-03-18 12:04:39 -05:00 |
Sean Sube
|
2cb0a6be3c
|
more lint
|
2023-03-18 11:55:06 -05:00 |
Sean Sube
|
e104c81e19
|
apply lint
|
2023-03-18 11:50:09 -05:00 |
Sean Sube
|
f465120cad
|
use conversion dest path when applying additional nets
|
2023-03-18 11:34:05 -05:00 |
Sean Sube
|
1f6105a8fe
|
make blend functions take tuples rather than split lists
|
2023-03-18 10:50:48 -05:00 |
Sean Sube
|
5dd14c19ce
|
feat(api): build a single token for multi-layer Textual Inversions (#212)
|
2023-03-18 07:47:36 -05:00 |
Sean Sube
|
af62c1c3b6
|
apply lint
|
2023-03-18 07:41:29 -05:00 |
Sean Sube
|
e3bf04ab8f
|
feat(api): add section to extras file for additional networks
|
2023-03-18 07:40:57 -05:00 |
Sean Sube
|
c3979246df
|
make blending happen once after conversion
|
2023-03-18 07:14:22 -05:00 |
Sean Sube
|
84bd852837
|
feat(api): blend LoRAs and Textual Inversions from extras file
|
2023-03-18 07:01:24 -05:00 |
Sean Sube
|
226710a015
|
fix(api): use exception level logs
|
2023-03-16 22:29:07 -05:00 |
Sean Sube
|
9f0a6f134e
|
fix(api): move model conversion messages to trace level
|
2023-03-16 19:37:25 -05:00 |
Sean Sube
|
f4c0c52029
|
apply lint
|
2023-03-16 18:35:30 -05:00 |
Sean Sube
|
315e5a3837
|
fix(api): add theoretical support for 3x3 conv in LoRA
|
2023-03-15 19:37:17 -05:00 |
Sean Sube
|
8e8e230ffd
|
apply lint
|
2023-03-15 19:27:29 -05:00 |
Sean Sube
|
506cf9f65f
|
feat(api): blend Textual Inversions from prompt
|
2023-03-15 17:14:52 -05:00 |
Sean Sube
|
a7f77a033d
|
feat(api): parse LoRA weights from prompt
|
2023-03-15 08:30:31 -05:00 |
Sean Sube
|
45166f281e
|
apply lint
|
2023-03-14 23:32:47 -05:00 |
Sean Sube
|
91210ee236
|
remove extra param, correct output path
|
2023-03-14 23:32:18 -05:00 |
Sean Sube
|
03f4e1b922
|
start wiring LoRAs into prompt
|
2023-03-14 22:10:33 -05:00 |
Sean Sube
|
56a4519818
|
test loading UNet and encoder with LoRAs
|
2023-03-14 21:27:23 -05:00 |
Sean Sube
|
2a8c85cb3e
|
feat(api): blend ONNX models in memory
|
2023-03-14 19:38:27 -05:00 |
Sean Sube
|
4c17edb267
|
feat(api): add conversion script for LoRAs from sd-scripts (#213)
|
2023-03-14 18:17:00 -05:00 |
Sean Sube
|
0b1aa26be5
|
blend LoRAs into a valid ONNX UNet (#213)
|
2023-03-12 13:38:51 -05:00 |
Sean Sube
|
25c41c8d66
|
feat(api): add an option to remove temporary Torch files after converting to ONNX (#122)
|
2023-03-08 21:38:17 -06:00 |
Sean Sube
|
7bd98d4a46
|
apply lint
|
2023-03-07 23:57:39 -06:00 |
Sean Sube
|
843e2f1ff3
|
feat(api): look for an index file when checking for converted models (#222)
|
2023-03-07 23:40:04 -06:00 |
Sean Sube
|
30b08c6d6d
|
fix(api): log correct token when converting Textual Inversions
|
2023-03-07 23:05:53 -06:00 |
Sean Sube
|
6542646005
|
fix(api): match format in schema for sd-concepts
|
2023-03-07 22:53:05 -06:00 |
Sean Sube
|
c45915e558
|
fix(api): use server model path while converting SD checkpoints (#221)
|
2023-03-07 18:55:14 -06:00 |
Sean Sube
|
6d2dd0a043
|
apply lint
|
2023-03-05 07:20:43 -06:00 |
Sean Sube
|
10fbafaff0
|
fix(api): correct imports
|
2023-03-04 22:25:49 -06:00 |
Sean Sube
|
39d36618e6
|
feat(api): add support for custom tokens for textual inversions (#179)
|
2023-03-02 23:32:20 -06:00 |
Sean Sube
|
22e9d54408
|
apply lint
|
2023-03-02 22:32:37 -06:00 |
Sean Sube
|
be1c8cd79f
|
feat(api): support ckpt inversions by splitting multivector embeddings into multiple tokens
|
2023-03-02 22:11:27 -06:00 |
Sean Sube
|
9a0d2051fb
|
fix(api): better logging when converting textual inversions
|
2023-03-02 07:57:59 -06:00 |
Sean Sube
|
46aac263d5
|
feat(api): initial support for textual inversion embeddings from civitai and others (#179)
|
2023-03-01 19:09:51 -06:00 |
Sean Sube
|
4b77a00ca7
|
fix(api): load tokenizer with textual inversions
|
2023-03-01 19:08:31 -06:00 |
Sean Sube
|
21fc7c5968
|
fix(api): mark all convert methods as no_grad
|
2023-03-01 08:26:40 -06:00 |
Sean Sube
|
3f9f94fcb5
|
apply lint, remove unused
|
2023-02-28 23:05:17 -06:00 |
Sean Sube
|
2f4ab20f61
|
use filename for tensors
|
2023-02-28 22:49:53 -06:00 |
Sean Sube
|
74aae1b027
|
fix(api): write external weights into same directory as optimized model
|
2023-02-28 22:47:02 -06:00 |
Sean Sube
|
dbf9eaf1a4
|
fix(api): run shape inference before converting models to fp16
per discussion in https://github.com/microsoft/onnxruntime/issues/14827
|
2023-02-28 22:36:45 -06:00 |
Sean Sube
|
9ef89db8b0
|
extract tensors after conversion
|
2023-02-28 22:36:33 -06:00 |
Sean Sube
|
7e65e21410
|
reload model from proto file before converting
|
2023-02-28 22:36:26 -06:00 |
Sean Sube
|
2210ee849b
|
only convert inner nodes with ORT conversion helpers
|
2023-02-28 22:26:04 -06:00 |
Sean Sube
|
12fb7f52bb
|
fix(api): sanitize filenames in user input
|
2023-02-28 21:56:12 -06:00 |
Sean Sube
|
973b0a9352
|
add context arg
|
2023-02-25 12:13:22 -06:00 |
Sean Sube
|
d88f13cbd7
|
lint LoRA code and extras, replace public paths with context ones
|
2023-02-25 12:12:10 -06:00 |
Sean Sube
|
ce74183e97
|
blend LoRAs into existing model
|
2023-02-25 11:53:43 -06:00 |
Sean Sube
|
e8b5ff250d
|
add none option to inversion menu
|
2023-02-25 11:53:37 -06:00 |
Sean Sube
|
45f5fca383
|
use correct fn to make dirs
|
2023-02-25 11:53:29 -06:00 |
Sean Sube
|
3dfaef041e
|
fix devices, make subdir
|
2023-02-25 11:53:26 -06:00 |
Sean Sube
|
3f4b3fa322
|
load CLIP on training device
|
2023-02-25 11:53:23 -06:00 |
Sean Sube
|
6b4ced2608
|
load inversions from extras file
|
2023-02-25 11:53:20 -06:00 |
Sean Sube
|
9dedfc7b28
|
add experimental LoRA blender
|
2023-02-25 11:53:17 -06:00 |
Sean Sube
|
a31f7b9e1f
|
feat(api): convert Textual Inversion weights
|
2023-02-25 11:53:13 -06:00 |