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
2024-03-05 21:49:18 -08:00
Bryce
3906072191
ci: test installation on windows, mac, and conda
2024-01-18 06:47:14 -08:00
Bryce Drennan
1de5d28554
test: run some tests on python 3.11 as well ( #454 )
...
torch doesn't support 3.12 yet
2024-01-14 18:49:12 -08:00
Bryce Drennan
66b17cc315
docs: add github action to push docs ( #444 )
2024-01-06 18:29:29 -08:00
Bryce
7ea4cba5d3
fix: add missing dependency. add package smoketest
2024-01-03 20:07:26 -08:00
jaydrennan
7eef3bf628
feature: replaces black formatter with ruff formatter
2023-12-27 17:08:01 -08:00
Bryce
d834e8b5b3
test: run non-gpu tests on github
2023-12-18 21:24:59 -08:00
Bryce
62de446a92
ci: add mypy github action
2023-12-12 20:54:39 -08:00
Bryce
24f4af3482
feature: better torch installation experience
2023-12-05 21:46:55 -08:00
Bryce
6fcf0da331
test: try local runner
2023-12-03 09:13:01 -08:00
Bryce
b61d06651c
tests: fix tests
...
- disable details mode. needs more work done to support
2023-12-03 09:13:01 -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
703fb6e331
ci: faster pip install in github actions
2023-09-29 23:01:50 -07:00
Bryce
2273c9144d
ci: smarter model caching in github actions
2023-09-29 23:01:50 -07:00
Bryce
db4f040536
tests: split test suite for faster overall runtime
2023-09-29 23:01:50 -07:00
Bryce
558d3388e5
style: speed up linting and autoformatting. fix lints
2023-09-29 23:01:50 -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 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 Drennan
542e4fbd55
fix: tile mode was broken since latest perf improvements ( #220 )
2023-01-27 22:56:46 -08:00
Bryce
3022abf02b
tests: leave old github cache behind
2022-10-16 20:22:16 -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
a24dbfdfa7
ci: faster linting?
2022-10-11 01:06:24 -05:00
Bryce
7e9b38dfa1
tests: more specific caching
2022-10-11 01:06:24 -05:00
Bryce
4e72cc2706
tests: enable github cache
2022-10-11 01:06:24 -05:00
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
2022-09-24 23:31:03 -07:00