Closed dotada closed 9 months ago
very obscure error ...
can u share the comfy workflow
workflow.json do be aware you'll probably be missing some custom nodes such as rgthree, one button prompt, WD14 tagger or comfy-image-saver quick edit: I forgot to add that I temporarily disconnected the 2K and 4K upscales when testing out TensorRT
sorry there's too many nodes & models i dont have 😂
my guess of the problem is control net (not yet supported in tensorrt, even the original a1111 extension)
it may be too much to ask, but if u really have a lot free time, can u start from the basic workflow and slowly add things to see when it breaks
Yeah, sure, I'll try later when I get home
that's about as simple as I can get it and it still errors
hmmm it works on my pc 😂😂😂 i took the anything v5 same as u, with same batch_min
, token_count_min
, etc.
u have the latest comfy ? what about torch version ? cuda - cudnn - tensorrt version ? no xformers ? u see any onnx file and trt file created ? on my end i have a 1.6gb onnx file + 1.6gb trt file
hmmm it works on my pc 😂😂😂 i took the anything v5 same as u, with same
batch_min
,token_count_min
, etc.u have the latest comfy ? what about torch version ? cuda - cudnn - tensorrt version ? no xformers ? u see any onnx file and trt file created ? on my end i have a 1.6gb onnx file + 1.6gb trt file
latest comfy? yes, toch version would be 2.1.0+cu121, cuda would be 12.1.1_531.14, cudnn is 8.9.7.29_cuda12, tensorrt is 9.3.0.post12.dev1, xformers isn't installed and both my onnx and trt files are 1.7gb
hmmm all seem fine 🤔 ...
the only difference is i have comfy standalone not in stability matrix, but it shouldnt be a problem
maybe this is your case: NVIDIA/Stable-Diffusion-WebUI-TensorRT#230
try lower token_count_max
and/or higher batch_max
no idea why it's works on my pc though 😅😅😅
gonna try lowering token_count_max to 200 and increasing batch_max to 4
well well well then, 1 of those 2 was causing the error, the above settings seem to work
gonna close the issue and hopefully this may help someone in the future lol
ok I know you and I just finished chatting from the previous issue but here comes another one! built an engine using these args:
--batch_min 1 --batch_opt 1 --batch_max 1 --height_min 512 --height_opt 1024 --height_max 1024 --width_min 512 --width_opt 1024 --width_max 1024 --token_count_min 75 --token_count_opt 150 --token_count_max 500 --ckpt_path ..\..\..\..\Models\StableDiffusion\anythingv5.safetensors
and the build went perfectly without a single error but when I try to gen an image generated I get the errorso uhh, have fun!