ComfyUI Extension: Lee-RIFE
Run ComfyUI workflows without the setup
No installs, no CUDA version roulette, no GPU sitting idle on your bill. Bring a workflow and run it in the browser.
Fast, GPU-batched RIFE frame interpolation for ComfyUI with working bidirectional ensemble in fp16/32. Self-contained, weights bundled, no extra dependencies.
README
ComfyUI-Lee-RIFE
Fast, GPU-batched RIFE frame interpolation for ComfyUI — a self-contained node with the weights bundled, no extra dependencies.
What it does
- Runs RIFE (
rife49.pth, architecture v4.7) on the GPU in batches instead of one frame-pair at a time. - Enables RIFE's real bidirectional ensemble (a forward and a time-reversed pass, averaged) for cleaner motion.
fp16by default (visually identical tofp32for interpolation, roughly 2× faster on modern NVIDIA cards);fp32selectable.- Automatically halves the batch on out-of-memory, so it scales from small cards to big ones.
Requirements
- ComfyUI
- An NVIDIA GPU with a CUDA build of PyTorch (the same one ComfyUI already uses).
- No extra pip installs — it only uses what ComfyUI provides.
Install
- Copy the
ComfyUI-Lee-RIFEfolder intoComfyUI/custom_nodes/(orgit cloneit there). - Make sure
models/rife49.pthis present (it ships with this repo; seemodels/HOW-TO-ADD-WEIGHTS.txtif it is missing). - Restart ComfyUI completely (the process, not just the browser tab).
The node appears as “RIFE GPU Fast (Lee)” under the Lee/RIFE category.
Usage
Wire your frames into frames. For doubling 15 fps → 30 fps, set multiplier = 2
and set your video-output node to 30 fps.
|Parameter|Meaning|
|-|-|
|multiplier|Output frames per input frame (2 = double the frame rate).|
|ensemble|Bidirectional pass (better quality, ~2× the work). On by default.|
|scale\_factor|Internal flow scale; leave at 1.0 unless resolution is very high.|
|precision|fp16 (fast) or fp32 (bit-faithful to the original node).|
|batch\_size|Frame-pairs per GPU batch. Higher = better GPU use; lowers itself on OOM.|
Output count: for multiplier = m and N input frames you get m × N
frames (e.g. 81 frames at 15 fps → 162 frames at 30 fps, same duration).
On the first run you will see a console line like
\[ComfyUI-Lee-RIFE] loaded rife49.pth (arch 4.7) on cuda:0 / torch.float16,
confirming it is on the GPU.
Credits & license
This node's own code is MIT (see LICENSE), © 2026 Smai-Lee.
It builds on:
- RIFE / Practical-RIFE (Zhewei Huang et al.) — the model and architecture (MIT).
- ComfyUI-Frame-Interpolation (Fannovel16) —
rife_arch.pyis vendored from it (MIT).
Full attribution and the upstream license texts are in THIRD-PARTY-NOTICES.md.
Please cite the RIFE paper if you use this in research (citation in the notices file).
Run ComfyUI workflows without the setup
No installs, no CUDA version roulette, no GPU sitting idle on your bill. Bring a workflow and run it in the browser.