remove anima denoise case (#9072)

This commit is contained in:
dunkeroni 2026-04-21 20:43:50 -04:00 committed by GitHub
parent 4546b5f695
commit 33c288a97d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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':