Commit Graph

48 Commits (master)

Author SHA1 Message Date
Bryce 1faea372f9 fix: cleanup logging - remove unnecessary version checks 4 weeks ago
Bryce 9cdacd454f style: use latest ruff 2 months ago
Bryce 807c976da3 build: remove imageio dependency 4 months ago
Bryce 5bbb09f69e build: vendorize facexlib
had too many unused sub-dependencies

also monkeypatch the download mechanism to use our standard download function
4 months ago
jaydrennan 89bc1a9f1c
docs: adds docs tool, material for mkdocs, along with more fleshed ou… (#428)
* docs: adds docs tool, material for mkdocs, along with more fleshed out docstrings.

this includes ability to serve up a local docs website.


---------

Co-authored-by: Bryce <github20210803@accounts.brycedrennan.com>
4 months ago
Bryce Drennan 0271bffa38
build: remove fairscale dependency (#441) 4 months ago
Bryce 7ea4cba5d3 fix: add missing dependency. add package smoketest 4 months ago
Bryce 55e27160f5 build: vendorize refiners
so we can still work in conda envs
4 months ago
Bryce 5b3b04b877 build: remove pytorch lightning dependency 4 months ago
jaydrennan 7eef3bf628 feature: replaces black formatter with ruff formatter 5 months ago
jaydrennan 41a9d7007b
test: adds tests for stablestudio (#415) 5 months ago
Bryce eae4f20ae2 ci: add type checker
fix some typehint issues
5 months ago
Bryce 24f4af3482 feature: better torch installation experience 5 months ago
Bryce b61d06651c tests: fix tests
- disable details mode. needs more work done to support
5 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 703fb6e331 ci: faster pip install in github actions 8 months ago
Bryce 558d3388e5 style: speed up linting and autoformatting. fix lints 8 months ago
Bryce 8243ed616d fix: pydantic models for http server working now. Fixes #380 8 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
8 months ago
Bryce 1354cb9ed1 build: add minimum package requirements
Should speed up dependency resolution.
8 months ago
Bryce 360546b779 fix: limit pydantic to <2.0 until we fix compatibility issues
also limit scipy to <1.11 doesn't support python 3.8
8 months ago
Bryce 14739bc90b feature: api server (alpha)
`aimg run-api-server`

Proof of concept for now
1 year ago
Bryce d5a276584b fix: move normal map code inline
Fixes conda package. Fixes #317
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 95d3d08d27 fix: better input image path handling
throw exception for non-existent images
1 year ago
Bryce 37d6642c83 fix: fix model downloads that were broken
by [library change in transformers 4.27.0](8f3b4a1d5b)
1 year ago
Bryce 54c3ad51d6 feature: controlnet 1 year ago
Bryce 76d40560ef style: lintfix 1 year ago
Bryce 1c986d8644 fix: use py3.7 compat lru_cache
- disable lint fixer that updates to newer syntax
1 year ago
Bryce 4bc78b9be5 build: vendorize realesrgan
Removes lots of dependencies including problematic `grpcio` and `tb-nightly`
1 year ago
Bryce 35ac8d64d7 build: vendorize parts of basicsr
Trying to get rid of tb-nightly dependency and any other unnecessary dependencies.
1 year ago
Bryce e9a3e1a99b build: unpin dependencies 1 year ago
Bryce eb40842078 test: more flexible embedding test 1 year ago
Bryce 1381c7fed4 lint: new ruff linter 1 year ago
Bryce 58c2897dd1 refactor: fix lint issues 1 year ago
Bryce b8a88370de fix: lower memory reqs for attention on M1s 2 years ago
Bryce 741a433c56 feature: update k_diffusion. add dpm_fast and dpm_addaptive samplers 2 years ago
Bryce dcf953383e tests: support distributed test runs
- switch to expected images instead of hashes. allow fuzzy matches
feature: more consistent seeds
2 years ago
Bryce db5ebe9095 tests: tests can run without any network calls 2 years ago
Bryce b69b4c770e feature: interactive prompt
- add quiet flag
- add mask-modify-original flag
2 years ago
Bryce cdfeaa4c6f tests: add docker image for testing environment. minor test improvements 2 years ago
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
2 years ago
Bryce af3dc6bacd fix: restrict usage of difficult protobuf versions 2 years ago
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
2 years ago
Bryce 541ecb9701 feature: face enhancement and upscaling!! 2 years ago
Bryce 14a06e160d build: vendor clip
it's not on pypi
https://github.com/openai/CLIP/issues/141
2 years ago
Bryce 84a73cb5a2 feature: (wip) better image to image
I tried it with the DDIM sampler and it didn't work.

Probably need to use the k-diffusion sampler with it
from a846393251/find_noise.py

needs https://github.com/crowsonkb/k-diffusion
2 years ago
Bryce 043373ef17 ci: add linter, import sorting 2 years ago