Skip to content

Commit

Permalink
feat: add iPNDM scheduler
Browse files Browse the repository at this point in the history
  • Loading branch information
ssube committed Feb 14, 2023
1 parent 1289c56 commit f2d0025
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions api/onnx_web/diffusion/load.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
EulerAncestralDiscreteScheduler,
EulerDiscreteScheduler,
HeunDiscreteScheduler,
IPNDMScheduler,
KarrasVeScheduler,
KDPM2AncestralDiscreteScheduler,
KDPM2DiscreteScheduler,
Expand Down Expand Up @@ -40,6 +41,7 @@
"euler": EulerDiscreteScheduler,
"euler-a": EulerAncestralDiscreteScheduler,
"heun": HeunDiscreteScheduler,
"ipndm": IPNDMScheduler,
"k-dpm-2-a": KDPM2AncestralDiscreteScheduler,
"k-dpm-2": KDPM2DiscreteScheduler,
"karras-ve": KarrasVeScheduler,
Expand Down
3 changes: 3 additions & 0 deletions gui/src/strings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ export const MODEL_LABELS: Record<string, string> = {
'correction-codeformer': 'CodeFormer',
'correction-gfpgan-v1-3': 'GFPGAN v1.3',
// extras
'diffusion-stablydiffused-aesthetic-v2-6': 'Aesthetic Mix v2.6',
'diffusion-anything': 'Anything',
'diffusion-anything-v3': 'Anything v3',
'diffusion-anything-v4': 'Anything v4',
Expand All @@ -28,6 +29,7 @@ export const MODEL_LABELS: Record<string, string> = {
'diffusion-openjourney-v1': 'OpenJourney v1',
'diffusion-openjourney-v2': 'OpenJourney v2',
'diffusion-pastel-mix': 'Pastel Mix',
'diffusion-unstable-ink-dream-v6': 'Unstable Ink Dream v6',
};

export const PLATFORM_LABELS: Record<string, string> = {
Expand All @@ -53,6 +55,7 @@ export const SCHEDULER_LABELS: Record<string, string> = {
'k-dpm-2-a': 'KDPM2 Ancestral',
'k-dpm-2': 'KDPM2',
'karras-ve': 'Karras Ve',
'ipndm': 'iPNDM',
'lms-discrete': 'LMS',
'pndm': 'PNDM',
};
Expand Down

0 comments on commit f2d0025

Please sign in to comment.