Bryce
316114e660
docs: add docstrings
...
Wrote an openai script and custom prompt to generate them.
2023-12-15 14:32:01 -08:00
Bryce
012cc648d3
style: fix all the mypy typing issues
...
...or ignore them.
2023-12-12 20:54:39 -08:00
Bryce
2bd6cb264b
feature: large refactor
...
- add type hints
- size parameter
- ControlNetInput => ControlInput
- simplify imagineresult
2023-12-12 20:54:39 -08:00
Bryce
b61d06651c
tests: fix tests
...
- disable details mode. needs more work done to support
2023-12-03 09:13:01 -08:00
Bryce
f97f6a3b4b
feature: use refiners library for generation
...
BREAKING CHANGE
- stable diffusion 1.5 + inpainting working
- self-attention guidance working. improves image generation quality
- tile-mode working
- inpainting self-attention guidance working
disable/broken features:
- sd 1.4, 2.0, 2.1
- most of the samplers
- pix2pix edit
- most of the controlnets
- memory management
- python 3.8 support
wip
2023-11-22 13:22:00 -08:00
Bryce
3b777b98d8
fix: improved large images using composition
2023-02-28 21:04:00 -08:00
Bryce
40da2b0357
tests: fix tests
2023-02-28 21:04:00 -08:00
Bryce
dbc6a249a6
fix: k-diff samplers made more stable by skipping second to last step
...
https://github.com/crowsonkb/k-diffusion/issues/43#issuecomment-1305195666
See discussion here as well: https://github.com/AUTOMATIC1111/stable-diffusion-webui/issues/3483
2023-02-28 21:04:00 -08:00
Bryce
70c58467c0
fix: img2img was broken for all samplers except ddim,plms
...
img2img was broken for all samplers except plms and ddim when init image strength was >~0.25. Been this way for a while. whoops
2023-02-28 21:04:00 -08:00
Bryce
2a3e19f5a1
feature: 🎉 Edit Images with Instructions alone!
2023-01-21 13:34:26 -08:00
Bryce
1381c7fed4
lint: new ruff linter
2023-01-02 14:11:36 -08:00
Bryce
9c153a8d2d
feature: support k-sampler methods for SD-2.0-v (768)
2022-11-26 16:18:08 -08:00
Bryce
015088507f
feature/refactor/fix: better defaults. correct version in metadata
...
- feature: use different default steps and image sizes depending on sampler and model selceted
- fix : #110 use proper version in image metadata
- refactor: samplers all have their own class that inherits from ImageSampler
2022-11-26 16:18:08 -08:00
Bryce
7af1ab66ca
fix: add workaround for bug in k_diffusion on mps
...
As documented here: https://github.com/AUTOMATIC1111/stable-diffusion-webui/issues/4558#issuecomment-1310387114
- make image logs more consistent
- note which step the progress images belong to in the filename
2022-11-12 20:19:23 -08:00
Bryce
7fba2972e8
feature: added DPM++ 2S a
and DPM++ 2M
samplers
...
-fix: fix bug with `--show-work`
2022-11-11 10:52:48 -08:00
Bryce
021a0c540d
feature: inpainting model support; improved model manager
2022-10-25 20:07:35 -07:00
Bryce
741a433c56
feature: update k_diffusion. add dpm_fast and dpm_addaptive samplers
2022-10-16 22:10:54 -07:00
Bryce
4ba1965db8
feature: k-diff sampler img2img and masking
2022-10-14 03:23:16 -07:00
Bryce
281d23adf2
refactor: prep for supporting img2img in k-samplers
2022-10-13 07:04:37 -07:00
Bryce
8d4b5cb9e1
refactor: standardize samplers more
2022-10-13 07:04:37 -07:00
Bryce
153c259ee4
fix: k-sampler methods were broken
2022-10-12 20:30:49 -07:00
Bryce
df3c752eb8
refactor: consolidate logging utils
2022-10-10 22:32:39 -05:00
Bryce
9ba302a5f4
refactor: begin to standardize samplers
2022-10-07 00:02:26 -05:00
Bryce
69af07ab67
style: fix lint issues
2022-09-24 00:31:08 -07:00
Bryce
4705d182d5
feature: generate captions for images
...
- add wip functionality for negative masks
- ci: add code linter that removes unused imports
- add instructions to install rust on osx
2022-09-19 21:19:22 -07:00
Bryce
930295d840
feature: txt2mask - automated text replacement
...
from https://github.com/timojl/clipseg
2022-09-18 06:07:47 -07:00
Bryce
6307a0daf5
refactor: cleanup ddim
2022-09-17 12:24:27 -07:00
Bryce
b4a3b8c2b3
feature: k-diffusion samplers
...
- improved image logging functionality. can just stick log_latent wherever you want
- improved some variable naming
- moved all the samplers together
- vendored k-diffusion library
2022-09-14 00:40:25 -07:00