1
0
Fork 0
Commit Graph

1412 Commits

Author SHA1 Message Date
Sean Sube b31f546516
lint(api): use more accurate worker name throughout 2023-07-15 18:54:54 -05:00
Sean Sube ada482c183
add and use retry exception type 2023-07-15 17:05:27 -05:00
Sean Sube 1942c45789
apply lint 2023-07-15 16:55:52 -05:00
Sean Sube c7e1fce557
clear model cache on stage errors 2023-07-15 12:33:07 -05:00
Sean Sube 822dfeab01
only remove retries when an error occurs 2023-07-15 12:26:37 -05:00
Sean Sube 4f0c6d292d
exit from chain pipeline when retries are exhausted 2023-07-15 12:18:25 -05:00
Sean Sube 7761aea28b
share retries throughout pipeline 2023-07-15 11:20:25 -05:00
Sean Sube d418cb1bc2
run GC during stage retries 2023-07-15 11:00:06 -05:00
Sean Sube caa96ed645
apply lint 2023-07-15 09:26:39 -05:00
Sean Sube 0a701c8d6c
add retry to stage loop 2023-07-15 09:12:37 -05:00
Sean Sube 170e1c7a70
fix(build): copy extras file into image from models dir 2023-07-14 22:50:55 -05:00
Sean Sube eebbd8e7c7
apply lint 2023-07-13 07:35:20 -05:00
BZLibby 5ecc874c70 fix wildcard scripts to work on windows 2023-07-13 05:19:13 -07:00
HoopyFreud ae6166aaf9 Update setup-nvidia.ps1 2023-07-13 05:18:54 -07:00
HoopyFreud 5578b9b66b Update setup-cpu.ps1 2023-07-13 05:18:54 -07:00
HoopyFreud 1e565c9bca Add ps1 setup script support 2023-07-13 05:18:54 -07:00
HoopyFreud 81ac14b87d Delete extras.json
Delete extraneous extras.json
2023-07-13 05:18:54 -07:00
HoopyFreud 74dd2b82d7 Delete launch-extras.sh
Deleting redundant launch scripts
2023-07-13 05:18:54 -07:00
HoopyFreud f21375f9b0 Delete launch-extras.bat
Deleting redundant launch scripts
2023-07-13 05:18:54 -07:00
HoopyFreud 04c7bed4eb Add PS1 (powershell) launch support 2023-07-13 05:18:54 -07:00
Sean Sube cf95ad2f0e
fix(api): match size of existing latent patch 2023-07-12 22:02:05 -05:00
Sean Sube 3d4c77d5d0
fix(api): generate new latents for partial tiles 2023-07-12 22:00:11 -05:00
Sean Sube 4b8358b0c9
Merge remote-tracking branch 'hoopyfreud/main' 2023-07-12 21:59:39 -05:00
HoopyFreud 6fee7f418d
Merge branch 'main' into main 2023-07-12 21:55:44 -04:00
HoopyFreud 7d9f93c7ea
Update run.py
Fixed full_res_inpaint check when combined with border zero check
2023-07-12 20:42:04 -04:00
Sean Sube 5df9aa2af7
feat(api): load wildcards from markup files 2023-07-12 18:56:48 -05:00
Sean Sube 865b25e6d7
feat(api): support wildcards in nested folders 2023-07-11 22:29:48 -05:00
HoopyFreud 1ecc4969de linting 2023-07-10 23:24:36 -04:00
HoopyFreud bf7a1089d3 forgot to save 2023-07-10 23:24:05 -04:00
HoopyFreud 3c1fa6094e full-res inptaining as parameters 2023-07-10 23:16:17 -04:00
HoopyFreud 58b5d18608 better mask shifting 2023-07-10 22:22:08 -04:00
HoopyFreud 9b630f97ee
Merge branch 'ssube:main' into main 2023-07-10 20:02:32 -04:00
Sean Sube 1a084eba1c
apply lint 2023-07-10 17:48:26 -05:00
Sean Sube d9dd1e4b57
fix(api): improve handling of non-square images around tile size 2023-07-10 17:41:08 -05:00
HoopyFreud b9f1e7acc1 added shifting for near-border full-res inpaint 2023-07-10 10:24:39 -04:00
HoopyFreud 2b4f640711 wrong check. don't code while sleepy. 2023-07-10 02:33:13 -04:00
HoopyFreud e37a7fe92f syntax error 2023-07-10 02:32:02 -04:00
HoopyFreud b1347ed1cc added border integrity check 2023-07-10 02:15:46 -04:00
HoopyFreud b9603faccd full-res inpaint 2023-07-10 02:02:30 -04:00
Sean Sube 95cad909fc
use tile size when completing partial latents 2023-07-09 23:49:34 -05:00
Sean Sube 8acfaaa1ee
ensure tiled latents are correct shape 2023-07-09 22:45:51 -05:00
Sean Sube da6f00d2a5
prevent latent tiles from going out of bounds 2023-07-09 22:35:15 -05:00
Sean Sube 76bed9582b
fixes for txt2img 2023-07-09 22:28:23 -05:00
Sean Sube 60aa8ab4c0
fix(api): generate latents before tiling 2023-07-09 22:19:40 -05:00
HoopyFreud c15f750821
Merge pull request #1 from HoopyFreud/main
Update to latest code
2023-07-09 14:59:58 -04:00
HoopyFreud e1d3821792
Update base.py
Updated logging for stage run
2023-07-09 14:31:11 -04:00
HoopyFreud 75a22cc51b
Merge branch 'main' into main 2023-07-09 14:13:54 -04:00
HoopyFreud 925c740ddf
Merge branch 'main' into tiled-inpaint 2023-07-09 14:12:51 -04:00
HoopyFreud ed03222234
Update tile.py
Fixed extra noise source imports
2023-07-09 14:11:25 -04:00
Sean Sube 2cc4feefe9
fix(api): save prompt with wildcards replaced in EXIF data 2023-07-09 11:51:14 -05:00
HoopyFreud 306f7e9989 linting 2023-07-09 01:02:27 -04:00
HoopyFreud 08172a7236 new tiled inpainting method 2023-07-09 00:56:20 -04:00
HoopyFreud 3fbf9baae6 linting 2023-07-08 21:30:54 -04:00
HoopyFreud 80e124554d
Update tile.py
Accommodated no-source tiles better
2023-07-08 21:27:28 -04:00
HoopyFreud 757fb0d6a8
Update run.py
Added variable overlap to txt2img
2023-07-08 21:26:45 -04:00
HoopyFreud 2d24ed8ff8 tiling in txt2img, subtiling in txt2img and img2img 2023-07-08 20:48:40 -04:00
HoopyFreud 098873b89c
Merge branch 'main' into main 2023-07-08 10:18:19 -04:00
HoopyFreud 8085015d2a linted 2023-07-08 10:17:35 -04:00
HoopyFreud 332946d8d5
Update tile.py
Fixed logging
2023-07-08 10:03:06 -04:00
HoopyFreud 05e8addb06
Update tile.py
Update spiral tiling
2023-07-06 22:46:36 -04:00
HoopyFreud cecee8653b
Update run.py
Use overlap in img2img
2023-07-06 22:46:03 -04:00
HoopyFreud 36b94bac82
Update params.py
Change default tiling
2023-07-06 22:44:53 -04:00
Sean Sube f7fc442ba5
fix(api): keep network tokens while replacing wildcards in the saved prompt 2023-07-06 21:16:51 -05:00
Sean Sube b8c0bb03e8
apply lint 2023-07-06 18:46:21 -05:00
Sean Sube e65de8115e
feat(api): do not repeat wildcard values 2023-07-06 18:10:08 -05:00
Sean Sube 2121c7aa5d
feat(scripts): add json and parquet support to prompt book parser 2023-07-06 08:11:43 -05:00
Sean Sube 818d222ff8
apply lint 2023-07-05 23:05:47 -05:00
Sean Sube de8105ec60
feat(scripts): add script to parse prompt books 2023-07-05 23:05:00 -05:00
Sean Sube 1133321179
chore(scripts): reduce timeout for slow release tests 2023-07-05 23:04:38 -05:00
Sean Sube 17a710197c
feat(api): ignore comments and empty lines in wildcard files 2023-07-05 23:04:11 -05:00
Sean Sube 15c26cd74b
fix(api): remove tile size limit for img2img and outpaint stages 2023-07-05 17:16:30 -05:00
Sean Sube 3798ea77e7
fix(api): collect final images from SD upscale stage 2023-07-05 08:22:29 -05:00
Sean Sube fed4315095
fix(api): remove unintentional tuple in img2img pipe 2023-07-05 06:50:33 -05:00
Sean Sube c0dd4e96dc
fix(api): handle panoramic outpainting output 2023-07-04 20:44:48 -05:00
Sean Sube 0b5f554cf4
re-parse input prompt before saving metadata 2023-07-04 20:13:45 -05:00
Sean Sube 42e6f356a9
fix(api): unwrap results of img2img chain 2023-07-04 18:48:07 -05:00
Sean Sube 10050263bf
create batch size latents 2023-07-04 17:27:10 -05:00
Sean Sube 89dbf81335
fix(api): pass batch size and eta params to txt2img stage 2023-07-04 17:24:37 -05:00
Sean Sube 17b90ef2d7
use correct pipeline output 2023-07-04 17:14:25 -05:00
Sean Sube ac55fbd7d0
replace wildcards properly 2023-07-04 17:12:10 -05:00
Sean Sube a3f6fca989
init wildcards as dict 2023-07-04 16:57:44 -05:00
Sean Sube 933ee50375
load wildcards from models subdir 2023-07-04 16:56:39 -05:00
Sean Sube ec4662690f
use extension when loading wildcards 2023-07-04 16:55:26 -05:00
Sean Sube fa3a36ed25
fix(api): replace unknown wildcards with empty string 2023-07-04 16:54:17 -05:00
Sean Sube c8a9dd4475
feat(api): add support for wildcards 2023-07-04 16:41:54 -05:00
Sean Sube b816307994
fix(api): send tile filters as correct type 2023-07-04 16:40:02 -05:00
Sean Sube 6425a91fe3
fix(api): support multiple outputs from txt2img stage 2023-07-04 16:24:47 -05:00
Sean Sube 7c1b85f793
fix(api): define tile size for logging 2023-07-04 16:22:24 -05:00
Sean Sube 99a073aed2
update API entrypoints for multi-image 2023-07-04 13:56:02 -05:00
Sean Sube e1fcbb9093
start updating chain logic for multiple outputs 2023-07-04 13:47:31 -05:00
Sean Sube 37185252a5
feat(api): make pipeline stages support multiple images 2023-07-04 13:29:58 -05:00
Sean Sube f718087a54
lint(api): make chain pipeline logs more consistent 2023-07-04 12:27:17 -05:00
Sean Sube d1ecef9f2e
apply lint 2023-07-04 12:09:46 -05:00
Sean Sube 6ec7777f77
lint(api): type fixes and hints throughout 2023-07-04 10:20:28 -05:00
Sean Sube 5d13629ee8
fix(api): log number of tiles contributing to each image pixel 2023-07-03 11:39:48 -05:00
Sean Sube ed953f518a
feat(api): apply overlap to highres upscaling stage 2023-07-03 11:34:17 -05:00
Sean Sube 47b10945ff
fix(api): use consistent cache key for each model type 2023-07-03 11:33:56 -05:00
Sean Sube a9fa76737e
fix(api): pass strength to LPW pipe from img2img blend 2023-07-03 08:27:37 -05:00
Sean Sube 3653723742
lint(api): move tile gradient logs to debug level 2023-07-03 08:05:57 -05:00
Sean Sube 197dc48b06
fix(api): make img2img blend work with LPW 2023-07-03 08:05:30 -05:00