From 29f1c6dc82e508e9a56fc957e52d344148cc9c75 Mon Sep 17 00:00:00 2001 From: blessedcoolant <54517381+blessedcoolant@users.noreply.github.com> Date: Sun, 13 Aug 2023 04:23:52 +1200 Subject: [PATCH] fix: Image To Image FP32 Fix for Canvas SDXL --- .../nodes/util/graphBuilders/buildCanvasSDXLImageToImageGraph.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/invokeai/frontend/web/src/features/nodes/util/graphBuilders/buildCanvasSDXLImageToImageGraph.ts b/invokeai/frontend/web/src/features/nodes/util/graphBuilders/buildCanvasSDXLImageToImageGraph.ts index 0342d3e65c..dac605580d 100644 --- a/invokeai/frontend/web/src/features/nodes/util/graphBuilders/buildCanvasSDXLImageToImageGraph.ts +++ b/invokeai/frontend/web/src/features/nodes/util/graphBuilders/buildCanvasSDXLImageToImageGraph.ts @@ -115,6 +115,7 @@ export const buildCanvasSDXLImageToImageGraph = ( type: 'i2l', id: IMAGE_TO_LATENTS, is_intermediate: true, + fp32: vaePrecision === 'fp32' ? true : false, // must be set manually later, bc `fit` parameter may require a resize node inserted // image: { // image_name: initialImage.image_name,