Replies: 3 comments
-
Obviously it will, but maybe not significantly. Let me explain the benchmark first. It's hard to benchmark different RIFE implementations in a fair way. RIFE uses an operation called import vapoursynth as vs
core = vs.core
src = core.std.BlankClip(width=1920, height=1088, format=vs.RGBS, color=[0.5]*3, length=3000)
import vsmlrt
# without lexpr installation
flt = vsmlrt.RIFE(src, model=46, backend=vsmlrt.Backend.TRT(fp16=True, workspace=1024, num_streams=3))
flt.set_output() 205.90 fps import vapoursynth as vs
core = vs.core
src = core.std.BlankClip(width=1920, height=1088, format=vs.RGBH, color=[0.5]*3, length=3000)
import vsrife
flt = vsrife.RIFE(src, num_streams=3, trt=True, trt_max_workspace_size=1<<30, model='4.6', sc=False)
flt.set_output() 133.54 fps It has been shown that vsmlrt's trt uses less vram than its counterpart, and is not reported here. What's more, vsrife's trt implementation produces different results than any other implementation available. I have no idea. Back to the topic, using |
Beta Was this translation helpful? Give feedback.
-
We did have discussed in length whether to support The main reason is that, almost none of the common VS filters support 16-bit floating point format (iirc, only zimg, aka And note that unless your GPU bandwidth is severely limited, the computation and transfer are fully overlapped when |
Beta Was this translation helpful? Give feedback.
-
(these scripts are also unfair, to be honest) In this example, vs-rife will pad the input image on gpu to 1920x1152, while vs-mlrt does not requires padding since it has been done. However, vs-mlrt is still faster on In another interpretation, given a 1920x1080 input, vs-mlrt requires users to manually pad the input and crop the output. On machine with a poor cpu, these operations may reduce overall performance. This is not revealed in this benchmark. |
Beta Was this translation helpful? Give feedback.
-
edit: outdated, see #19
From this benchmark I saw it's faster. HolyWu/vs-rife#19 (comment)Beta Was this translation helpful? Give feedback.
All reactions