From 87f9fc1300acfab75164c17361fa4a5614cbb62c Mon Sep 17 00:00:00 2001 From: Tohrusky <65994850+Tohrusky@users.noreply.github.com> Date: Tue, 10 Dec 2024 16:51:53 +0000 Subject: [PATCH] feat: optimize cuda for vapoursynth --- example/vapoursynth.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/example/vapoursynth.py b/example/vapoursynth.py index 5995abd..b29f7b4 100644 --- a/example/vapoursynth.py +++ b/example/vapoursynth.py @@ -11,7 +11,7 @@ # --- sisr, use fp16 to inference (vs.RGBH) model: BaseModelInterface = AutoModel.from_pretrained( - pretrained_model_name=ConfigType.RealESRGAN_AnimeJaNai_HD_V3_Compact_2x + pretrained_model_name=ConfigType.RealESRGAN_AnimeJaNai_HD_V3_Compact_2x, tile=None ) clip = core.bs.VideoSource(source="s.mp4") @@ -25,6 +25,7 @@ # model: BaseModelInterface = AutoModel.from_pretrained( # pretrained_model_name=ConfigType.RealESRGAN_AnimeJaNai_HD_V3_Compact_2x, # fp16=False, +# tile=None # ) # # clip = core.bs.VideoSource(source="s.mp4")