CivArchive
    RIFE-RTX - v3.0
    NSFW
    Preview 147989404

    My upscaler and interpolator. I spent a lot of time creating it, with a special focus on quality and speed. Thanks to DaSiWa! Due to the RTX Frame Generation node, version 2.0 consumes significantly more memory than version 1.0. If you run out of memory, avoid selecting the highest "mode" setting, reduce the "scale" value, or use the more stable version 1.0.

    I spent a full week testing two nodes: "Auto RIFE TensorRT" and "RTX Frame Generation." I must admit that "RTX Frame Generation" performs significantly better than "Auto RIFE TensorRT." Using identical settings—specifically, a resolution of 1024x1024 at 24 frames per second, upscaled by 1.5x to 1536x1536 at 48 frames per second—the processing time for the "RTX Frame Generation" node is substantially shorter than that of "Auto RIFE TensorRT."

    I discovered an important and rather unexpected fact: the long processing time in "Auto RIFE TensorRT" occurs because the node offloads excess data to the hard drive. This happens in a non-obvious way, which causes processing times to spike.

    This is precisely why the "use_mmap" option in the "RTX Frame Generation" node should always be enabled; it activates automatically when there is insufficient RAM, moving overflow data to the hard drive. In terms of drive wear, the "RTX Frame Generation" node is clearly superior—a conclusion I have reached through repeated practical testing.

    Since "Auto RIFE TensorRT" also offloads excess data to the hard drive when memory runs low—albeit inefficiently and much more slowly—I recommend using the "RTX Frame Generation" node (and, by extension, version 3.0).

    Load the video and check the frame rate (look at the force_rate field in the "Load Video (Upload)" node); the "FPS" node must be set to exactly double that rate—so if the frame rate is 16, the "FPS" node should be 32; if it's 24, the "FPS" node should be 48. Otherwise, the video timing will be off; for example, a 5-second input video might result in a shorter or longer output.

    Next is the "DaSiWa RTX Upscaler & Refiner" node and the scale value (which determines the output video enlargement). For low-resolution video, set this to 2.00 or higher. However, for 1024x1024 video, a scale of 2.00 over a 20-second duration is already too much; things start to slow down due to insufficient VRAM, and the overflow is dumped into the G:\ComfyUI_windows_portable\ComfyUI\temp folder (your temp folder location may differ). A massive file—20GB or larger—will appear there, indicating a memory shortage where the "DaSiWa RTX Upscaler & Refiner" node is offloading data to the hard drive; this is one way to check if you have enough memory.

    Balance is key! You need to balance the output resolution increase against the video duration. I have 16GB of VRAM; when processing a 15-second, 1024x1024 video with scale=2 (resulting in 2048x2048 output), I have just enough memory but no headroom. Therefore, you should either reduce the scale (e.g., to 1.5) or shorten the input video duration.

    You can even disable upscaling entirely scale=0), in which case only interpolation will run!

    Next... The RIFE Custom Resolution Config node has three parameters: min_dim, opt_dim, and max_dim. For an image with dimensions of, say, 576x800 (frame width 576, height 800), the settings would be min_dim=576, opt_dim=800, and max_dim=800 (values ​​for min_dim, opt_dim, and max_dim must be multiples of 8, as required by TensorRT).

    max_dim must be greater than or equal to opt_dim; otherwise, the range becomes invalid.

    What if the frame size is 577x801? Neither dimension is a multiple of 8 here—what values ​​should be used for min_dim, opt_dim, and max_dim?

    --If the frame size is 577x801, all parameters must still be "rounded up to the nearest multiple of 8." Result: min_dim=584, opt_dim=808, max_dim=808.

    Note! Every time you change the parameters in the RIFE Custom Resolution Config node, the model is rebuilt. This takes time and creates a new file containing the resolution in its name (e.g., 1024x1024); the files are located at G:\ComfyUI_windows_portable\ComfyUI\models\tensorrt\rife.

    If you frequently use different resolutions, be prepared to wait for the model to rebuild for the required resolution; however, once rebuilt, the model remembers the resolution, and subsequent operations will be very fast!

    TensorRT Installation:

    Install the appropriate CUDA Toolkit from https://developer.nvidia.com/cuda-downloads — I am using cuda_13.4.3_windows_x86_64.exe with my RTX 5060 Ti.

    Make sure to install the following: .\python_embeded\python.exe -m pip install wheel wheel_stub

    Open a CMD window from the G:\ComfyUI_windows_portable\ComfyUI\custom_nodes directory and run:

    git clone https://github.com/huchukato/ComfyUI-RIFE-TensorRT-Auto

    Open a CMD window from the G:\ComfyUI_windows_portable directory and execute the following (start with requirements.txt):

    .\python_embeded\python.exe -m pip install -r ComfyUI\custom_nodes\ComfyUI-RIFE-TensorRT-Auto\requirements.txt

    .\python_embeded\python.exe -m pip install -r ComfyUI\custom_nodes\ComfyUI-RIFE-TensorRT-Auto\requirements_cu13.txt

    Verification:

    .\python_embeded\python.exe -c "import tensorrt; print(tensorrt.__version__)"

    Result:

    10.15.1.29

    Depending on your graphics card, you might need an older version of CUDA (e.g., version 12 instead of 13). In that case, you should download the CUDA Toolkit 12 and use the requirements_cu12.txt file instead.

    Additionally, you will need the NVIDIA Video Effects (VFX) SDK; install it as follows:

    .\python_embeded\python.exe -m pip install nvidia-vfx --extra-index-url https://pypi.nvidia.com

    Description

    In the new version, you no longer need to specify the number of frames; frame doubling happens automatically.

    A quick tip: If the use_mmap option kicks in due to a lack of memory—which you’ll notice because processing takes longer, your hard drive becomes active, and a large file appears in the G:\ComfyUI_windows_portable\ComfyUI\temp folder—do the following: wait for the process to finish, and as soon as it’s done, immediately close both the ComfyUI CMD window and your browser tab. The hard drive will continue to spin for a moment, and then it will stop!

    If you don’t close the window right after the process finishes, the hard drive will keep working for longer, which can cause your Windows system to lag—though this doesn't last very long (at least, that’s how it behaves on my setup, which has 32GB of RAM and 16GB of VRAM).

    Don’t forget to check your "temp" folder periodically—in my case, it’s located at G:\ComfyUI_windows_portable\ComfyUI\temp.

    Large files may sometimes be left behind there; if you find any, feel free to delete them—they are just remnants from when the system ran low on memory.

    FAQ

    Workflows
    Upscaler

    Details

    Downloads
    69
    Platform
    CivitAI
    Platform Status
    Available
    Created
    11/5/2026
    Updated
    11/25/2026
    Deleted
    -

    Files

    RIFE-RTX5.json

    Mirrors

    CivitAI (1 mirrors)