Skip to content

Commit

Permalink
Reorganize custom_sampling nodes.
Browse files Browse the repository at this point in the history
  • Loading branch information
comfyanonymous authored and rklaffehn committed Nov 14, 2023
1 parent a4f9fca commit ea30edc
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions comfy_extras/nodes_custom_sampler.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ def INPUT_TYPES(s):
}
}
RETURN_TYPES = ("SIGMAS",)
CATEGORY = "sampling/custom_sampling"
CATEGORY = "sampling/custom_sampling/schedulers"

FUNCTION = "get_sigmas"

Expand All @@ -36,7 +36,7 @@ def INPUT_TYPES(s):
}
}
RETURN_TYPES = ("SIGMAS",)
CATEGORY = "sampling/custom_sampling"
CATEGORY = "sampling/custom_sampling/schedulers"

FUNCTION = "get_sigmas"

Expand All @@ -54,7 +54,7 @@ def INPUT_TYPES(s):
}
}
RETURN_TYPES = ("SIGMAS",)
CATEGORY = "sampling/custom_sampling"
CATEGORY = "sampling/custom_sampling/schedulers"

FUNCTION = "get_sigmas"

Expand All @@ -73,7 +73,7 @@ def INPUT_TYPES(s):
}
}
RETURN_TYPES = ("SIGMAS",)
CATEGORY = "sampling/custom_sampling"
CATEGORY = "sampling/custom_sampling/schedulers"

FUNCTION = "get_sigmas"

Expand All @@ -92,7 +92,7 @@ def INPUT_TYPES(s):
}
}
RETURN_TYPES = ("SIGMAS",)
CATEGORY = "sampling/custom_sampling"
CATEGORY = "sampling/custom_sampling/schedulers"

FUNCTION = "get_sigmas"

Expand All @@ -109,7 +109,7 @@ def INPUT_TYPES(s):
}
}
RETURN_TYPES = ("SIGMAS","SIGMAS")
CATEGORY = "sampling/custom_sampling"
CATEGORY = "sampling/custom_sampling/sigmas"

FUNCTION = "get_sigmas"

Expand Down Expand Up @@ -144,7 +144,7 @@ def INPUT_TYPES(s):
}
}
RETURN_TYPES = ("SAMPLER",)
CATEGORY = "sampling/custom_sampling"
CATEGORY = "sampling/custom_sampling/samplers"

FUNCTION = "get_sampler"

Expand All @@ -163,7 +163,7 @@ def INPUT_TYPES(s):
}
}
RETURN_TYPES = ("SAMPLER",)
CATEGORY = "sampling/custom_sampling"
CATEGORY = "sampling/custom_sampling/samplers"

FUNCTION = "get_sampler"

Expand All @@ -187,7 +187,7 @@ def INPUT_TYPES(s):
}
}
RETURN_TYPES = ("SAMPLER",)
CATEGORY = "sampling/custom_sampling"
CATEGORY = "sampling/custom_sampling/samplers"

FUNCTION = "get_sampler"

Expand Down Expand Up @@ -252,14 +252,14 @@ def sample(self, model, add_noise, noise_seed, cfg, positive, negative, sampler,

NODE_CLASS_MAPPINGS = {
"SamplerCustom": SamplerCustom,
"BasicScheduler": BasicScheduler,
"KarrasScheduler": KarrasScheduler,
"ExponentialScheduler": ExponentialScheduler,
"PolyexponentialScheduler": PolyexponentialScheduler,
"VPScheduler": VPScheduler,
"KSamplerSelect": KSamplerSelect,
"SamplerDPMPP_2M_SDE": SamplerDPMPP_2M_SDE,
"SamplerDPMPP_SDE": SamplerDPMPP_SDE,
"BasicScheduler": BasicScheduler,
"SplitSigmas": SplitSigmas,
"FlipSigmas": FlipSigmas,
}

0 comments on commit ea30edc

Please sign in to comment.