Skip to content

Commit 33c288a

Browse files
authored
remove anima denoise case (#9072)
1 parent 4546b5f commit 33c288a

1 file changed

Lines changed: 1 addition & 11 deletions

File tree

invokeai/frontend/web/src/features/nodes/util/graph/graphBuilderUtils.ts

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -260,17 +260,7 @@ export const getDenoisingStartAndEnd = (state: RootState): { denoising_start: nu
260260
};
261261
}
262262
}
263-
case 'anima': {
264-
// Anima uses a fixed shift=3.0 which makes the sigma schedule highly non-linear.
265-
// Without rescaling, most of the visual 'change' is concentrated in the high denoise
266-
// strength range (>0.8). The exponent 0.2 spreads the effective range more evenly,
267-
// matching the approach used for FLUX and SD3.
268-
const animaExponent = optimizedDenoisingEnabled ? 0.2 : 1;
269-
return {
270-
denoising_start: 1 - denoisingStrength ** animaExponent,
271-
denoising_end: 1,
272-
};
273-
}
263+
case 'anima':
274264
case 'sd-1':
275265
case 'sd-2':
276266
case 'cogview4':

0 commit comments

Comments
 (0)