Sean Sube
7e6749e0d7
apply lint, add missing file
2023-11-18 18:13:13 -06:00
Sean Sube
a63669c76b
start replacing image output with results
2023-11-18 18:08:38 -06:00
Sean Sube
d52c68d607
feat(api): add chain pipeline stage result type
2023-11-18 17:19:35 -06:00
Sean Sube
95e2d6d710
feat(api): add denoise stage, use before highres
2023-11-12 21:13:52 -06:00
Sean Sube
bdda39f924
Merge pull request #411 from HoopyFreud/main
...
Fixed inpaint issue with no tile_mask
2023-11-12 16:40:26 -06:00
HoopyFreud
63dfec6770
Fixed inpaint issue with no tile_mask
...
Currently inpainting does not work because the tiler needs to generate a tile_mask. This solves the issue by sending any pipeline that has sources through the tiler.
2023-11-06 16:53:16 -05: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
911f87f7ec
fix(api): only consume one retry per error
2023-11-05 19:23:42 -06:00
Sean Sube
b851c234fe
more tests
2023-09-14 19:35:48 -05:00
Sean Sube
a33c88e670
fix(api): make request parsing consistent between JSON and forms
2023-09-13 17:27:44 -05:00
Sean Sube
e7aad281b0
fix(api): only remove one retry after each tile failure
2023-09-13 17:26:43 -05:00
Sean Sube
505e408dd6
use pipeline output count
2023-09-13 08:43:31 -05:00
Sean Sube
0a5f725efa
apply lint
2023-09-12 19:17:03 -05:00
Sean Sube
f9acf9b50f
fix(api): report chain progress using a new callback if none was provided
2023-09-12 18:19:07 -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
eeebdfebcb
set unlimited tile to large value, clarify variable names
2023-09-11 17:37:20 -05:00
Sean Sube
1247cb7307
super hacky multi tiling
2023-09-11 07:28:20 -05:00
Sean Sube
51b10de265
pass initial device to chain
2023-09-10 22:46:06 -05:00
Sean Sube
fb7a0996a8
wire up per stage params
2023-09-10 22:21:48 -05:00
Sean Sube
dcc0063195
pass params per stage
2023-09-10 22:19:29 -05:00
Sean Sube
9f9ef8878d
apply lint
2023-07-15 19:01:06 -05:00
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
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
95cad909fc
use tile size when completing partial latents
2023-07-09 23:49:34 -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
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
2d24ed8ff8
tiling in txt2img, subtiling in txt2img and img2img
2023-07-08 20:48:40 -04:00
Sean Sube
17b90ef2d7
use correct pipeline output
2023-07-04 17:14:25 -05:00
Sean Sube
b816307994
fix(api): send tile filters as correct type
2023-07-04 16:40:02 -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
3edf5e6c4d
fix(api): handle unlimited size stages correctly
2023-07-02 18:57:11 -05:00
Sean Sube
c9a1ace40b
fix(api): tile stages based on input image or size param
2023-07-02 18:14:52 -05:00
Sean Sube
a7be651032
fix(api): remove nested tiling in highres
2023-07-02 12:39:59 -05:00