Nodes/MD Nodes/MD: FSampler (Speed Patcher)
ComfyUI Node

MD: FSampler (Speed Patcher)

A ComfyUI node in MD_Nodes/Optimization with 6 inputs and 1 output.

By MDMAchine·Created about a year ago·Updated 2 months ago· 14
MD: FSampler (Speed Patcher)
  • model
  • patched_model
extrapolation_modelinear
skip_strategyconservative
skip_interval2
start_percentage0.10
end_percentage0.90
CategoryMD_Nodes/Optimization

Inputs (6)

NameTypeDefaultDescription
modelMODELMODEL INPUT • Purpose: The diffusion model to patch. • Output: Returns the patched model ready for sampling.
extrapolation_modeCOMBOlinearEXTRAPOLATION ALGORITHM • Linear: Faster, uses 2 steps history. Best for standard workflows. • Quadratic: Smoother, uses 3 steps history. Best for non-linear schedules. ⭐ Recommended: linear
skip_strategyCOMBOconservativeSKIP STRATEGY • Conservative: Run N-1 steps, Skip 1. Safest for Images (15-50 steps). • Aggressive: Run 1 step, Skip N-1. Best for Audio/Video (1000+ steps). ⭐ Recommended: conservative (Images), aggressive (Audio/Video)
skip_intervalINT22–100SKIP INTERVAL • Conservative Mode: e.g., 3 = Run 2, Skip 1. • Aggressive Mode: e.g., 5 = Run 1, Skip 4. • Warning: High intervals on low step counts will cause artifacts. ⭐ Recommended: 2
start_percentageFLOAT0.100–1START PROTECTION % • Purpose: Wait until this % of generation is done before skipping. • Why: Crucial for allowing the model to set the initial structure. ⭐ Recommended: 0.1 (Wait 10%)
end_percentageFLOAT0.900–1END PROTECTION % • Purpose: Stop skipping after this % of generation. • Why: Ensures the model renders high-fidelity fine details at the end. ⭐ Recommended: 0.9 (Stop at 90%)

Outputs (1)

NameTypeDescription
patched_modelMODEL