Bryce
926692ad03
tests: "prime" the controlnets
...
Trying to get things working on m1. doesn't fix everything
2023-05-20 13:09:00 -07:00
Bryce
eca97a25a0
tests: adjust tests to pass
2023-05-20 13:09:00 -07:00
Bryce
6db296aa37
tests: faster tests
2023-05-20 11:35:49 -07:00
Bryce
3b777b98d8
fix: improved large images using composition
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
54c3ad51d6
feature: controlnet
2023-02-22 23:38:47 -08:00
Bryce
003a512dc8
perf: mps perf improvement
...
attention slicing wasn't working
2023-02-15 14:22:00 -08:00
Bryce
ea1d4baafe
refactor: cleanup image generation code
2023-02-15 14:22:00 -08:00
Bryce
8a97213622
feature: sliced latent decoding
...
allows generation of bigger images. tile seams can be noticeable occasionally despite the feathering
2023-02-12 01:41:57 -08:00
Bryce Drennan
542e4fbd55
fix: tile mode was broken since latest perf improvements ( #220 )
2023-01-27 22:56:46 -08:00
Bryce
9e0a9e2c29
tests: update
2023-01-02 14:11:36 -08:00
Bryce
1381c7fed4
lint: new ruff linter
2023-01-02 14:11:36 -08:00
Bryce
da0f1e1ee6
fix: make sure randomness is generated on cpu for consistency
2022-12-21 09:33:46 -08:00
Bryce
1f7403155e
fix: more thorough cleaning of memory when switching models
...
also cleanup up some test failures
2022-12-18 22:00:29 -08:00
Bryce
f30823e0b5
feature: Stable Diffusion 2.1
2022-12-07 10:41: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
893b041a8f
feature: progress image callback
2022-11-15 18:06:03 -08:00
Bryce
94c0aeab12
feature: switch between models without restarting python instance
2022-10-23 22:55:28 -07:00
Bryce
8332593fed
feature: dilation and erosion of masks
...
Previously the `+` and `-` characters in a mask (example: `face{+0.1}`) added to the grayscale value of any masked areas. This wasn't very useful. The new behavior is that the mask will expand or contract by the number of pixel specified. The technical terms for this are dilation and erosion. This allows much greater control over the masked area.
2022-10-17 23:47:26 -07:00
Bryce
741a433c56
feature: update k_diffusion. add dpm_fast and dpm_addaptive samplers
2022-10-16 22:10:54 -07:00
Bryce
dcf953383e
tests: support distributed test runs
...
- switch to expected images instead of hashes. allow fuzzy matches
feature: more consistent seeds
2022-10-16 20:22:16 -07:00
Bryce
4ba1965db8
feature: k-diff sampler img2img and masking
2022-10-14 03:23:16 -07:00
jsdman1313@gmail.com
740870ad8e
fix: updates cats to dogs test to check between two different hashes
2022-10-13 23:55:35 -07:00
Bryce
281d23adf2
refactor: prep for supporting img2img in k-samplers
2022-10-13 07:04:37 -07:00
Bryce
db5ebe9095
tests: tests can run without any network calls
2022-10-11 01:06:24 -05:00
Bryce
f21c979f08
feature: better masking segmentation from clipseg
2022-09-27 23:35:06 -07:00
Bryce
bc135724a3
fix: fix memory leak in face enhancer
...
thanks to @h4rk8s for discovering and finding a remedy
root cause was a model being instantiated inside
FaceRestoreHelper
2022-09-27 21:45:32 -07:00
Bryce
95a8fa31a9
fix: inpainting producing blurry images
...
while the previous version did produce much better blending it also makes images that lack detail for some reason.
tests: Added more tests to help catch this sort of thing earlies
fix: found that median blur is really slow, so I made sure we only do it on downsampled masks. Was taking like 3 minutes to run on the large pearl girl picture on M1
- docs: update examples
2022-09-27 17:19:25 -07:00