Skip to content

CFG Scale == Mimic Scale deactivates all processing #110

Description

@heftig

For the Comfy node as used in SwarmUI, setting the cfg_scale == mimic_scale apparently deactivates the node completely, no matter what the other settings are.

However, I think the node should only by bypassed when

  (cfg_mode == "Constant" && (
    interpolate_phi == 0.0 ||
    (variability_measure == "AD" && threshold_percentile == 0.0) ||
    (mimic_mode == "Constant" && cfg_scale == mimic_scale)
  ) ||
  (cfg_scale == mimic_scale && mimic_scale == cfg_scale_min && cfg_scale_min == mimic_scale_min)

or just remove this optimization completely.

This would retain the ability to vary the scales over time, even if the endpoints are equal.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions