Add Heun Karras Scheduler

This commit is contained in:
blessedcoolant 2023-05-13 02:43:32 +12:00 committed by psychedelicious
parent 47a088d685
commit 026d3260b4
5 changed files with 6 additions and 1 deletions

View File

@ -113,6 +113,7 @@ SAMPLER_CHOICES = [
"lms",
"pndm",
"heun",
"heun_k",
"euler",
"euler_k",
"euler_a",

View File

@ -9,7 +9,8 @@ SCHEDULER_MAP = dict(
deis=(DEISMultistepScheduler, dict()),
lms=(LMSDiscreteScheduler, dict()),
pndm=(PNDMScheduler, dict()),
heun=(HeunDiscreteScheduler, dict()),
heun=(HeunDiscreteScheduler, dict(use_karras_sigmas=False)),
heun_k=(HeunDiscreteScheduler, dict(use_karras_sigmas=True)),
euler=(EulerDiscreteScheduler, dict(use_karras_sigmas=False)),
euler_k=(EulerDiscreteScheduler, dict(use_karras_sigmas=True)),
euler_a=(EulerAncestralDiscreteScheduler, dict()),

View File

@ -9,6 +9,7 @@ SAMPLER_CHOICES = [
"lms",
"pndm",
"heun",
'heun_k',
"euler",
"euler_k",
"euler_a",

View File

@ -7,6 +7,7 @@ export const DIFFUSERS_SCHEDULERS: Array<string> = [
'lms',
'pndm',
'heun',
'heun_k',
'euler',
'euler_k',
'euler_a',

View File

@ -52,6 +52,7 @@ export type CommonGeneratedImageMetadata = {
| 'lms'
| 'pndm'
| 'heun'
| 'heun_k'
| 'euler'
| 'euler_k'
| 'euler_a'