mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
fix: SDXL Refiner Seamless Interaction
This commit is contained in:
parent
943bedadf2
commit
4c407328f2
@ -368,7 +368,9 @@ export const buildCanvasSDXLImageToImageGraph = (
|
|||||||
// Add Refiner if enabled
|
// Add Refiner if enabled
|
||||||
if (shouldUseSDXLRefiner) {
|
if (shouldUseSDXLRefiner) {
|
||||||
addSDXLRefinerToGraph(state, graph, SDXL_DENOISE_LATENTS);
|
addSDXLRefinerToGraph(state, graph, SDXL_DENOISE_LATENTS);
|
||||||
modelLoaderNodeId = REFINER_SEAMLESS;
|
if (seamlessXAxis || seamlessYAxis) {
|
||||||
|
modelLoaderNodeId = REFINER_SEAMLESS;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// optionally add custom VAE
|
// optionally add custom VAE
|
||||||
|
@ -630,7 +630,9 @@ export const buildCanvasSDXLInpaintGraph = (
|
|||||||
CANVAS_COHERENCE_DENOISE_LATENTS,
|
CANVAS_COHERENCE_DENOISE_LATENTS,
|
||||||
modelLoaderNodeId
|
modelLoaderNodeId
|
||||||
);
|
);
|
||||||
modelLoaderNodeId = REFINER_SEAMLESS;
|
if (seamlessXAxis || seamlessYAxis) {
|
||||||
|
modelLoaderNodeId = REFINER_SEAMLESS;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// optionally add custom VAE
|
// optionally add custom VAE
|
||||||
|
@ -768,7 +768,9 @@ export const buildCanvasSDXLOutpaintGraph = (
|
|||||||
CANVAS_COHERENCE_DENOISE_LATENTS,
|
CANVAS_COHERENCE_DENOISE_LATENTS,
|
||||||
modelLoaderNodeId
|
modelLoaderNodeId
|
||||||
);
|
);
|
||||||
modelLoaderNodeId = REFINER_SEAMLESS;
|
if (seamlessXAxis || seamlessYAxis) {
|
||||||
|
modelLoaderNodeId = REFINER_SEAMLESS;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// optionally add custom VAE
|
// optionally add custom VAE
|
||||||
|
@ -348,7 +348,9 @@ export const buildCanvasSDXLTextToImageGraph = (
|
|||||||
// Add Refiner if enabled
|
// Add Refiner if enabled
|
||||||
if (shouldUseSDXLRefiner) {
|
if (shouldUseSDXLRefiner) {
|
||||||
addSDXLRefinerToGraph(state, graph, SDXL_DENOISE_LATENTS);
|
addSDXLRefinerToGraph(state, graph, SDXL_DENOISE_LATENTS);
|
||||||
modelLoaderNodeId = REFINER_SEAMLESS;
|
if (seamlessXAxis || seamlessYAxis) {
|
||||||
|
modelLoaderNodeId = REFINER_SEAMLESS;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// add LoRA support
|
// add LoRA support
|
||||||
|
@ -368,7 +368,9 @@ export const buildLinearSDXLImageToImageGraph = (
|
|||||||
// Add Refiner if enabled
|
// Add Refiner if enabled
|
||||||
if (shouldUseSDXLRefiner) {
|
if (shouldUseSDXLRefiner) {
|
||||||
addSDXLRefinerToGraph(state, graph, SDXL_DENOISE_LATENTS);
|
addSDXLRefinerToGraph(state, graph, SDXL_DENOISE_LATENTS);
|
||||||
modelLoaderNodeId = REFINER_SEAMLESS;
|
if (seamlessXAxis || seamlessYAxis) {
|
||||||
|
modelLoaderNodeId = REFINER_SEAMLESS;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// optionally add custom VAE
|
// optionally add custom VAE
|
||||||
|
@ -261,7 +261,9 @@ export const buildLinearSDXLTextToImageGraph = (
|
|||||||
// Add Refiner if enabled
|
// Add Refiner if enabled
|
||||||
if (shouldUseSDXLRefiner) {
|
if (shouldUseSDXLRefiner) {
|
||||||
addSDXLRefinerToGraph(state, graph, SDXL_DENOISE_LATENTS);
|
addSDXLRefinerToGraph(state, graph, SDXL_DENOISE_LATENTS);
|
||||||
modelLoaderNodeId = REFINER_SEAMLESS;
|
if (seamlessXAxis || seamlessYAxis) {
|
||||||
|
modelLoaderNodeId = REFINER_SEAMLESS;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// optionally add custom VAE
|
// optionally add custom VAE
|
||||||
|
Loading…
x
Reference in New Issue
Block a user