Selur's Little Message Board
Weighted Resize CRASH - Printable Version

+- Selur's Little Message Board (https://forum.selur.net)
+-- Forum: Hybrid - Support (https://forum.selur.net/forum-1.html)
+--- Forum: Problems & Questions (https://forum.selur.net/forum-3.html)
+--- Thread: Weighted Resize CRASH (/thread-3062.html)

Pages: 1 2 3 4 5


RE: Weighted Resize CRASH - Selur - 30.01.2023

Send you links to my current version.
Do these work for you?
Do you still get the non-printable character error?

Cu Selur

Ps.: removing all the whitespace does not fix the crash here when I enable trt.


RE: Weighted Resize CRASH - Selur - 30.01.2023

Found a fix, adding:
os.environ["CUDA_MODULE_LOADING"] = "LAZY"
to the script seems to fix my issue.
-> will compile and upload a new dev and send you a link.

Cu Selur


RE: Weighted Resize CRASH - Dan64 - 30.01.2023

Hello Selur,

  the dev version Hybrid_dev_2023.01.30-201642.exe that you sent, is working for me.

Thanks,
Dan


RE: Weighted Resize CRASH - Selur - 30.01.2023

Happy that, that version works for you.
Okay, strange that I need the lazy loading thing.

Cu Selur


RE: Weighted Resize CRASH - Dan64 - 30.01.2023

Hello Selur,

   I simple way to check if there are strange issues in the script is to call:

vspipe --info "script.vpy"


   If the output starts with "Width:" it's all Ok, otherwise it is probable that there are issues not allowing vspipe.exe to work.
   I guess that vsViewer is not using vspipe and its implementation is working better.

Dan

Hello Selur,

   I'm already using 'CUDA_MODULE_LOADING=LAZY'
   see my post: https://forum.selur.net/thread-2989-post-17521.html#pid17521

Dan


RE: Weighted Resize CRASH - andry62 - 30.01.2023

Dear Selur.
I have the same problem. Can you send a link to
new dev version. Thanks.


RE: Weighted Resize CRASH - Selur - 31.01.2023

send you a link.

Cu Selur


RE: Weighted Resize CRASH - Dan64 - 31.01.2023

Hello Selur,

  I noted that in the last dev version was added the support to FeMaSR. I'd like to try it, but I noted that the Streams box is locked to "1", so that I can't increase the number of Streams. It is possible to enable this box ?

Thanks,
Dan


RE: Weighted Resize CRASH - Selur - 31.01.2023

Ah, atm. you need to enable CUDA Graph to increase the stream count. Smile


RE: Weighted Resize CRASH - Dan64 - 31.01.2023

It is strange, usually the streams are supported with RT.
In any case even if I enable CUDA graph and increase the number of streams, this number is not passed in input to the function.
The generated code is the following

clip = FeMaSR(clip=clip, model=0, device_index=0, trt=False, nvfuser=False, cuda_graphs=True)