Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -260,17 +260,7 @@ export const getDenoisingStartAndEnd = (state: RootState): { denoising_start: nu
};
}
}
case 'anima': {
// Anima uses a fixed shift=3.0 which makes the sigma schedule highly non-linear.
// Without rescaling, most of the visual 'change' is concentrated in the high denoise
// strength range (>0.8). The exponent 0.2 spreads the effective range more evenly,
// matching the approach used for FLUX and SD3.
const animaExponent = optimizedDenoisingEnabled ? 0.2 : 1;
return {
denoising_start: 1 - denoisingStrength ** animaExponent,
denoising_end: 1,
};
}
case 'anima':
case 'sd-1':
case 'sd-2':
case 'cogview4':
Expand Down
Loading