Commit Graph

15 Commits

Author SHA1 Message Date
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
56153c2ebf lint: correct annotations for Python 3.9. 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
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
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
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
58ea3bf4c8 spike: proof of concept using diffusers for txt2img 2022-11-30 14:56:26 -08:00
Kevin Turner
1d43512d64 initial commit of DiffusionPipeline class 2022-11-30 14:54:24 -08:00