Lincoln Stein
6ec64ecb3c
fix commit conflict markers
2022-12-01 15:07:54 -05:00
Lincoln Stein
540315edaa
rename to binary_installer in build docs
2022-12-01 14:58:07 -05:00
Lincoln Stein
cf10a1b736
Merge branch 'main' into source-installer-improvements
2022-12-01 19:45:47 +00:00
Lincoln Stein
9fb2a43780
rename "installer" to "binary_installer"
...
- Fix up internal names so scripts run properly
2022-12-01 19:40:47 +00:00
Lincoln Stein
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
Damian Stewart
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
Lincoln Stein
eba31e7caf
Documentation updates for 2.2 release
2022-12-01 08:09:31 -05:00
Lincoln Stein
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
Lincoln Stein
9ee83380e6
fix missig history file in output director
2022-12-01 07:39:26 -05:00
Kevin Turner
ea1cf83c20
preliminary support for outpainting (no masking yet)
2022-11-30 22:05:58 -08:00
Kevin Turner
b02f3688a6
Merge branch 'main' into dev/diffusers
2022-11-30 18:08:42 -08:00
Lincoln Stein
6982e6a469
rebuilt frontend
2022-11-30 19:20:57 -05:00
Kevin Turner
494936a8d2
🚧 post-rebase repair
2022-11-30 15:39:40 -08:00
Damian Stewart
adaa1c7c3e
work around an apparent MPS torch bug that causes conditioning to have no effect
2022-11-30 15:34:19 -08:00
Kevin Turner
e9a0f07033
fix deprecated scheduler construction
2022-11-30 15:34:19 -08:00
Kevin Turner
7c558d5056
fix "config attributes…not expected" diffusers warnings.
2022-11-30 15:34:19 -08:00
Kevin Turner
8157bff4bc
internal: avoid importing diffusers DummyObject
...
see https://github.com/huggingface/diffusers/issues/1479
2022-11-30 15:34:19 -08:00
Kevin Turner
ca1f76b7ba
create an embedding_manager for diffusers
2022-11-30 15:34:19 -08:00
Kevin Turner
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
Kevin Turner
35c4d263e6
fix(configure): remove second default: true
from models example
2022-11-30 15:33:02 -08:00
Kevin Turner
73ddde7d3f
fix(configure): prepend root to config path
2022-11-30 15:33:02 -08:00
Kevin Turner
3898336509
configure: add troubleshooting info for config-not-found
2022-11-30 15:33:02 -08:00
Kevin Turner
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
Kevin Turner
c21660a6df
build: there's yet another place to update requirements?
2022-11-30 15:33:02 -08:00
Kevin Turner
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
Kevin Turner
09728dd1e0
lint: correct AttributeError.name reference for Python 3.9.
2022-11-30 15:33:02 -08:00
Kevin Turner
56153c2ebf
lint: correct annotations for Python 3.9.
2022-11-30 15:33:02 -08:00
Kevin Turner
716ca8f8b9
dev: upgrade to diffusers 0.9 (from 0.8.1)
2022-11-30 15:33:02 -08:00
Kevin Turner
5cee2111be
ci: use diffusers model
2022-11-30 15:33:02 -08:00
Kevin Turner
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
Kevin Turner
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
Kevin Turner
efbb807905
diffusers integration: support img2img
2022-11-30 15:33:02 -08:00
Kevin Turner
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
Kevin Turner
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
Kevin Turner
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
Kevin Turner
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
Kevin Turner
aca6d213d7
models.yaml.example: add diffusers-format model, set as default
2022-11-30 15:03:24 -08:00
Kevin Turner
01ff1cff58
model_cache: let offload_model work with DiffusionPipeline, sorta.
2022-11-30 15:03:20 -08:00
Kevin Turner
95db6e80ee
cross_attention_control: stub (no-op) implementations for diffusers
2022-11-30 15:01:27 -08:00
Kevin Turner
b6b1a8d97c
diffusers: use InvokeAIDiffuserComponent for conditioning
2022-11-30 15:01:18 -08:00
Kevin Turner
97dd4a2589
diffusers: fix set-sampler error following model switch
2022-11-30 15:01:18 -08:00
Kevin Turner
e99faeb8d7
diffusers: restore prompt weighting feature
2022-11-30 15:01:15 -08:00
Kevin Turner
05a1d68ef4
web server: update image_progress callback for diffusers data
2022-11-30 15:01:06 -08:00
Kevin Turner
1e98f4bafc
diffusers: let the scheduler do its scaling of the initial latents
...
Remove IPNDM scheduler; it is not behaving.
2022-11-30 15:01:06 -08:00
Kevin Turner
d55e22981a
txt2img: support switching diffusers schedulers
2022-11-30 15:01:06 -08:00
Kevin Turner
ae9b482acf
model_cache: fix model default image dimensions
2022-11-30 15:01:06 -08:00
Kevin Turner
4c3858e079
model_cache: add ability to load a diffusers model pipeline
...
and update associated things in Generate & Generator to not instantly fail when that happens
2022-11-30 15:00:59 -08:00
Kevin Turner
9b274bd57c
refactor(model_cache): factor out load_ckpt
2022-11-30 14:58:10 -08:00
Kevin Turner
dcfdb83513
doc: type hints for Generator
2022-11-30 14:56:30 -08:00
Kevin Turner
58ea3bf4c8
spike: proof of concept using diffusers for txt2img
2022-11-30 14:56:26 -08:00