tidy: use lowercase for tcd scheduler identifier

This commit is contained in:
psychedelicious 2024-04-03 17:03:02 +11:00
parent 8c509295f9
commit 51e515b925
3 changed files with 3 additions and 3 deletions

View File

@ -41,5 +41,5 @@ SCHEDULER_MAP = {
"dpmpp_sde_k": (DPMSolverSDEScheduler, {"use_karras_sigmas": True, "noise_sampler_seed": 0}),
"unipc": (UniPCMultistepScheduler, {"cpu_only": True}),
"lcm": (LCMScheduler, {}),
"TCD": (TCDScheduler, {}),
"tcd": (TCDScheduler, {}),
}

View File

@ -40,7 +40,7 @@ export const zSchedulerField = z.enum([
'euler_a',
'kdpm_2_a',
'lcm',
'TCD',
'tcd',
]);
// #endregion

View File

@ -75,5 +75,5 @@ export const SCHEDULER_OPTIONS: ComboboxOption[] = [
{ value: 'euler_a', label: 'Euler Ancestral' },
{ value: 'kdpm_2_a', label: 'KDPM 2 Ancestral' },
{ value: 'lcm', label: 'LCM' },
{ value: 'TCD', label: 'TCD' },
{ value: 'tcd', label: 'TCD' },
].sort((a, b) => a.label.localeCompare(b.label));