Closed Samhayne closed 1 year ago
The engine cannot be built due to out of VRAM as you already see the warnings while processing. scale=4
makes the process resolution 4x largar than scale=1
and requires more VRAM for obvious reason.
@HolyWu Thanks for your reply! Shouldn't a changed workspace size reduze the VRAM requirement? On the other hand I read somewhere that the setting would be outdated?
Probably the max_workspace_size is for restrict VRAM usage at execution time, not during engine building time. I'm not sure.
As we know, RIFE doesn't like patterns. I'm using high scales, even in UHD, to fight these distorted / disordered patterns that you would get in some interpolation frames.
But I can't get the trt optimization pass to run successfully with scale=4 and ensemble=True in UHD.
Will succeed:
RIFE(clip, model='4.4', scale=4, num_streams=1, sc=True, sc_threshold=0.12, ensemble=False, trt=True)
Will fail:
RIFE(clip, model='4.4', scale=4, num_streams=1, sc=True, sc_threshold=0.12, ensemble=True, trt=True)
I can only guess that the GPU memory is running out? On my old Nvidia 1070 (8GB) trt optimization would already fail in UHD with scale=1. Now with my Nvidia 4090 (24GB) trt optimization fails with scale=4 and ensemble=True. (for all RIFE models)
The script...
...will produce lots of these warnings while processing...
...and eventually end with the error output:
Tried with 0.25/0.5x/2x/4x the workspace size but didn't help.