mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
Same fix for ImageToLatentsInvocation
This commit is contained in:
parent
2ec9dab595
commit
fface339ae
@ -686,7 +686,7 @@ class ImageToLatentsInvocation(BaseInvocation):
|
||||
tiled: bool = Field(
|
||||
default=False,
|
||||
description="Encode latents by overlaping tiles(less memory consumption)")
|
||||
fp32: bool = Field(False, description="Decode in full precision")
|
||||
fp32: bool = Field(default=choose_precision(choose_torch_device())=='float32', description="Decode in full precision")
|
||||
|
||||
|
||||
# Schema customisation
|
||||
|
Loading…
Reference in New Issue
Block a user