Quick Links & 30-Second Install
Custom Node (GitHub): https://github.com/lepetitprince716-prog/comfyui-moss-accel
Full Benchmark & Step-by-Step Guide (Civitai Article): Accelerating MOSS-Image by 43%-59% Without Softening Details or Diluting Style LoRAs (#39805)
Hugging Face Mirror (EN/ZH Figures & JSONs): https://huggingface.co/kefallrain/comfyui-moss-accel
cd ComfyUI/custom_nodes
git clone https://github.com/lepetitprince716-prog/comfyui-moss-accel.git
# Restart ComfyUI (>= 0.46.0), then drag moss_accel_two_pass.json onto the canvasSummary
A drop-in two-pass ComfyUI workflow (1024x1024 base -> Lanczos 1456x1456 7-step refine, 10.58 s end-to-end on RTX 5080, +53.1% throughput) powered by comfyui-moss-accel (MOSS-Image Accelerate), preserving crisp textures and full style-LoRA fidelity with stage previews and a toggleable same-seed A/B comparison module.

Required Components
Custom Node:
comfyui-moss-accel(GitHub | Hugging Face) — pure Python wrapper over ComfyUI V3 node API (ComfyUI >= 0.46.0), zero extra pip dependencies. Install intoComfyUI/custom_nodes/and restart ComfyUI.Base Models (select your local files in the loader nodes; placeholder filenames are used in the JSON): MOSS-Image DiT (tested on
int8ConvRot), Qwen3.5 9B text encoder, and FLUX.2 VAE.Optional: Any MOSS-Image style LoRA (slot included, bypassed by default), and an
ImageComparenode (only needed if you un-bypass the built-in A/B compare group).
How the Two-Pass Setup Works
Pass 1 — Base (1024x1024, 25 steps, CFG 2.5,
er_sde/simple, shift 5): UsesMOSS-Image Accelerateset tofast(warmup0.36, patternCSF, linear skip extrapolation ->35/50forwards). Linear extrapolation in x0 space keeps sharpness at1.004xwhile cutting 30% of DiT forwards, avoiding the 4-5% softening and occasional face breaks seen withholdor base-pass EasyCache.Pass 2 — Hires Refine (Lanczos upscale to 1456x1456, 7 steps at denoise 0.35,
er_sde/simple, CFG 2.5): Uses a secondMOSS-Image Acceleratenode set torefine(warmup0.20, patternN— positive-only unguided steps after warmup, full final step ->FFNNNNF,10/14forwards). Because composition is already locked by Pass 1, dropping guidance mid-refine cuts tail forwards from 18 (plain 9-step) to 10 with half the drift of EasyCache and crisp detail (sharpness 0.985xat 7 steps,1.004xat 9 steps).Schedule-Density (
coverage) Auto-Detection: The node binary-searches the modelpercent_to_sigmacurve fromfirst_sigma(equivalent_steps = steps / coverage). A 7-stepdenoise=0.35pass (20equivalent steps) is accelerated automatically, while a coarse 8-step full-denoise run (8equivalent steps) is left untouched.
Measured Speed & Quality (RTX 5080, 14-Prompt Benchmark, Interleaved A/A2 Controls)

Profile Base Refine Pass E2E Time Speed-up Rel-L2 Sharpness Verdict
-------------------------------- ---- ----------- -------- -------- ------ --------- --------------------------------------------
Plain baseline off 9st, off 16.20 s 0% 0.000 1.000 Reference
Default (fast + refine 7st) fast 7st, refine 10.58 s +53.1% 0.0645 0.985 Beats Spectrum M1, zero extra nodes
Conservative (fast + refine 9st) fast 9st, refine 11.36 s +42.7% 0.0615 1.004 Indistinguishable; max sharpness
Fastest Std (fast + refine 6st) fast 6st, refine 10.18 s +59.2% 0.0675 0.970 Clean on all 14 prompts; mild knit softeningStyle LoRA Compatibility
Tested across two contrasting style LoRAs (thick painterly gouache and 1990s hand-inked cel animation):
fast + refine: +42.7% speed-up with zero visible style dilution at 2x zoom (sharpness0.988-1.000). Safe to keep ON when showcasing style LoRAs.Note on Sub-4s Distilled / DMD LoRAs: Community 8-step DMD LoRAs (CFG 1,
euler/simple, 8+3 steps ~3.3 s) are orthogonal (MOSS-Image Accelerateautomatically steps aside at CFG 1), but DMD LoRAs smooth painterly/cel textures (sharpness 0.452-0.473x) and compete with style LoRAs. Keep standardfast + refinefor production and style-LoRA showcases.

Known Limitations & Safe Operating Boundaries
Same-seed close, NOT pixel-identical: Reusing/extrapolating steps shifts small secondary details slightly (
RGB rel-L2 ~ 0.065: coat clasps, earrings, subtle head tilt). Setpreset=off(or un-bypass the built-in A/B compare module) when exact baseline reproduction is required.Weaker late negative prompt:
Csteps reuse earlier guidance andrefine(Nsteps) runs positive-only after warmup, so negative prompt terms aimed at fixing late fine details (hands/fingers) carry less weight.Never use
refineon full-denoise Pass 1: Dropping guidance on a full-denoise first pass swaps subject identity (see Figure 03 in the gallery).Automatic step-aside: Steps aside automatically at
CFG=1(distilled runs),<6steps,<12equivalent steps, non-flow-matching models, or 2nd-order samplers (heun,dpm_2). Calibrated on MOSS-Imageint8ConvRot +er_sde; noNaNsanitization.
Workflow Ergonomics
Clean vertical 3-column layout compiled with native ComfyUI hidden resource links (
extra.linkPresentation) — zero third-party Set/Get nodes required.Stage previews at both Pass 1 and Pass 2 boundaries.
Built-in same-seed A/B compare module (bypassed by default for zero overhead; un-bypass anytime to verify your own prompts side-by-side).
Description
Initial public release (v0.1.0) paired with comfyui-moss-accel v0.1.0. Default 1024x1024 fast (25 steps) + 1456x1456 Lanczos refine (7 steps, denoise 0.35): 10.58 s end-to-end on RTX 5080 (+53.1% throughput, 0.985x sharpness, zero style LoRA dilution). Archive includes UI workflow JSON, API JSON, and README.




