From 630ac6dd2de23083f4f0546f08d6f9c4312f6753 Mon Sep 17 00:00:00 2001 From: w33b Date: Thu, 5 Mar 2026 23:07:44 +0100 Subject: [PATCH] Fix running out of vram on linux --- utils/interpolate.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/utils/interpolate.py b/utils/interpolate.py index 064c5f6..cf4b64b 100644 --- a/utils/interpolate.py +++ b/utils/interpolate.py @@ -26,6 +26,9 @@ def _create_vsrife_script( script = [ 'import vapoursynth as vs', 'from vsrife import rife', + # this isn't a real fix, as this SHOULDN'T FIX IT + # however for some reason it does + 'vs.core.max_cache_size=8192', f'clip = vs.core.ffms2.Source(source="./{hentai_name} [4k][HEVC].mkv")', f'clip = vs.core.resize.Bicubic(clip, width={video_width}, height=2160, format=vs.RGBS, matrix_in_s="709")', 'clip = rife(clip=clip, model="4.25.lite", factor_num=2, factor_den=1)',