Commit Graph

41 Commits (master)

Author SHA1 Message Date
jaydrennan 964dd4ead7 feature: integrates spandrel for upscaling 1 month ago
Bryce Drennan df86aa6668
feature: densepose controlnet (#481) 2 months ago
Bryce Drennan 49f2c25b6b
feature: IP-Adapter (#477)
todo
- allow specification ip adapter weights/arch


---------

Co-authored-by: jaydrennan <jsdman1313@gmail.com>
3 months ago
Bryce Drennan 502ffbdc63
feature: sdxl inpaint support (#450) 5 months ago
Bryce f50a1f5b0c fix: interrupted generations don't prevent more generations
fixes #424

- pref: improve memory usage when loading SD15.
- feature: clean up CLI output more
- feature: cuda memory tracking context manager
- feature: use safetensors fp16 for sd15
5 months ago
Bryce 9e3403df89 feature: clean up terminal output
- recording timing and memory usage of various steps
- re-use logging context for composition images
- load sdxl weights in a more VRAM efficient way
- switch to diffusers weights for default weights for sd15
5 months ago
Bryce Drennan 42a045e8e6
feature: support sdxl (#431)
- adds support for (SDXL)[https://huggingface.co/stabilityai/stable-diffusion-xl-base-1.0]
  - adds sliced encoding/decoding to refiners sdxl pipeline
  - doesn't support inpainting, controlnets
- monkeypatches self_attention_guidance to use sliced attention
- adds a bunch of model weight translation utilities and weightmaps
- add [opendalle 1.1](https://huggingface.co/dataautogpt3/OpenDalleV1.1)
- change default model to opendalle
- fix: better handle special characters in path inputs on command line
**todo**
- add tests
5 months ago
Bryce Drennan a2c38b3ec0
feature: support loading diffusers folder/based models from huggingface (#427) 5 months ago
Bryce 7880ee1389 feature: update midas (depth maps) 6 months ago
Bryce 316114e660 docs: add docstrings
Wrote an openai script and custom prompt to generate them.
6 months ago
jaydrennan 3f3e080d39 feature: adds ability to use qrcode
feature: adds controlnet qrcode image generation.
feature: adds control net for qrcode image generation.
6 months ago
Bryce 203747b14f refactor: simplify model_weights/architecture 6 months ago
Bryce eae4f20ae2 ci: add type checker
fix some typehint issues
6 months ago
Bryce 2bd6cb264b feature: large refactor
- add type hints
- size parameter
- ControlNetInput => ControlInput
- simplify imagineresult
6 months ago
Bryce db85f0898a feature: remove training feature 6 months ago
Bryce 82c30024c9 feature: DDIM now default sampler
better output quality
6 months ago
Bryce e8fe8d7d6c feature: stable diffusion video (SVD) 6 months ago
jaydrennan 80ff006604 fix: updates weights_url's for controlnet 6 months ago
jaydrennan e91a041a78 refactor: removes unused model configs 6 months ago
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
6 months ago
Bryce 7c2004bfcc feature/fix: migrate to pydantic 2.3
- test: add schema tests/fuzzer and fixes
 - fix default prompt. add tests
 - fix outpaint and controlnet defaults
 - fix init image strength defaults
9 months ago
Bryce dc8f8d5a3d feature: add colorization controlnet. improve `aimg colorize` command 1 year ago
Bryce c9fccc1757 feature: add openjourney-v4 1 year ago
Bryce db8d3b74ea feature: add "detail" control mode.
Add details to an image. Great for upscaling an image.
1 year ago
Bryce b5356b143f feature: partial add of inpainting controlnet
todo: figure out how to input "mask" for this mode
1 year ago
Bryce 9526a85a71 feature: add "edit" control mode
Edit images using text instructions with any SD 1.5 based model. Similar to instructPix2Pix.
1 year ago
Bryce 476a81a967 feature: add "shuffle" control mode
Image is generated from elements of control image. similar to style transfer
1 year ago
Bryce 832adf27bc feature: update controlnets to 1.1
- smaller filesizes for the controlnet weights
- fix: works with other 1.5 based models
- enables more control modes getting added
1 year ago
Bryce d14c8f98f4 feature: `aimg model-list` command lists included models 1 year ago
Bryce c0fad5b2a3 fix: add missing alias 1 year ago
Bryce 54c3ad51d6 feature: controlnet 1 year ago
Bryce Drennan 9eacf5e7ed
perf: improve startup time by doing some imports lazily (#233)
just running `aimg --help` or `aimg --version` was very slow due to all the imports being brought in eagerly

Before changes `aimg --help`
`2.24s user 4.05s system 184% cpu 3.416 total`

After changes:
`0.04s user 0.02s system 8% cpu 0.625 total`

Used `PYTHONPROFILEIMPORTTIME=1 aimg --help` to find time consuming imports.

Also switched to using `scripts` instead of `entrypoints` since the scripts are much faster.

Made duplicate SAMPLER_TYPE_OPTIONS that can be loaded without loading all the samplers themselves.

Likely a breaking change - not sure.
1 year ago
Pavel Yakovlev e1c9f14489 feature: add openjourney models 1 year ago
Bryce 2a3e19f5a1 feature: 🎉 Edit Images with Instructions alone! 1 year ago
Bryce 5cc73f6087 feature: finetuning
- feature: finetuning your own image models
- feature: image prep command. crops to face or other interesting parts of photo
- fix: back-compat for hf_hub_download
- feature: add prune-ckpt command
- feature: allow specification of model config file
1 year ago
Bryce 239b235140 feature: depth-based image-to-image generations (and inpainting) 1 year ago
Paul Mestemaker 68791cf236
feat: better handling for default model names (#134)
* feat: better handling for default model names

Addresses #124
1 year ago
Bryce f30823e0b5 feature: Stable Diffusion 2.1 2 years ago
Bryce 2f8edc1530 feature: negative prompting
- feature: negative prompting.  `--negative-prompt` or `ImaginePrompt(..., negative_prompt="ugly, deformed, extra arms, etc")`
- feature: a default negative prompt is added to all generations. Images in SD-2.0 don't look bad anymore. Images in 1.5 look improved as well.
2 years ago
Bryce 4610d7f01d feature: xformers support
add more upscaling code (that doesn't yet work)
2 years ago
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
2 years ago