Nodes/ComfyUI-S2Guidance/✨Perpo-GuidanceDIT
ComfyUI Node

✨Perpo-GuidanceDIT

Enables Perpo-guidance for certain diffusion models which should lead to better prompt adherence. It achieves this by subtracting a subnetwork of layers from the guidance which should make it more robust than normal CFG-guidance.

By orpheus-gaze·Created 3 months ago·Updated 3 months ago· 2
✨Perpo-GuidanceDIT
  • model
  • model
apply_clampingtrue
perpo_guidance_scale0.30
skip_layers_percentage1
Category✨ S2GUIDANCE

Inputs (4)

NameTypeDefaultDescription
modelMODEL
apply_clampingBOOLEANtrueSet True when you want to clamp the final result. This will constrain the final result somewhat. (no clamping=False, clamping=True, default=True)
perpo_guidance_scaleoptFLOAT0.300–2The strength of the perpo guidance scale. (no effect=0.0, strong effect=2.0, default=0.3)
skip_layers_percentageoptINT11–100The skip_layers_percentage variable dictates the percentage of how many layers out of the total that should be skipped. (one=1, all=100, default=1)

Outputs (1)

NameTypeDescription
modelMODEL