Skip to content

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

sd-forge-beta57

A tiny standalone extension for sd-webui-forge-classic (Neo branch) that adds the beta57 sigma scheduler from RES4LYF.

What it does

Registers a single extra entry in the Schedule type dropdown:

Name Label
beta57 Beta57 (RES4LYF)

beta57 is the Beta-distribution-PPF sigma schedule with alpha = 0.5 and beta = 0.7 hard-pinned at the RES4LYF defaults. The math is the same family as forge-neo's built-in Beta scheduler — the only difference is that the built-in Beta reads alpha / beta from shared.opts.beta_dist_alpha / beta_dist_beta, while this one keeps them fixed regardless of UI option changes so the curve is stable across sessions.

Reference: RES4LYF/sigmas.py line 1421 calls comfy.samplers.beta_scheduler(model_sampling, total_steps, alpha=0.5, beta=0.7).

When to use it

Whenever the upstream RES4LYF docs / workflows pick beta57 — i.e. with the RES / DEIS samplers, especially on flow / rectified-flow models (SD3.5, Flux, Wan, ANIMA, etc.). On these models beta57 tends to give better detail and prompt adherence than the standard karras / exponential / simple schedules because it spends more steps in the mid-sigma range where the velocity field changes most.

It also works fine with any of forge-neo's stock samplers (Euler, DPM++, Res Multistep, …). It's just a sigma curve.

Install

  1. Unzip into your forge-neo extensions/ directory:

    <your-forge-neo>/extensions/sd-forge-beta57/
    <your-forge-neo>/extensions/sd-forge-beta57/scripts/beta57.py
    
  2. Restart the WebUI. Pick Beta57 (RES4LYF) from the Schedule type dropdown.

What it does NOT do

This extension does only the scheduler. It does not vendor any other RES4LYF code, does not add RES / DEIS samplers, does not touch the model or attention layers. If you want the samplers as well, use the larger sd-forge-res4lyf extension instead.

Compatibility

  • Pure scheduler code — has no opinion about the sampler, model architecture (epsilon / v / flow), or any of forge-neo's runtime flags (--sage, int8, torch.compile, etc.).
  • Skips registration cleanly if a scheduler named beta57 is already present (e.g. because sd-forge-res4lyf is also installed).
  • Dependencies: numpy and scipy, both of which the WebUI already uses for the built-in Beta scheduler.

Licence

Apache-2.0. The scheduler implementation mirrors RES4LYF (Apache-2.0) and forge-neo's beta_scheduler (AGPL-3.0 for the upstream A1111-derived code); this extension distributes only the small re-implementation in scripts/beta57.py under Apache-2.0.

Credits

About

A standalone Beta57 scheduler only

Resources

Stars

4 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages