Open Maelstrom2014 opened 1 month ago
Might be related: https://github.com/yuvraj108c/ComfyUI-Upscaler-Tensorrt/issues/11
I found a soulution (another) put in the begining if export_trt.py:
import os, sys
file_dir = os.path.dirname(__file__)
sys.path.append(file_dir)
Nice!
Nice!
export onnx still not working.
Yeah, because I had a node update my tensorrt none of this works now. Error Code: 6: The engine plan file is not compatible with this version of TensorRT, expecting library version 10.1.0.27 got 10.0.1.6, please rebuild.
I need to compile the .pth files into .onnx files then compile those into engines using the 10.1.0.27 I have now, but the script is just flat out no good. It finds everything alright but has internal errors.
Nice!
export onnx still not working.
I don't recommend exporting onnx models, because most models won't work and it'll require high ram, but the instructions are on the export_onnx.py
Yeah, because I had a node update my tensorrt none of this works now. Error Code: 6: The engine plan file is not compatible with this version of TensorRT, expecting library version 10.1.0.27 got 10.0.1.6, please rebuild.
I need to compile the .pth files into .onnx files then compile those into engines using the 10.1.0.27 I have now, but the script is just flat out no good. It finds everything alright but has internal errors.
you don't need to convert .pth to .onnx, just run export_trt.py with the new tensorrt version
Yeah, because I had a node update my tensorrt none of this works now. Error Code: 6: The engine plan file is not compatible with this version of TensorRT, expecting library version 10.1.0.27 got 10.0.1.6, please rebuild. I need to compile the .pth files into .onnx files then compile those into engines using the 10.1.0.27 I have now, but the script is just flat out no good. It finds everything alright but has internal errors.
you don't need to convert .pth to .onnx, just run export_trt.py with the new tensorrt version
I need to convert another .pth file.
Yeah, because I had a node update my tensorrt none of this works now. Error Code: 6: The engine plan file is not compatible with this version of TensorRT, expecting library version 10.1.0.27 got 10.0.1.6, please rebuild. I need to compile the .pth files into .onnx files then compile those into engines using the 10.1.0.27 I have now, but the script is just flat out no good. It finds everything alright but has internal errors.
you don't need to convert .pth to .onnx, just run export_trt.py with the new tensorrt version
Incorrect as I did that twice and that same error came up.
edit: I am just going to start over from scratch as that yolo world Zho Zho Zho is a know bad node only I did not know and it zapped me.
Now I do have a ton (7 gigs) of .pth files I would like to convert that should work.
Hi! How to get this working on windows?
and this