You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
imaginAIry/tests
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.
2 years ago
..
data fix: don't report a safety issue when a black image is generated 2 years ago
enhancers fix: don't report a safety issue when a black image is generated 2 years ago
expected_output fix: tile mode was broken since latest perf improvements (#220) 2 years ago
modules perf: add back memory efficiency improvements 2 years ago
samplers feature: Stable Diffusion 2.0 2 years ago
Dockerfile tests: add docker image for testing environment. minor test improvements 2 years ago
__init__.py fix: inpainting producing blurry images 2 years ago
conftest.py feature/refactor/fix: better defaults. correct version in metadata 2 years ago
test_api.py fix: tile mode was broken since latest perf improvements (#220) 2 years ago
test_clip_embedder.py test: more flexible embedding test 2 years ago
test_cmds.py fix: inpainting producing blurry images 2 years ago
test_config.py perf: improve startup time by doing some imports lazily (#233) 2 years ago
test_enhancers.py fix: rename files for windows compat 2 years ago
test_guidance.py Fix typos 2 years ago
test_model_manager.py feature: print version 2 years ago
test_outpaint.py feature: print version 2 years ago
test_prompt_schedules.py feature: add compilation animations (#224) 2 years ago
test_roi_utils.py feature: finetuning 2 years ago
test_safety.py fix: don't report a safety issue when a black image is generated 2 years ago
test_schema.py feature: urls as init images 2 years ago
test_utils.py refactor: consolidate logging utils 2 years ago
utils.py tests: support distributed test runs 2 years ago