From 261efd6e5b935e2a9ab3f185268b74c539cab87e Mon Sep 17 00:00:00 2001 From: Ritvick Lohani <50543918+ritlo@users.noreply.github.com> Date: Tue, 23 Sep 2025 02:24:44 +0530 Subject: [PATCH] fix: add export_trt to sys.path to fix it for use with comfyui's python_embedded/python.exe --- export_trt.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/export_trt.py b/export_trt.py index 3292e62..482303a 100644 --- a/export_trt.py +++ b/export_trt.py @@ -1,3 +1,6 @@ +import sys +import os +sys.path.append(os.path.dirname(os.path.abspath(__file__))) import torch import time from trt_utilities import Engine