Commit Graph

2243 Commits

Author SHA1 Message Date
a7b7b20d16 Updates docs release link to latest 2022-12-02 06:20:16 -05:00
9d7fe45702 Merge remote-tracking branch 'origin/main' into dev/diffusers
# Conflicts:
#	scripts/configure_invokeai.py
2022-12-01 21:38:46 -08:00
a47ef3ded9 change download links to release candidate 2.0.0-rc4 v2.2.0 2022-12-01 23:24:23 -05:00
7cb9b654f3 add compiled windows file 2.2.0-rc4 2022-12-01 23:07:48 -05:00
8819e12a86 configure script changed from preload_models.py to configure_invokeai.py
This makes a cosmetic change. Instead of calling preload_models.py
(deprecated) it calls configure_invokeai.py. Currently the two do
the same thing.
2022-12-01 22:51:05 -05:00
967eb60ea9 added the linux py3.10* file 2022-12-01 22:51:05 -05:00
b1091ecda1 Fixes failed canvas generation when gallery is empty
There was some old logic from before Unified Canvas which aborted generation when there was no currentImage. 

If you have an image in the gallery, there is always a currentImage. But if gallery is empty, there is no currentImage. Generation would silently fail in this case.

We apparently never tested with an empty gallery and thus never ran into the issue. This removes this old and now-unused logic.
2022-12-01 22:29:56 -05:00
2723dd9051 remove bad characters from end of user input
Some users were leaving whitespace at the end of their root
directories or ending them with a backslash. This caused the root
directory to become unusable. This removes whitespace and backslashes
from the end of the directory names.

Note that more needs to be done to cleanse the input, but for now
this will cover the cases we have seen so far in the wild.
2022-12-01 22:15:39 -05:00
8f050d992e documentation fixes for release 2022-12-01 22:02:50 -05:00
0346095876 fix incorrect syntax for .bat 2022-12-01 22:02:27 -05:00
f9bbc55f74 Merge branch 'source-installer-improvements' into main 2022-12-01 23:18:54 +00:00
878a3907e9 defer loading of Hugging Face concepts until needed
Some users have been complaining that the CLI "freezes" for a while
before the invoke> prompt appears. I believe this is due to internet
delay while the concepts library names are downloaded by the autocompleter.
I have changed logic so that the concepts are downloaded the first time
the user types a < and tabs.
2022-12-01 17:56:18 -05:00
4cfb41d9ae configure_invokeai.py enhancement
- Adds a new option to download <a>ll the models, in addition
  to <r>ecommended and <c>ustomized.
2022-12-01 15:59:14 -05:00
6ec64ecb3c fix commit conflict markers 2022-12-01 15:07:54 -05:00
540315edaa rename to binary_installer in build docs 2022-12-01 14:58:07 -05:00
cf10a1b736 Merge branch 'main' into source-installer-improvements 2022-12-01 19:45:47 +00:00
9fb2a43780 rename "installer" to "binary_installer"
- Fix up internal names so scripts run properly
2022-12-01 19:40:47 +00:00
1b743f7d9b source installer improvements and documentation
- Source installer provides more context for what it is doing, and
  sends user to help/troubleshooting pages when something goes wrong.

- install.sh and install.bat are renamed to install.sh.in and install.bat.in
  to discourage users from running them from within the

- Documentation updated
2022-12-01 19:40:13 +00:00
d7bf3f7d7b make .sh/.bat files inside installer/ non executable (#1664)
* make binary installer executables non-executable inside the repo

* update docs to match previous commit
2022-12-01 19:35:21 +01:00
eba31e7caf Documentation updates for 2.2 release 2022-12-01 08:09:31 -05:00
bde456f9fa fix startup messages and a startup crash
- make the warnings about patchmatch less redundant
- only warn about being unable to load concepts from Hugging Face
  library once
- do not crash when unable to load concepts from Hugging Face
  due to network connectivity issues
2022-12-01 07:42:31 -05:00
9ee83380e6 fix missig history file in output director 2022-12-01 07:39:26 -05:00
ea1cf83c20 preliminary support for outpainting (no masking yet) 2022-11-30 22:05:58 -08:00
b02f3688a6 Merge branch 'main' into dev/diffusers 2022-11-30 18:08:42 -08:00
6982e6a469 rebuilt frontend 2022-11-30 19:20:57 -05:00
494936a8d2 🚧 post-rebase repair 2022-11-30 15:39:40 -08:00
adaa1c7c3e work around an apparent MPS torch bug that causes conditioning to have no effect 2022-11-30 15:34:19 -08:00
e9a0f07033 fix deprecated scheduler construction 2022-11-30 15:34:19 -08:00
7c558d5056 fix "config attributes…not expected" diffusers warnings. 2022-11-30 15:34:19 -08:00
8157bff4bc internal: avoid importing diffusers DummyObject
see https://github.com/huggingface/diffusers/issues/1479
2022-11-30 15:34:19 -08:00
ca1f76b7ba create an embedding_manager for diffusers 2022-11-30 15:34:19 -08:00
f9dcc9a9b4 CI: simplify test-on-push logic now that we don't need secrets
The "test on push but only in forks" logic was only necessary when tests didn't work for PRs-from-forks.
2022-11-30 15:33:02 -08:00
35c4d263e6 fix(configure): remove second default: true from models example 2022-11-30 15:33:02 -08:00
73ddde7d3f fix(configure): prepend root to config path 2022-11-30 15:33:02 -08:00
3898336509 configure: add troubleshooting info for config-not-found 2022-11-30 15:33:02 -08:00
8ce1ae550b configure: try to download models even without token
Models in the CompVis and stabilityai repos no longer require them. (But runwayml still does.)
2022-11-30 15:33:02 -08:00
c21660a6df build: there's yet another place to update requirements? 2022-11-30 15:33:02 -08:00
ea073980b0 CI: prefer diffusers-1.4 because it no longer requires a token
The RunwayML models still do.
2022-11-30 15:33:02 -08:00
09728dd1e0 lint: correct AttributeError.name reference for Python 3.9. 2022-11-30 15:33:02 -08:00
56153c2ebf lint: correct annotations for Python 3.9. 2022-11-30 15:33:02 -08:00
716ca8f8b9 dev: upgrade to diffusers 0.9 (from 0.8.1) 2022-11-30 15:33:02 -08:00
5cee2111be ci: use diffusers model 2022-11-30 15:33:02 -08:00
b7864aa1a7 refactor: remove backported img2img.get_timesteps
now that we can use it directly from diffusers 0.8.1
2022-11-30 15:33:02 -08:00
ceb53ccdfb dev: upgrade to diffusers 0.8 (from 0.7.1)
We get to remove some code by using methods that were factored out in the base class.
2022-11-30 15:33:02 -08:00
efbb807905 diffusers integration: support img2img 2022-11-30 15:33:02 -08:00
f3f6213b97 fix(model_cache): don't check model.config in diffusers format
clean-up from recent merge.
2022-11-30 15:33:02 -08:00
a6a766dfa2 preload_models: explicitly load diffusers models
In non-interactive mode too, as long as you're logged in.
2022-11-30 15:33:02 -08:00
94f57345e3 environment-mac: upgrade to diffusers 0.7 (from 0.6)
this was already done for linux; mac must have been lost in the merge.
2022-11-30 15:33:02 -08:00
c5274e6e50 test-invoke-conda: use diffusers-format model
test-invoke-conda: put huggingface-token where the library can use it
2022-11-30 15:33:02 -08:00
aca6d213d7 models.yaml.example: add diffusers-format model, set as default 2022-11-30 15:03:24 -08:00