mirror of
https://github.com/Comfy-Org/ComfyUI_Nvidia_VFX_Nodes.git
synced 2026-11-04 23:37:30 +00:00
[PR #34] fix: import tensorrt before nvvfx to prevent dynamic library conflicts #41
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Comfy-Org/ComfyUI_Nvidia_VFX_Nodes#41
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Comfy-Org/ComfyUI_Nvidia_VFX_Nodes/pull/34
Author: @reaperhammer
Created: 7/17/2026
Status: 🔄 Open
Base:
main← Head:fix-import-order-tensorrt📝 Commits (1)
42088c2fix: import tensorrt before nvvfx to prevent dynamic library conflicts📊 Changes
1 file changed (+4 additions, -0 deletions)
View changed files
📝
__init__.py(+4 -0)📄 Description
nvvfx bundles its own older version of the TensorRT runtime library (libnvinfer.so.10 / version 10.9.0) but does not include companion builder resources. If nvvfx is imported first, the dynamic linker loads the 10.9.0 shared library. When other custom nodes (such as RIFE TensorRT) attempt to call tensorrt.Builder (which expects 10.12 in the environment), the builder references the preloaded 10.9.0 library, tries to search for the nonexistent libnvinfer_builder_resource.so.10.9.0, and fails to initialize (TypeError: pybind11::init(): factory function returned nullptr). Preloading tensorrt before nvvfx at startup solves this conflict by ensuring the environment's correct 10.12 shared libraries are loaded first.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.