mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
Temporary force set vae to same precision as unet
This commit is contained in:
parent
d0fee93aac
commit
2ef6a8995b
@ -181,6 +181,8 @@ class InpaintInvocation(BaseInvocation):
|
||||
device = context.services.model_manager.mgr.cache.execution_device
|
||||
dtype = context.services.model_manager.mgr.cache.precision
|
||||
|
||||
vae.to(dtype=unet.dtype)
|
||||
|
||||
pipeline = StableDiffusionGeneratorPipeline(
|
||||
vae=vae,
|
||||
text_encoder=None,
|
||||
|
Loading…
Reference in New Issue
Block a user