Commit Graph

98 Commits

Author SHA1 Message Date
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
Bryce
bbe3f8473f version: 8.0.3 2023-01-23 06:24:15 -08:00
Bryce
fce9fe9225 version: 8.0.2 2023-01-22 11:31:50 -08:00
Bryce
319b601449 version: 8.0.1 2023-01-22 09:06:40 -08:00
Bryce
5db67f9a0d version: 8.0.0 2023-01-21 17:55:39 -08:00
Bryce
7c05c3aae2 feature: image edit gifs and demo-reels 2023-01-21 17:50:31 -08:00
Bryce
6109a8041d version: 7.6.0 2023-01-18 17:15:02 -08:00
Bryce
c94dac76dc version: 7.5.0 2023-01-17 00:37:31 -08:00
Bryce
049059dc03 version: 7.4.3 2023-01-16 15:20:55 -08:00
Bryce
2dd99c183c version: 7.4.2 2023-01-16 12:56:05 -08:00
Bryce
03eb7c21b0 version: 7.4.1 2023-01-16 03:18:09 -08:00
Bryce
5d6d955ffd version: 7.4.0 2023-01-16 01:52:22 -08:00
Bryce
4bc78b9be5 build: vendorize realesrgan
Removes lots of dependencies including problematic `grpcio` and `tb-nightly`
2023-01-08 22:20:22 -08:00
Bryce
35ac8d64d7 build: vendorize parts of basicsr
Trying to get rid of tb-nightly dependency and any other unnecessary dependencies.
2023-01-08 22:20:22 -08:00
Bryce
e9a3e1a99b build: unpin dependencies 2023-01-08 22:20:22 -08:00
Bryce
eb40842078 test: more flexible embedding test 2023-01-02 14:11:36 -08:00
Bryce
1381c7fed4 lint: new ruff linter 2023-01-02 14:11:36 -08:00
Bryce
c46d1c373c version: 7.3.0 2022-12-21 16:53:49 -08:00
Bryce
e8f8a73478 version: 7.2.0 2022-12-19 21:40:45 -08:00
Bryce
218bb23e3f version: 7.1.1 2022-12-18 22:01:59 -08:00
Bryce
f283729986 version: 7.1.0 2022-12-07 10:43:07 -08:00
Bryce
26a504fef4 version: 7.0.0
Major version because new images have negative prompt by default.
2022-12-02 02:05:12 -08:00
Bryce
0e342a126e version: 6.1.2 2022-11-28 00:34:33 -08:00
Bryce
ca126b0760 version: 6.1.1 2022-11-27 14:51:49 -08:00
Bryce
8e9e119052 version: 6.1.0 2022-11-26 16:22:09 -08:00
Bryce
015088507f feature/refactor/fix: better defaults. correct version in metadata
- feature: use different default steps and image sizes depending on sampler and model selceted
- fix: #110 use proper version in image metadata
- refactor: samplers all have their own class that inherits from ImageSampler
2022-11-26 16:18:08 -08:00
Bryce
fceb600fb4 version: 6.0.0a0
rushed release
2022-11-24 00:52:35 -08:00
Bryce
e67341223b feature: Stable Diffusion 2.0
working: CUDA and MacOS
working: 512p model with all samplers
working: inpainting with all samplers
working: 768p model with ddim sampler
2022-11-24 00:50:57 -08:00
Bryce
1a866c48e1 version: 5.1.0 2022-11-15 18:22:23 -08:00
Bryce
411f359f4e version: 5.0.1 2022-11-13 14:58:21 -08:00
Bryce
b8a88370de fix: lower memory reqs for attention on M1s 2022-11-13 13:40:37 -08:00
Bryce
64a0e0bb50 version: 5.0.0 2022-11-12 21:15:02 -08:00
Bryce
54cc874cba version: 4.1.0 2022-10-23 22:56:29 -07:00
Bryce
97682da9ed version: 4.0.0 2022-10-22 02:25:54 -07:00
Bryce
497dc81d9e fix: k-sampler methods were broken 2022-10-12 20:35:45 -07:00
Bryce
d947d9f5c8 version 3.0.0 2022-10-10 01:33:13 -07:00
Bryce
bba079a8b2 version: 2.4.1
bugfixes
2022-10-08 18:41:56 -07:00
Bryce
26483ef128 version: 2.4.0 2022-10-08 18:38:43 -07:00
Bryce Drennan
31c2160e21
feature: prompt expansion (#51)
You can use `{}` to randomly pull values from lists.  A list of values separated by `|` and enclosed in `{ }` will be randomly drawn from in a non-repeating fashion. Values that are surrounded by `_ _` will pull from a phrase list of the same name.   Folders containing .txt phraselist files may be specified via
`--prompt_library_path`. The option may be specified multiple times.  Built-in categories:

      3d-term, adj-architecture, adj-beauty, adj-detailed, adj-emotion, adj-general, adj-horror, animal, art-movement,
      art-site, artist, artist-botanical, artist-surreal, aspect-ratio, bird, body-of-water, body-pose, camera-brand,
      camera-model, color, cosmic-galaxy, cosmic-nebula, cosmic-star, cosmic-term, dinosaur, eyecolor, f-stop,
      fantasy-creature, fantasy-setting, fish, flower, focal-length, food, fruit, games, gen-modifier, hair, hd,
      iso-stop, landscape-type, national-park, nationality, neg-weight, noun-beauty, noun-fantasy, noun-general,
      noun-horror, occupation, photo-term, pop-culture, pop-location, punk-style, quantity, rpg-item, scenario-desc,
      skin-color, spaceship, style, tree-species, trippy, world-heritage-site

   Examples:

   `imagine "a {red|black} dog" -r 2 --seed 0` will generate both "a red dog" and "a black dog"

   `imagine "a {_color_} dog" -r 4 --seed 0` will generate four, different colored dogs. The colors will eb pulled from an included
   phraselist of colors.

   `imagine "a {_spaceship_|_fruit_|hot air balloon}. low-poly" -r 4 --seed 0` will generate images of spaceships or fruits or a hot air balloon

   Credit to [noodle-soup-prompts](https://github.com/WASasquatch/noodle-soup-prompts/) where most, but not all, of the wordlists originate.
2022-10-08 18:34:35 -07:00