![]() |
[BUG] Scunet Denoise Tile Size (Syntax Error) - 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: [BUG] Scunet Denoise Tile Size (Syntax Error) (/thread-4188.html) |
Scunet Denoise Tile Size (Syntax Error) - tailland - 17.08.2025 Version 2025-08-17 Bug:Using VS/Scunet Tile size will throw a syntax error BTW: IIRC, this became dysfunctional with the torch2.7 update? can't tell for sure. RE: Scunet Denoise Tile Size (Syntax Error) - Selur - 17.08.2025 The torch2.7dev update was for 5xxx cards, which is why I don't use it. Seems to work with the normal torch-addon. You could try the vs-mlrt addon and SCUNet (mlrt),... RE: Scunet Denoise Tile Size (Syntax Error) - Nevril - 20.08.2025 In my case it never worked, I just get a black screen after the .engine finishes compiling (3090). I'm using 2025.07.27.1 and it didn't work with the May version either (same behavior). The mlrt version works, but for some reason is way slower. Plus I don't need tiling there cause FP16 or BF16 are enough to save memory. Question: is there a way to use the vsSCUnet models quantized? I tried converting them to bf16 and fp16 with a python script, they load up but the memory usage remains the same, I think they are expanded back to fp32. It would be nice to have parity between the vs and mlrt in terms of options to see which one is faster. RE: Scunet Denoise Tile Size (Syntax Error) - Selur - 20.08.2025 Quote:Question: is there a way to use the vsSCUnet models quantized?Reading: https://github.com/AmusementClub/vs-mlrt/blob/1404bba1ef9a71c29dfd279ce53fc8db8ef5af17/scripts/vsmlrt.py#L98 it does not sound like it, but you would have to ask over at https://github.com/AmusementClub/vs-mlrt RE: Scunet Denoise Tile Size (Syntax Error) - Nevril - 20.08.2025 Hi Selur, I was actually referring to https://github.com/HolyWu/vs-scunet Looking at https://github.com/HolyWu/vs-scunet/blob/3ad296c16e15c34ee6958ed292c1133d577d86cc/vsscunet/__init__.py#L81 it appears that FP16 is selected if the color space is RBGH I actually managed to make it work with custom script from vsscunet import scunet as SCUNet I also tried calling SCUNet with trt=True, trt_optimization_level=3, trt_cache_dir..... but the engine compilation doesn't seem to start or never finishes? I cannot tell, and I'm not sure why. RE: Scunet Denoise Tile Size (Syntax Error) - Selur - 20.08.2025 I'll do some testing. ![]() Cu Selur RE: Scunet Denoise Tile Size (Syntax Error) - Selur - 20.08.2025 Worked fine here. As expected, using FP16 with TRT the engine files get build anew (which really seems to take ages,... I checked the taskmgr to see that there really something was happening since the first few minutes both cpu&gpu usage were rather low,...), but both with TRT enabled and disabled, feeding SCUNet RGBH worked fine here. => Uploaded a new dev version where a FP16 checkbox got added to SCUNet. (when enabled Hybrid will feed SCUNet RGBH otherwise RGBS) Cu Selur |