Commit Graph

26 Commits (master)

Author SHA1 Message Date
Bryce 12e66a727f ci: faster tests 4 weeks ago
Bryce a8acb451c5 ci: use `uv`
waiting for this issue to be resolved before using it for pip-compile

https://github.com/astral-sh/uv/issues/1624

and it didn't properly install the command line tools `aimg` and `imagine` so not using it for editable install on github either
2 months ago
Bryce 3906072191 ci: test installation on windows, mac, and conda 4 months ago
Bryce Drennan 1de5d28554
test: run some tests on python 3.11 as well (#454)
torch doesn't support 3.12 yet
4 months ago
Bryce Drennan 66b17cc315
docs: add github action to push docs (#444) 4 months ago
Bryce 7ea4cba5d3 fix: add missing dependency. add package smoketest 4 months ago
jaydrennan 7eef3bf628 feature: replaces black formatter with ruff formatter 5 months ago
Bryce d834e8b5b3 test: run non-gpu tests on github 5 months ago
Bryce 62de446a92 ci: add mypy github action 5 months ago
Bryce 24f4af3482 feature: better torch installation experience 5 months ago
Bryce 6fcf0da331 test: try local runner 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 2273c9144d ci: smarter model caching in github actions 8 months ago
Bryce db4f040536 tests: split test suite for faster overall runtime 8 months ago
Bryce 558d3388e5 style: speed up linting and autoformatting. fix lints 8 months ago
Bryce 37d6642c83 fix: fix model downloads that were broken
by [library change in transformers 4.27.0](8f3b4a1d5b)
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
Bryce Drennan 542e4fbd55
fix: tile mode was broken since latest perf improvements (#220) 1 year ago
Bryce 3022abf02b tests: leave old github cache behind 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 a24dbfdfa7 ci: faster linting? 2 years ago
Bryce 7e9b38dfa1 tests: more specific caching 2 years ago
Bryce 4e72cc2706 tests: enable github cache 2 years ago
Bryce eaad0a15e4 ci: add automated testing/linting
- fix bugs
- disable some tests from running in CPU only mode since github actions can't handle it
2 years ago