Batched Runge-Kutta Samplers for ComfyUI
Perfil del paquete
Léeme
example
Supports most practical Explicit Runge-Kutta (ERK) methods.
Tested on SD1.5, SDXL, and SD3.
Recursos relacionados
1 conexiónFuentes
5 fuentesExtractos de fuentes
1 extractoSource context: Repo memmaptensor/ComfyUI-RK-Sampler
ComfyUI Manager Menu > Custom Nodes Manager > ComfyUI-RK-Sampler > Install
From
ComfyUI/custom_nodesand ComfyUI virtual environment:
git clone https://github.com/wootwootwootwoot/ComfyUI-RK-Sampler.git
pip install torchode
workflow Basic workflow
From
Add Node:
sampling > custom_sampling > samplers > Runge-Kutta Sampler
adaptive_pid controller with the base CFG and increment it until the results get worse.fixed_scheduled controller:
Align Your Steps scheduler.adaptive_pid controller.adaptive_pid or adaptive_scipy controllers:
log_absolute_tolerance to -3.5:
log_relative_tolerance to be 1-2 more than log_absolute_tolerance.Adaptive step size
method: ae_bosh3
step_size_controller: adaptive_pid
log_absolute_tolerance: -3.5
log_relative_tolerance: -2.5
pcoeff: 0
icoeff: 1
dcoeff: 0
norm: rms_norm
enable_dt_min: false
enable_dt_max: true
dt_min: -0.1
dt_max: 0
safety: 0.9
factor_min: 0.2
factor_max: 10
max_steps: 2147483647
min_sigma: 1e-5
cfg: 7-35
Fixed step size
method: fe_ralston3
step_size_controller: fixed_scheduled
scheduler: Align Your Steps
steps: 28-150
cfg: 7-35
step_size_controller: Controller to determine the step size taken on each sampling step.
adaptive controllers: Automatically determines the step size(s). The scheduler choice and scheduler step count does not matter since they only use the start and end timesteps.
fixed controllers: Uses the step size(s) provided by the scheduler. Works like a normal non-adaptive sampler in this case.
a-class methods.a-class and f-class methods.s-class methods.method: Determines the solver method used.
a, f, and s classesa = adaptive, f = fixed, s = scipy, e = explicita-class methods with either:
adaptive_pid for automatically determined step sizes/count.fixed_scheduled for scheduler determined step sizes/count.f-class methods with fixed_scheduled.s-class methods with adaptive_scipy.ae_bosh3, ae_dopri5, and ae_fehlberg5 with the adaptive_pid step size controller.fe_ralston3, ae_bosh3, and fe_ssprk3 with the fixed_scheduled step size controller.Nodos de este paquete
1 nodoVerificado 3 ago