re: Readd Refiner Step Math but cap max steps to 1000

This commit is contained in:
blessedcoolant 2023-08-14 09:26:01 +12:00
parent d63bb39475
commit 75fb3f429f

View File

@ -90,7 +90,7 @@ export const addSDXLRefinerToGraph = (
type: 'denoise_latents',
id: SDXL_REFINER_DENOISE_LATENTS,
cfg_scale: refinerCFGScale,
steps: refinerSteps,
steps: Math.min(refinerSteps / (1 - Math.min(refinerStart, 0.99)), 1000),
scheduler: refinerScheduler,
denoising_start: refinerStart,
denoising_end: 1,