Commit Graph

136 Commits

Author SHA1 Message Date
Bryce
e8fe8d7d6c feature: stable diffusion video (SVD) 2023-11-22 17:20:08 -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
558d3388e5 style: speed up linting and autoformatting. fix lints 2023-09-29 23:01:50 -07:00
Bryce
460add16b8 version: 13.2.1 2023-09-29 01:14:14 -07:00
Bryce
8243ed616d fix: pydantic models for http server working now. Fixes #380 2023-09-29 00:40:46 -07:00
Bryce
ba51364a73 version: 13.2.0 2023-09-16 23:20:35 -07:00
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
2023-09-16 23:09:18 -07:00
Bryce
3b17d8b3ee version: 3.1.0 2023-09-09 15:50:48 -07:00
Bryce
477d161c91 build: better communicate lack of support for Python 3.11 2023-09-09 15:25:57 -07:00
Bryce
1354cb9ed1 build: add minimum package requirements
Should speed up dependency resolution.
2023-09-09 14:26:23 -07:00
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
2023-09-09 14:26:23 -07:00
Bryce
9e7a1db2c8 version: 13.0.1 2023-05-26 22:30:26 -07:00
Bryce
37d2b21a22 build: require python < 3.11 2023-05-26 22:28:43 -07:00
Bryce
671aa86ad7 version: 13.0.0 2023-05-22 02:50:59 -07:00
Bryce
4991b22bc8 version: 13.0b0 2023-05-22 02:30:58 -07:00
Bryce
7b032c8e9a feature: StableStudio web interface
run `aimg server` and visit http://127.0.0.1:8000/
2023-05-22 02:24:05 -07:00
Bryce
758d574f8c build: specify proper Pillow minimum version (fixes #325) 2023-05-20 17:29:06 -07:00
Bryce
2a26495653 fix: package will not try to install xformers on aarch64 machines.
While this will allow the dockerfile to build on MacOS M1, [torch will not be able to use the M1 when generating images.](https://github.com/pytorch/pytorch/issues/81224#issuecomment-1499741152)
2023-05-20 17:29:06 -07:00
Bryce
14739bc90b feature: api server (alpha)
`aimg run-api-server`

Proof of concept for now
2023-05-20 17:29:06 -07:00
Bryce
a8aa9f703a build: exclude broken versions of timm as dependencies 2023-05-13 08:22:53 -07:00
Bryce
e5d6880bc3 version: 12.0.2 2023-05-06 13:04:57 -07:00
Bryce
d5a276584b fix: move normal map code inline
Fixes conda package. Fixes #317
2023-05-06 13:01:50 -07:00
Bryce
23d4810670 version: 12.0.1 2023-05-05 08:34:34 -07:00
Bryce
17f3541d57 version: 12.0.0 2023-05-05 03:03:47 -07:00
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
2023-05-04 19:48:27 -07:00
Bryce
4cbd278972 version: 11.1.1 2023-04-18 08:11:41 -07:00
Bryce
3012d28357 version: 11.1.0 2023-03-18 13:50:41 -07:00
Bryce
37d6642c83 fix: fix model downloads that were broken
by [library change in transformers 4.27.0](8f3b4a1d5b)
2023-03-18 13:49:11 -07:00
Bryce
de2a72f718 version: 11.0.0 2023-02-28 23:39:25 -08:00
Bryce
7b79444c4c version: 10.2.0 2023-02-25 14:41:45 -08:00
Bryce
e3b23584ed refactor: split up command line tool 2023-02-25 14:29:55 -08:00
Bryce
81b4a0687b version: 10.1.1 - doc fix 2023-02-23 01:52:21 -08:00
Bryce
185fe523fd version: 10.1.0 2023-02-23 01:47:43 -08:00
Bryce
c0c8e081b8 docs: fix links for package publishing 2023-02-23 01:46:37 -08:00
Bryce
54c3ad51d6 feature: controlnet 2023-02-22 23:38:47 -08:00
Bryce
1ceb17c083 fix: edit was broken by recent changes 2023-02-17 13:56:30 -08:00
Bryce
08f6014941 version: 10.0.0 2023-02-17 10:16:35 -08:00
Bryce
68e7fd73c5 perf: add xformers dependency 2023-02-15 14:22:00 -08:00
Bryce
ad62496557 version: 9.0.2 2023-02-05 21:17:04 -08:00
Bryce
75e3c32d54 version: 9.0.1 2023-02-05 19:22:36 -08:00
Bryce
d1dbd500eb fix: use entry_points for windows
python converts entry_points to exe files so they run on windows.  The scripts that work on linux/macos don't work on windows.
2023-02-05 19:20:47 -08:00
Bryce
5bedaebe45 version: 9.0.0 2023-02-05 09:53:24 -08:00
Bryce
d9a70a55c6 feature/docs: cleanup cli
- add colors to help text
- add suggestion to use `aimg` shell
- lazy imports for faster response time
2023-02-05 12:41:54 -05:00
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.
2023-02-02 21:43:04 -08:00
Bryce
b611a92b49 version: 8.3.1 2023-01-28 22:20:03 -08:00
Bryce
d7eaac2c5e version: 8.3.0 2023-01-28 17:21:05 -08:00
Bryce
8791e15bec version: 8.2.0 2023-01-26 21:50:38 -08:00
Bryce
72517f28c6 version: 8.1.0 2023-01-26 03:15:27 -08:00
Bryce
9bef5a151a version: 8.0.5 2023-01-23 20:36:08 -08:00
Bryce
3a7c861f0a version: 8.0.4 2023-01-23 07:06:35 -08:00