LongLive icon indicating copy to clipboard operation
LongLive copied to clipboard

Community integration: LongLive-Plug in ComfyUI — Wan2.1-14B validation on RTX 5090

Open hiroki-abe-58 opened this issue 2 months ago • 3 comments

Hi LongLive-Plug team,

Thank you for releasing the code and adapters.

I built an independent community integration of LongLive-Plug for ComfyUI's built-in Wan2.1 support:

https://github.com/hiroki-abe-58/ComfyUI-LongLive-Plug

The current release targets Wan2.1-T2V-14B and has been tested with real weights on Windows 11 and an RTX 5090 32 GB.

Integration and correctness checks

The package adds two nodes: an adapter-pair loader and a sampling-recipe node. Everything else uses ComfyUI core nodes; the nodes require no additional Python dependencies or external runtime process.

The implementation checks:

  • Few-Step and CFG adapter weights of 1.0 and 0.5, respectively, with runtime CFG 1.0.
  • Full adapter coverage: 400/400 targets per adapter, including key mapping, shapes, rank/alpha and unused-key checks.
  • Model-clone patching without modifying the input model. The patch result was compared with upstream merge_lora.py on 7 representative layers of the real BF16 base and was bit-identical on CPU.
  • The default 4-step FlowUniPC recipe follows LongLive-Plug/inference.py and configs/wan21_dmd.yaml. CPU reference tests match the upstream scheduler arithmetic.
  • Real-model instrumentation recorded timesteps [999, 937, 833, 624], with 4 conditional evaluations and no unconditional evaluations.

Details: https://github.com/hiroki-abe-58/ComfyUI-LongLive-Plug/blob/main/docs/SCHEDULER.md

RTX 5090 comparison

ComfyUI v0.38.0, PyTorch 2.14.1+cu130, unquantized BF16 Wan2.1-T2V-14B, 832×480, 81 frames, 16 fps.

The following runs used the same prompt and seed, each as the first generation after starting a separate ComfyUI server:

Configuration Sampler stage End-to-end wall time
Base Wan2.1, 50-step UniPC, CFG 5 932.2 s 943.5 s
LongLive-Plug, 4-step FlowUniPC, CFG 1 41.3 s 59.0 s

The sampler-stage measurement includes lazy weight staging and LoRA patching, not just denoising. The OS file cache was not flushed, so these are not cold-disk measurements. This is a small reproduction check, not a general performance or quality benchmark.

Methodology and raw records: https://github.com/hiroki-abe-58/ComfyUI-LongLive-Plug/blob/main/docs/BENCHMARKS.md

The release includes full-resolution videos for the 50-step baseline, LongLive-Plug 4-step result, and a naive 4-step run without adapters: https://github.com/hiroki-abe-58/ComfyUI-LongLive-Plug/releases/tag/v0.1.0

Scope and limitations

  • Real-weight validation currently covers Wan2.1-T2V-14B on Windows/RTX 5090 only.
  • Quantized bases are explicitly rejected because their patching path has not been verified.
  • Wan2.2-TI2V-5B, MiniMax-H3 and long-context adapters are not supported in this release.
  • ComfyUI's initial-noise layout differs from the upstream CLI, so matching seeds do not imply identical videos. The CPU arithmetic checks above are narrower claims, not end-to-end pixel equivalence.

I wanted to share this as a community integration and reproducibility report. Feedback on the adapter mapping or sampling recipe would be appreciated.

Would a short community-integration entry in the LongLive-Plug README be welcome? I would be happy to submit a minimal documentation PR.

Thanks again for making the work available.

hiroki-abe-58 avatar Oct 02 '26 07:10 hiroki-abe-58

Update: the ComfyUI integration is now published on the official Comfy Registry as well:

https://registry.comfy.org/ja/publishers/hiroki-abe-58/nodes/longlive-plug

Node ID: longlive-plug Publisher: hiroki-abe-58

So users can now discover/install the integration through the Comfy Registry / ComfyUI-Manager flow in addition to GitHub.

hiroki-abe-58 avatar Oct 02 '26 08:10 hiroki-abe-58

Thanks for building this ComfyUI integration and sharing such a detailed validation report! We really appreciate the effort. We’d be happy to collaborate, and a short community-integration entry in the LongLive-Plug README would be very welcome. Please feel free to open a documentation PR, and we’ll be glad to review it.

AndysonYs avatar Oct 08 '26 14:10 AndysonYs

I merged the PR. I will close this issue. Thanks.

yukang2017 avatar Oct 09 '26 09:10 yukang2017