mirror of
https://github.com/Comfy-Org/ComfyUI_Nvidia_VFX_Nodes.git
synced 2026-11-04 23:37:30 +00:00
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#32
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?
Originally created by @haroldparis on GitHub (Sep 9, 2026).
Original GitHub issue: https://github.com/Comfy-Org/ComfyUI_Nvidia_VFX_Nodes/issues/40
Symptom
With this node pack installed, any custom node that binds to cuDNN after ComfyUI startup crashes the whole process. First victim here:
comfyui_controlnet_auxDWPose, whose onnxruntime CUDA session is created lazily on first use:ComfyUI dies (SIGABRT), the in-memory history is lost. Note the version in the message: 9.7.1 is neither the cuDNN torch ships (9.19 / 9.20) nor anything else in the venv. It is the version of the shim that ends up being called.
Root cause
nvvfx/_lib_loader.py(nvidia-vfx 0.1.0.1) does, at import time:nvvfx/libs/libcudnn.so.9is a cuDNN 9.7.1 shim (125 KB) shipped without its sub-libraries (libcudnn_ops,libcudnn_graph, ...). Torch loads its own cuDNN withRTLD_LOCAL, so it is not in the global symbol scope. Anything loaded afterimport nvvfx(onnxruntime's CUDA provider, or any other cuDNN user) resolvescudnnCreate*through the global scope, hits the 9.7.1 shim, which then tries to dlopenlibcudnn_ops.so.9.7.1, fails, and aborts.This is the same mechanism as #34 (bundled
libnvinfer.so.1010.9.0 loaded first, breaking TensorRT 10.12 builders), with cuDNN instead of TensorRT.Minimal reproduction (outside ComfyUI)
Environment: Ubuntu, RTX 5060 Ti, torch 2.12.0+cu132 (nvidia-cudnn-cu13 9.20), onnxruntime-gpu 1.24.4, nvidia-vfx 0.1.0.1, ComfyUI v0.34, this pack at
892515e.Workaround that works
Removing the bundled shim makes the VFX libraries resolve
libcudnn.so.9against the cuDNN already loaded by torch:Verified after that: onnxruntime CUDA sessions work, DWPose works, and
RTXVideoSuperResolutionstill runs fine on the torch cuDNN (full VSR runs, 1080p, ULTRA).Suggested fix
Either do not bundle
libcudnn.so.9in thenvidia-vfxwheel (torch always provides one), or ship the complete cuDNN (shim + sub-libraries), or load the bundled libraries withoutRTLD_GLOBALso they cannot shadow the environment's own cuDNN / TensorRT for other nodes. I understand the wheel is NVIDIA's rather than this repo's, but this repo is where users hit it.