Commit Graph

537 Commits (master)
 

Author SHA1 Message Date
Bryce 6f749ac4b6 fix: create compilations dir as needed 1 year ago
Bryce 882cc7e0f1 feature: generate large images with coherent composition 1 year ago
Bryce c3a88c44cd perf: tiled encoding of images
The fold/unfold/split_input_params images didn't look good
1 year ago
Bryce 2aef6089e0 feature: generate large images
Added a composition stage so large images are more coherent
1 year ago
Bryce b93b6a4d7c perf: use silu instead of nonlinearity for speedup 1 year ago
Bryce 68e7fd73c5 perf: add xformers dependency 1 year ago
Bryce 003a512dc8 perf: mps perf improvement
attention slicing wasn't working
1 year ago
Bryce 66b28c80fc fix: images came out wrong if processed on mps 1 year ago
Bryce 8db73707ff perf: load model to gpu after making it "half" 1 year ago
Bryce 1c8893cecc fix: fix image gen retry 1 year ago
Bryce ea1d4baafe refactor: cleanup image generation code 1 year ago
Bryce 8a97213622 feature: sliced latent decoding
allows generation of bigger images. tile seams can be noticeable occasionally despite the feathering
1 year ago
Bryce ad62496557 version: 9.0.2 1 year ago
Bryce da70b310d5 fix: edit interface was broken 1 year ago
Bryce 75e3c32d54 version: 9.0.1 1 year ago
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.
1 year ago
Bryce 5bedaebe45 version: 9.0.0 1 year ago
Bryce eeb80f81aa docs: update changelog 1 year ago
Bryce 76d40560ef style: lintfix 1 year ago
Bryce 6c1e3b2ae7 feature: allow specifying output format
closes #228
1 year ago
Bryce d220819377 feature: accept multiple input images to allow batch editing
- move "surprise me" to "edit-demo"
1 year ago
Bryce 63f32846bb docs: no mps training; how change cache dir 1 year ago
Bryce d9a70a55c6 feature/docs: cleanup cli
- add colors to help text
- add suggestion to use `aimg` shell
- lazy imports for faster response time
1 year ago
Deadolus 8df10576f3
fix: removing stray space from readme at inopportune location (#237)
In the multiline example with the "girl with the pearl earring" was a stray space that led to an error.

As the command line was interpreted as two separate commands.
I remove the stray space in this pull-request, to spare others the headache of finding the whitespace.
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 b611a92b49 version: 8.3.1 1 year ago
Bryce 19444d8e22 fix: first frame should be the interesting one 1 year ago
Bryce Drennan e619dc2867
fix: init image strength (#225) 1 year ago
Bryce d7eaac2c5e version: 8.3.0 1 year ago
Bryce Drennan 9ee09ac842
feature: add compilation animations (#224)
- add generation/compare gifs
1 year ago
Bryce Drennan a67683d318
feature: add upscale command line function (#222) 1 year ago
Bryce Drennan 542e4fbd55
fix: tile mode was broken since latest perf improvements (#220) 1 year ago
Pavel Yakovlev e1c9f14489 feature: add openjourney models 1 year ago
Bryce Drennan 9e06013ade
feature: save gifs that show image generation process (#218) 1 year ago
Bryce 8791e15bec version: 8.2.0 1 year ago
Bryce Drennan 6d733ed3ff
feature: added `aimg system-info` command to help debug issues (#216) 1 year ago
Bryce Drennan 7deabaae62
tests: update expected images for tests (#215) 1 year ago
Bryce 72517f28c6 version: 8.1.0 1 year ago
Bryce Drennan 7bdde559cc
performance: memory management improvements (#210)
- tile mode made more efficient. especially when not being used
- add script to iteratively make bigger images
1 year ago
Jiaming Sun a338902ab5
fix: add png handling for LazyLoadingImage (#203)
Loading png images for captioning will cause the following error since PIL loads png images in RGBA mode.

```python
  File "./miniconda3/lib/python3.8/site-packages/torchvision/transforms/functional_tensor.py", line 940, in normalize
    return tensor.sub_(mean).div_(std)
RuntimeError: The size of tensor a (4) must match the size of tensor b (3) at non-singleton dimension 0
```
1 year ago
Mahmoud Al-Qudsi 0b7692df07
fix: make model cached paths compatible with windows (#205)
If a model has a remote filename with characters that might not be supported on
the local cache filesystem, replace them during translation of URL to cached
file path.

Closes #202.
1 year ago
Bryce 92baff890e feature: surprise me improvements 1 year ago
Bryce c7ed86a36f feature: auto-retry generation unsafe image is created 1 year ago
Bryce f60fa880a7 feature: less visually confusing shell output 1 year ago
Bryce 16cef16c3e feature: facilitate references to previous image generation 1 year ago
Bryce 248679d8de feature: image sizes can now be multiples of 8 instead of 64
from https://github.com/CompVis/stable-diffusion/issues/60#issuecomment-1240294667
1 year ago
Bryce 9bef5a151a version: 8.0.5 1 year ago
Bryce 9212f0227c fix: bypass hf cache retrieval bug
If one uses `hf_hub_download` only referencing specific commits the `refs` folder will not be created even though data will be cached via `snapshots` and `blobs`.  Subsequent calls to `try_to_load_from_cache` will return None even though the desired data was in the cache.

Example:

```python
# download something
hf_hub_download(repo_id=repo, revision=commit_hash, filename=filepath, token=token)
# returns None
try_to_load_from_cache(repo_id=repo, revision=commit_hash, filename=filepath)
```

https://github.com/huggingface/huggingface_hub/pull/1306
1 year ago
Bryce 3a7c861f0a version: 8.0.4 1 year ago
Bryce 290b0a318e fix: MacOS MPS background can't handle large slices
per
- https://github.com/brycedrennan/imaginAIry/issues/175
- https://github.com/invoke-ai/InvokeAI/issues/1244
1 year ago