RIFE v2 model 4.7+ not working with static_shape=False
with static_shape=False All Rife v1 works Rife v2 4.6- work
Rife v2 4.7+ not working
I tried to set workspace=1024 still did not work
Thanks, I can reproduce the problem.
log
[11/18/2023-16:04:51] [V] [TRT] --------------- Timing Runner: /encode/encode.6/ConvTranspose (CaskDeconvolution[0x8000000a])
[11/18/2023-16:04:51] [V] [TRT] CaskDeconvolution has no valid tactics for this config, skippingIt would be better if you could set verbose=True in backend.TRT() for a more detailed log.
I will go to check whether the problem is related to specific version of TensorRT now.
here is my full logs trtexec_231118_155338.log
I have reported this issue to NVIDIA. Let's see how they reply.
They said they're working on it.
TensorRT 9.2.0 released today still suffers from this problem.
What difference would static_shape=False make? I've looked into the differences between static and dynamic shapes and I kind of get the idea. But I want to know practically speaking will it make any difference when I'm running these with SVP?
What difference would static_shape=False make? I've looked into the differences between static and dynamic shapes and I kind of get the idea. But I want to know practically speaking will it make any difference when I'm running these with SVP?
It simply means that you don't have to build an engine everytime you change resolution
As a sidenote. Rife v4.13 is re-released with a new architecture from hwzer, might be useful to re-export onnx to see if this issue may be fixed?
I have already implemented a fix in a similar way as the re-release. It does not change the model architecture but simply rename weights in the model. This is an issue of TensorRT rather than rife itself.
TensorRT 9.3.0 released today still suffers from this problem.
TensorRT 10.0.0 released today still suffers from this problem.
onnx files remain unchanged.
For trt, you only need to update the files vstrt.dll and vsmlrt.py, and the whole folder vsmlrt-cuda.
Optionally, you can go to folders rife(_v2) and delete all .engine, .cacahe and .lock files, because engines for older version of trt cannot (by default) be used by newer version of trt.
Optionally, you can go to folder
models/rife(_v2)and delete all.engine,.cacaheand.lockfile, because engines for older version of trt cannot (by default) be used by newer version of trt.
Thanks. this is the answer I was looking for. I remember deleting the engines for previous versions but I just wanted to be clear.
onnx files remain unchanged.
For trt, you only need to update the files
vstrt.dllandvsmlrt.py, and the whole foldervsmlrt-cuda.Optionally, you can go to folders
rife(_v2)and delete all.engine,.cacaheand.lockfiles, because engines for older version of trt cannot (by default) be used by newer version of trt.
Apologies but do we know why Tensor 10.0 affects Rife so negatively?
I don't know.
The original problem should be fixed in TensorRT 10.0.1.
On the other hand, I have not received a response for the performance regression bug report. I suspect that is due to a premature compiler optimization that offloads parts of the computational graph (related to /GridSample_3) to a worker stream and breaks operator fusion.